diff options
Diffstat (limited to 'pkg/lang/vm/executor/nativefunc.go')
| -rw-r--r-- | pkg/lang/vm/executor/nativefunc.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/lang/vm/executor/nativefunc.go b/pkg/lang/vm/executor/nativefunc.go new file mode 100644 index 0000000..2188bfb --- /dev/null +++ b/pkg/lang/vm/executor/nativefunc.go @@ -0,0 +1,5 @@ +package executor + +import "jinx/pkg/lang/vm/value" + +type NativeFunc func(executor Exectutor, args []value.Value) (value.Value, error) |
