From 8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 20 Jun 1995 12:42:39 +0000 Subject: [PATCH] Two new methods --- Tools/modulator/Templates/object_tp_call | 9 +++++++++ Tools/modulator/Templates/object_tp_str | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Tools/modulator/Templates/object_tp_call create mode 100644 Tools/modulator/Templates/object_tp_str diff --git a/Tools/modulator/Templates/object_tp_call b/Tools/modulator/Templates/object_tp_call new file mode 100644 index 00000000000..32a36154d8f --- /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 00000000000..bed15dfdf70 --- /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; +} +