Home | History | Annotate | Download | only in python2.7

Lines Matching refs:op

41  - PyObject_Del(op) releases the memory allocated for an object.  It does not
44 - PyObject_Init(op, typeobj) and PyObject_InitVar(op, typeobj, n) don't
163 #define PyObject_INIT(op, typeobj) \
164 ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
165 #define PyObject_INIT_VAR(op, typeobj, size) \
166 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) )
211 PyObject *op;
213 op = (PyObject *) Your_Allocator(_PyObject_SIZE(YourTypeStruct));
214 if (op == NULL)
217 PyObject_Init(op, &YourTypeStruct);
219 op->ob_field = value;
221 return op;
245 #define PyObject_GC_Resize(type, op, n) \
246 ( (type *) _PyObject_GC_Resize((PyVarObject *)(op), (n)) )
330 #define Py_VISIT(op) \
332 if (op) { \
333 int vret = visit((PyObject *)(op), arg); \
343 #define PyObject_GC_Init(op)
344 #define PyObject_GC_Fini(op)
345 #define PyObject_AS_GC(op) (op)
346 #define PyObject_FROM_GC(op) (op)