home *** CD-ROM | disk | FTP | other *** search
/ Freelog 33 / Freelog033.iso / Progr / Python-2.2.1.exe / ITEROBJECT.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-04-23  |  417 b   |  14 lines

  1. /* Iterators (the basic kind, over a sequence) */
  2.  
  3. extern DL_IMPORT(PyTypeObject) PySeqIter_Type;
  4.  
  5. #define PySeqIter_Check(op) ((op)->ob_type == &PySeqIter_Type)
  6.  
  7. extern DL_IMPORT(PyObject *) PySeqIter_New(PyObject *);
  8.  
  9. extern DL_IMPORT(PyTypeObject) PyCallIter_Type;
  10.  
  11. #define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type)
  12.  
  13. extern DL_IMPORT(PyObject *) PyCallIter_New(PyObject *, PyObject *);
  14.