diff options
| author | Mel <einebeere@gmail.com> | 2022-08-11 01:25:47 +0000 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-08-11 01:25:47 +0000 |
| commit | 86f31acf6789be116dcc54ed85b069a37c0f7aa8 (patch) | |
| tree | bc7afd6a8c340825996d29c6cfd392ae42b4fbd5 /pkg/lang/vm/executor/nativefunc.go | |
| parent | c46b2bc7ce6df1f2c6c9494ef08015ec29992da5 (diff) | |
| download | jinx-86f31acf6789be116dcc54ed85b069a37c0f7aa8.tar.zst jinx-86f31acf6789be116dcc54ed85b069a37c0f7aa8.zip | |
Actual modules and core
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) |
