public ThreadState(PythonMapper mapper) { this.mapper = mapper; uint size = (uint)Marshal.SizeOf(typeof(PyThreadState)); this.ptr = this.mapper.PyMem_Malloc(size); // leaka leaka leaka CPyMarshal.Zero(this.ptr, size); }
public ThreadState(PythonMapper mapper) { this.mapper = mapper; uint size = (uint)Marshal.SizeOf(typeof(PyThreadState)); this.ptr = this.mapper.PyMem_Malloc(size); // leaka leaka leaka CPyMarshal.Zero(this.ptr, size); }
public Dispatcher(PythonMapper inMapper, PythonDictionary inTable, IntPtr module) { this.mapper = inMapper; this.table = inTable; this.modulePtr = module; }
public Dispatcher(PythonMapper inMapper, PythonDictionary inTable) : this(inMapper, inTable, IntPtr.Zero) { }
public Dispatcher(PythonMapper inMapper, PythonDictionary inTable, IntPtr module) { this.mapper = inMapper; this.table = inTable; this.modulePtr = module; }
public Dispatcher(PythonMapper inMapper, PythonDictionary inTable) : this(inMapper, inTable, IntPtr.Zero) { }