home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Programming / Python2 / Python20_source / Tools / modulator / Templates / object_new < prev    next >
Encoding:
Text File  |  2000-10-16  |  219 b   |  14 lines

  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.  
  14.