source:
trunk/essentials/dev-lang/python/Tools/modulator/Templates/object_new
| Last change on this file was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 219 bytes | |
| Line | |
|---|---|
| 1 | |
| 2 | static $abbrev$object * |
| 3 | new$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.
