def release(c_ptr): assert c_ptr in c_data_set c_data_set.remove(ffi.cast("void*", c_ptr))
def __create(): c_ptr = ffi.new_handle(MapInt8TBoolProxy(dict())) MapInt8TBoolHelper.c_data_set.add(c_ptr) return ffi.cast("struct DjinniObjectHandle *", c_ptr)
def __python_create(): c_ptr = ffi.new_handle(SetStringProxy(set())) SetStringHelper.c_data_set.add(c_ptr) return ffi.cast("struct DjinniObjectHandle *", c_ptr)
def __python_create(): c_ptr = ffi.new_handle(MapStringInt32TProxy(dict())) MapStringInt32THelper.c_data_set.add(c_ptr) return ffi.cast("struct DjinniObjectHandle *", c_ptr)
def __create(): c_ptr = ffi.new_handle(list()) ListBoolHelper.c_data_set.add(c_ptr) return ffi.cast("struct DjinniObjectHandle *", c_ptr)