function definition and usage rationalized
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ func exportFunc(ctx ExprContext, name string, info ExprFunc) {
|
||||
}
|
||||
// ctx.RegisterFunc(name, info.Functor(), info.MinArgs(), info.MaxArgs())
|
||||
// ctx.RegisterFuncInfo(name, info)
|
||||
ctx.RegisterFunc2(name, info.Functor(), info.ReturnType(), info.Params())
|
||||
ctx.RegisterFunc(name, info.Functor(), info.ReturnType(), info.Params())
|
||||
}
|
||||
|
||||
func exportObjects(destCtx, sourceCtx ExprContext) {
|
||||
|
||||
Reference in New Issue
Block a user