Added nonzero to number methods
This commit is contained in:
parent
23d6f0e8e7
commit
cf7423ac8f
|
@ -135,6 +135,7 @@ typedef struct {
|
||||||
object *(*nb_negative) FPROTO((object *));
|
object *(*nb_negative) FPROTO((object *));
|
||||||
object *(*nb_positive) FPROTO((object *));
|
object *(*nb_positive) FPROTO((object *));
|
||||||
object *(*nb_absolute) FPROTO((object *));
|
object *(*nb_absolute) FPROTO((object *));
|
||||||
|
int (*nb_nonzero) FPROTO((object *));
|
||||||
} number_methods;
|
} number_methods;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in New Issue