Changed 'class member' to 'instance'.
This commit is contained in:
parent
21ed88cfe2
commit
572fd57b5a
|
@ -30,14 +30,14 @@ It should be possible to use other object types as base classes,
|
|||
but currently it isn't. We'll see if we can fix that later, sigh...
|
||||
*/
|
||||
|
||||
extern typeobject Classtype, Classmembertype, Classmethodtype;
|
||||
extern typeobject Classtype, Instancetype, Classmethodtype;
|
||||
|
||||
#define is_classobject(op) ((op)->ob_type == &Classtype)
|
||||
#define is_classmemberobject(op) ((op)->ob_type == &Classmembertype)
|
||||
#define is_instanceobject(op) ((op)->ob_type == &Classmembertype)
|
||||
#define is_classmethodobject(op) ((op)->ob_type == &Classmethodtype)
|
||||
|
||||
extern object *newclassobject PROTO((object *, object *));
|
||||
extern object *newclassmemberobject PROTO((object *));
|
||||
extern object *newinstanceobject PROTO((object *));
|
||||
extern object *newclassmethodobject PROTO((object *, object *));
|
||||
|
||||
extern object *classmethodgetfunc PROTO((object *));
|
||||
|
|
Loading…
Reference in New Issue