source:
trunk/essentials/dev-lang/python/Include/methodobject.h@
3298
| Last change on this file since 3298 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 3.1 KB | |
| Line | |
|---|---|
| 1 | |
| 2 | /* Method object interface */ |
| 3 | |
| 4 | #ifndef Py_METHODOBJECT_H |
| 5 | #define Py_METHODOBJECT_H |
| 6 | #ifdef __cplusplus |
| 7 | extern "C" { |
| 8 | #endif |
| 9 | |
| 10 | /* This is about the type 'builtin_function_or_method', |
| 11 | not Python methods in user-defined classes. See classobject.h |
| 12 | for the latter. */ |
| 13 | |
| 14 | PyAPI_DATA(PyTypeObject) PyCFunction_Type; |
| 15 | |
| 16 | #define PyCFunction_Check(op) ((op)->ob_type == &PyCFunction_Type) |
| 17 | |
