Пример #1
0
 /*
  * Calls the function casting return values to the types
  * in returnTypes
  */
 internal object[] call(object[] args, Type[] returnTypes)
 {
     lock (interpreter)
     {
         return(interpreter.callFunction(this, args, returnTypes));
     }
 }
Пример #2
0
 /*
  * Calls the userdata and returns its return values inside
  * an array
  */
 public object[] Call(params object[] args)
 {
     return(interpreter.callFunction(this, args));
 }