Esempio n. 1
0
        public static void MemoryFree(IntPtr address, Int32 defaultValue)
        {
            var stackframe = new StackFrame(1, true);

            Storm.SMemFree(address, stackframe.GetFileName(), stackframe.GetFileLineNumber(), defaultValue);
        }
Esempio n. 2
0
        public static IntPtr MemoryAlloc(Int32 size, Int32 defaultValue)
        {
            var stackframe = new StackFrame(1, true);

            return(Storm.SMemAlloc(size, stackframe.GetFileName(), stackframe.GetFileLineNumber(), defaultValue));
        }