1#ifndef PyObjC_FUNCTION_H 2#define PyObjC_FUNCTION_H 3 4extern PyTypeObject PyObjCFunc_Type; 5 6#define PyObjCFunction_Check(value) \ 7 PyObject_TypeCheck(value, &PyObjCFunc_Type) 8 9extern PyObject* 10PyObjCFunc_New(PyObject* name, void* func, const char* signature, PyObject* doc, PyObject* meta); 11 12extern PyObject* 13PyObjCFunc_WithMethodSignature(PyObject* name, void* func, PyObjCMethodSignature* signature); 14 15extern PyObjCMethodSignature* 16PyObjCFunc_GetMethodSignature(PyObject* func); 17 18#endif /* PyObjC_FUNCTION_H */ 19