(loadOnly bool)
| 917 | } |
| 918 | |
| 919 | func EvalLoadOnly(loadOnly bool) EvalOption { |
| 920 | return func(flags *EvalOptions) { |
| 921 | flags.load_only = loadOnly |
| 922 | } |
| 923 | } |
| 924 | |
| 925 | // Eval returns a js value with given code. |
| 926 | // Need call Free() `quickjs.Value`'s returned by `Eval()` and `EvalFile()` and `EvalBytecode()`. |
no outgoing calls