Searched refs:RandomState_Object (Results 1 – 10 of 10) sorted by relevance
44 #define RANDOM_STATE(obj) (((RandomState_Object *)(obj))->state)47 static RandomState_Object * GMPy_RandomState_New(void);48 static void GMPy_RandomState_Dealloc(RandomState_Object *self);50 static PyObject * GMPy_RandomState_Repr(RandomState_Object *self);
27 static RandomState_Object *30 RandomState_Object *result; in GMPy_RandomState_New()32 if ((result = PyObject_New(RandomState_Object, &RandomState_Type))) { in GMPy_RandomState_New()39 GMPy_RandomState_Dealloc(RandomState_Object *self) in GMPy_RandomState_Dealloc()46 GMPy_RandomState_Repr(RandomState_Object *self) in GMPy_RandomState_Repr()59 RandomState_Object *result; in GMPy_RandomState_Factory()389 sizeof(RandomState_Object), /* tp_basicsize */
68 } RandomState_Object; typedef
152 } RandomState_Object; typedef
46 #define RANDOM_STATE(obj) (((RandomState_Object *)(obj))->state)49 static RandomState_Object * GMPy_RandomState_New(void);50 static void GMPy_RandomState_Dealloc(RandomState_Object *self);52 static PyObject * GMPy_RandomState_Repr(RandomState_Object *self);
29 static RandomState_Object *32 RandomState_Object *result; in GMPy_RandomState_New()34 if ((result = PyObject_New(RandomState_Object, &RandomState_Type))) { in GMPy_RandomState_New()41 GMPy_RandomState_Dealloc(RandomState_Object *self) in GMPy_RandomState_Dealloc()48 GMPy_RandomState_Repr(RandomState_Object *self) in GMPy_RandomState_Repr()61 RandomState_Object *result; in GMPy_RandomState_Factory()379 sizeof(RandomState_Object), /* tp_basicsize */
70 } RandomState_Object; typedef
170 } RandomState_Object; typedef