internal PyObject(PythonAPI api, IntPtr pyObject) { if (pyObject == IntPtr.Zero) { throw new ArgumentNullException("pyObject"); } Api = api; _pyUtils = new PyUtils(api); PyObjectPtr = pyObject; }
/* TODO implement this types None, Type, Bool, Int, Long, Float, String, Unicode, Tuple, List, Dict, Function, Class, Instance, Method, Module, Traceback, */ internal PyTypes(PythonAPI api) { _api = api; _pyUtils = new PyUtils(api); }