summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/object_new
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/modulator/Templates/object_new')
-rw-r--r--Tools/modulator/Templates/object_new3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/modulator/Templates/object_new b/Tools/modulator/Templates/object_new
index 1817a55..30c5e36 100644
--- a/Tools/modulator/Templates/object_new
+++ b/Tools/modulator/Templates/object_new
@@ -4,9 +4,10 @@ new$abbrev$object()
{
$abbrev$object *self;
- self = NEWOBJ($abbrev$object, &$Abbrev$type);
+ self = PyObject_NEW($abbrev$object, &$Abbrev$type);
if (self == NULL)
return NULL;
/* XXXX Add your own initializers here */
return self;
}
+