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

Skip to content

Commit cf7423a

Browse files
committed
Added nonzero to number methods
1 parent 23d6f0e commit cf7423a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Include/object.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ typedef struct {
135135
object *(*nb_negative) FPROTO((object *));
136136
object *(*nb_positive) FPROTO((object *));
137137
object *(*nb_absolute) FPROTO((object *));
138+
int (*nb_nonzero) FPROTO((object *));
138139
} number_methods;
139140

140141
typedef struct {

0 commit comments

Comments
 (0)