source: trunk/essentials/dev-lang/python/Tools/modulator/Templates/object_new

Last change on this file was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 219 bytes
Line 
1
2static $abbrev$object *
3new$abbrev$object()
4{
5 $abbrev$object *self;
6
7 self = PyObject_NEW($abbrev$object, &$Abbrev$type);
8 if (self == NULL)
9 return NULL;
10 /* XXXX Add your own initializers here */
11 return self;
12}
13
Note: See TracBrowser for help on using the repository browser.