diff options
-rw-r--r-- | Tools/modulator/Templates/object_tp_call | 9 | ||||
-rw-r--r-- | Tools/modulator/Templates/object_tp_str | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Tools/modulator/Templates/object_tp_call b/Tools/modulator/Templates/object_tp_call new file mode 100644 index 0000000..32a3615 --- /dev/null +++ b/Tools/modulator/Templates/object_tp_call @@ -0,0 +1,9 @@ + +static PyObject * +$abbrev$_call(self, args) + $abbrev$object *self; + PyObject *args; +{ + /* XXXX Return the result of calling self with argument args */ +} + diff --git a/Tools/modulator/Templates/object_tp_str b/Tools/modulator/Templates/object_tp_str new file mode 100644 index 0000000..bed15df --- /dev/null +++ b/Tools/modulator/Templates/object_tp_str @@ -0,0 +1,11 @@ + +static PyObject * +$abbrev$_str(self) + $abbrev$object *self; +{ + PyObject *s; + + /* XXXX Add code here to put self into s */ + return s; +} + |