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

Skip to content

Commit 2b9d6e2

Browse files
committed
newclassobject gets a third parameter (optional class name)
1 parent 9430839 commit 2b9d6e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/classobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern typeobject Classtype, Instancetype, Instancemethodtype;
3636
#define is_instanceobject(op) ((op)->ob_type == &Instancetype)
3737
#define is_instancemethodobject(op) ((op)->ob_type == &Instancemethodtype)
3838

39-
extern object *newclassobject PROTO((object *, object *));
39+
extern object *newclassobject PROTO((object *, object *, object *));
4040
extern object *newinstanceobject PROTO((object *));
4141
extern object *newinstancemethodobject PROTO((object *, object *));
4242

0 commit comments

Comments
 (0)