Re: [Python-Dev] Define metatype and a type that uses it

2009-07-13 Thread Erik Groeneveld
ach type created with this metatype, such as is intended by the JObjectMeta struct? Best regards Erik Groeneveld ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Define metatype and a type that uses it

2009-07-08 Thread Erik Groeneveld
m not properly initialized. If I call PyString_Str(self) in JObjectMeta_init, it seg faults. De Python code that initiates this is: class MyJObject(JObject): pass Below is the complete, contained code of the extension. Thanks in advance, Erik Groeneveld #include /*** JObjec