From: Jack Jansen Date: Tue, 20 Jun 1995 12:42:39 +0000 (+0000) Subject: Two new methods X-Git-Tag: v1.3b1~264 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965;p=thirdparty%2FPython%2Fcpython.git Two new methods --- diff --git a/Tools/modulator/Templates/object_tp_call b/Tools/modulator/Templates/object_tp_call new file mode 100644 index 000000000000..32a36154d8fc --- /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 000000000000..bed15dfdf70a --- /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; +} +