Home | History | Annotate | Download | only in res

Lines Matching defs:itself

51 PyObject *ResObj_New(Handle itself)
54 if (itself == NULL) return PyMac_Error(resNotFound);
57 it->ob_itself = itself;
583 Handle itself;
584 char *kw[] = {"itself", 0};
586 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, ResObj_Convert, &itself))
588 ((ResourceObject *)_self)->ob_itself = itself;
593 if ((itself = NewHandle(srclen)) == NULL)
598 ((ResourceObject *)_self)->ob_itself = itself;
601 HLock(itself);
602 memcpy(*itself, srcdata, srclen);
603 HUnlock(itself);
1697 PyObject *OptResObj_New(Handle itself)
1699 if (itself == NULL) {
1703 return ResObj_New(itself);