예제 #1
0
 static MyDynamicType()
 {
     JSDebugFunctionDef[] defArray = new JSDebugFunctionDef[1];
     JSDebugFunctionDef def = new JSDebugFunctionDef();
     def.param_names = new string[0];
     def.del = new Func<JSContext, JSValue>(MyDynamicType.__func_0);
     defArray[0] = def;
     fnclist = defArray;
 }
예제 #2
0
    static MyDynamicType()
    {
        JSDebugFunctionDef[] defArray = new JSDebugFunctionDef[1];
        JSDebugFunctionDef   def      = new JSDebugFunctionDef();

        def.param_names = new string[0];
        def.del         = new Func <JSContext, JSValue>(MyDynamicType.__func_0);
        defArray[0]     = def;
        fnclist         = defArray;
    }