/Tools/modulator/Templates/object_new

http://unladen-swallow.googlecode.com/ · #! · 13 lines · 10 code · 3 blank · 0 comment · 0 complexity · 0b07a6f988dd0b632af38130e7181c69 MD5 · raw file

  1. static $abbrev$object *
  2. new$abbrev$object()
  3. {
  4. $abbrev$object *self;
  5. self = PyObject_NEW($abbrev$object, &$Abbrev$type);
  6. if (self == NULL)
  7. return NULL;
  8. /* XXXX Add your own initializers here */
  9. return self;
  10. }