diff Include/object.h @ 408:952133e89bc7 legacy-trunk

Added shifting and masking ops to as_number struct
author Guido van Rossum <guido@python.org>
date Thu, 24 Oct 1991 14:58:18 +0000
parents 85bd7dac13f3
children 164849f56105
line wrap: on
line diff
--- a/Include/object.h	Thu Oct 24 14:57:21 1991 +0000
+++ b/Include/object.h	Thu Oct 24 14:58:18 1991 +0000
@@ -136,6 +136,12 @@
 	object *(*nb_positive) FPROTO((object *));
 	object *(*nb_absolute) FPROTO((object *));
 	int (*nb_nonzero) FPROTO((object *));
+	object *(*nb_invert) FPROTO((object *));
+	object *(*nb_lshift) FPROTO((object *, object *));
+	object *(*nb_rshift) FPROTO((object *, object *));
+	object *(*nb_and) FPROTO((object *, object *));
+	object *(*nb_xor) FPROTO((object *, object *));
+	object *(*nb_or) FPROTO((object *, object *));
 } number_methods;
 
 typedef struct {