Example #1
0
    public static CLuaConsole Instance()
    {
        IntPtr      cPtr = testPINVOKE.CLuaConsole_Instance();
        CLuaConsole ret  = (cPtr == IntPtr.Zero) ? null : new CLuaConsole(cPtr, false);

        return(ret);
    }
Example #2
0
 internal static HandleRef getCPtr(CLuaConsole obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }