home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / palmos / pippy-0.6beta-src.tar.gz / pippy-0.6beta-src.tar / pippy-0.6beta-src / src / Include / proto_defs.h < prev    next >
Text File  |  2000-12-21  |  2KB  |  26 lines

  1. /* Function prototypes for those previously declared static */
  2. #define UNARYFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *))
  3. #define BINARYFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *, type *))
  4. #define BINARYFUNC1_PROTO(name, type) static PyObject *name Py_PROTO((type *, PyObject*))
  5. #define TERNARYFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *, type *, type *))
  6. #define INQUIRY_PROTO(name, type) static int name Py_PROTO((type *))
  7. #define COERCION_PROTO(name) static int name Py_PROTO((PyObject **, PyObject **))
  8. #define INTARGFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *, int))
  9. #define INTINTARGFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *, int, int))
  10. #define INTOBJARGPROC_PROTO(name, type) static int name Py_PROTO((type *, int, PyObject*))
  11. #define INTINTOBJARGPROC_PROTO(name, type) static int name Py_PROTO((type *, int, int, PyObject*))
  12. #define OBJOBJARGPROC_PROTO(name, type) static int name Py_PROTO((type *, PyObject*, PyObject*))
  13. #define GETREADBUFFERPROC_PROTO(name, type) static int name Py_PROTO((type *, int, void **))
  14. #define GETWRITEBUFFERPROC_PROTO(name, type) static int name Py_PROTO((type *, int, void **))
  15. #define GETSEGCOUNTPROC_PROTO(name, type) static int name Py_PROTO((type *, int*))
  16. #define DESTRUCTOR_PROTO(name, type) static void name Py_PROTO((type *))
  17. #define PRINTFUNC_PROTO(name, type) static int name Py_PROTO((type *, FILE *, int))
  18. #define GETATTRFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *, char *))
  19. #define GETATTROFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *, PyObject*))
  20. #define SETATTRFUNC_PROTO(name, type) static int name Py_PROTO((type *, char *, PyObject*))
  21. #define SETATTROFUNC_PROTO(name, type) static int name Py_PROTO((type *, PyObject*, PyObject*))
  22. #define CMPFUNC_PROTO(name, type) static int name Py_PROTO((type *, type *))
  23. #define REPRFUNC_PROTO(name, type) static PyObject *name Py_PROTO((type *))
  24. #define HASHFUNC_PROTO(name, type) static long name Py_PROTO((type *))
  25. #define PYCFUNCTION_PROTO(name, type) static PyObject *name Py_PROTO((type *, type *))
  26.