Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit faf9c96

Browse files
committed
Renamed class members to instances and class methods to instance methods
,.
1 parent e8122f1 commit faf9c96

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Include/classobject.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ It should be possible to use other object types as base classes,
3030
but 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

3939
extern object *newclassobject PROTO((object *, object *));
4040
extern 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 *));

0 commit comments

Comments
 (0)