File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ It should be possible to use other object types as base classes,
3030but currently it isn't. We'll see if we can fix that later, sigh...
3131*/
3232
33- extern typeobject Classtype , Instancetype , Classmethodtype ;
33+ extern typeobject Classtype , Instancetype , Instancemethodtype ;
3434
3535#define is_classobject (op ) ((op)->ob_type == &Classtype)
36- #define is_instanceobject (op ) ((op)->ob_type == &Classmembertype )
37- #define is_classmethodobject (op ) ((op)->ob_type == &Classmethodtype )
36+ #define is_instanceobject (op ) ((op)->ob_type == &Instancetype )
37+ #define is_instancemethodobject (op ) ((op)->ob_type == &Instancemethodtype )
3838
3939extern object * newclassobject PROTO ((object * , object * ) );
4040extern object * newinstanceobject PROTO ((object * ) );
41- extern object * newclassmethodobject PROTO ((object * , object * ) );
41+ extern object * newinstancemethodobject PROTO ((object * , object * ) );
4242
43- extern object * classmethodgetfunc PROTO ((object * ) );
44- extern object * classmethodgetself PROTO ((object * ) );
43+ extern object * instancemethodgetfunc PROTO ((object * ) );
44+ extern object * instancemethodgetself PROTO ((object * ) );
You can’t perform that action at this time.
0 commit comments