0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00
cpython/Include/methodobject.h
1990-10-14 12:07:46 +00:00

12 lines
330 B
C

/* Method object interface */
extern typeobject Methodtype;
#define is_methodobject(op) ((op)->ob_type == &Methodtype)
typedef object *(*method) FPROTO((object *, object *));
extern object *newmethodobject PROTO((char *, method, object *));
extern method getmethod PROTO((object *));
extern object *getself PROTO((object *));