Esempio n. 1
0
 public static extern SQRESULT sq_call(HSQUIRRELVM v, SQInteger args, SQBool retval, SQBool raiseerror);
Esempio n. 2
0
 public static extern SQRESULT sq_compilebuffer(HSQUIRRELVM v, byte[] s, SQInteger size, string sourcename, SQBool raiseerror);
Esempio n. 3
0
        public static SQRESULT sq_compilebuffer(HSQUIRRELVM v, string s, string sourcename, SQBool raiseerror)
        {
            var bytes = Encoding.UTF8.GetBytes(s);

            return(sq_compilebuffer(v, bytes, bytes.Length, sourcename, raiseerror));
        }
Esempio n. 4
0
 public static extern SQRESULT sq_newslot(HSQUIRRELVM v, SQInteger idx, SQBool bstatic);