Searched refs:newtype (Results 1 – 1 of 1) sorted by relevance
283 CMessageClass* newtype = reinterpret_cast<CMessageClass*>(result.get()); in New() local299 newtype->py_message_descriptor = py_descriptor; in New()300 newtype->message_descriptor = descriptor; in New()303 newtype->py_descriptor_pool = GetDescriptorPool_FromPool( in New()305 if (newtype->py_descriptor_pool == NULL) { in New()308 Py_INCREF(newtype->py_descriptor_pool); in New()311 if (cdescriptor_pool::RegisterMessageClass(newtype->py_descriptor_pool, in New()312 descriptor, newtype) < 0) { in New()