summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index 416ca77..cf10ec5 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -135,6 +135,7 @@ method blocks.
typedef object * (*unaryfunc) PROTO((object *));
typedef object * (*binaryfunc) PROTO((object *, object *));
+typedef object * (*ternaryfunc) PROTO((object *, object *, object *));
typedef int (*inquiry) PROTO((object *));
typedef int (*coercion) PROTO((object **, object **));
typedef object *(*intargfunc) PROTO((object *, int));
@@ -150,7 +151,7 @@ typedef struct {
binaryfunc nb_divide;
binaryfunc nb_remainder;
binaryfunc nb_divmod;
- binaryfunc nb_power;
+ ternaryfunc nb_power;
unaryfunc nb_negative;
unaryfunc nb_positive;
unaryfunc nb_absolute;