summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/objects/callable_func.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/objects/callable_func.go')
-rw-r--r--vendor/github.com/d5/tengo/objects/callable_func.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/objects/callable_func.go b/vendor/github.com/d5/tengo/objects/callable_func.go
new file mode 100644
index 00000000..cf9b43aa
--- /dev/null
+++ b/vendor/github.com/d5/tengo/objects/callable_func.go
@@ -0,0 +1,4 @@
+package objects
+
+// CallableFunc is a function signature for the callable functions.
+type CallableFunc func(args ...Object) (ret Object, err error)