コード例 #1
0
 public static Int32 Close64([MarshalAs(UnmanagedType.I8)] Int64 Ptr)
 {
     try
     {
         GLua  Lua = GLua.Get(Marshal.PtrToStructure <Lua_State64>(new IntPtr(Ptr)));
         Int32 Ret = Module.Close(Lua);
         Lua.Close();
         return(Ret);
     }
     catch (Exception E)
     {
         WriteException(E);
         return(-1);
     }
 }