create a new subclass data type in C

July 22, 2009
5:26 p.m.
Hi
I can create a new object in C. Now I am trying to create a class and
sub classes in C. I plan to use PyType_GenericNew() to create the base
class.
PyTypeObject myClass_Type = {
...
};
myClassObj = PyTYpe_GenericNew(myClass, ...);
How do I create something like
class myNewClass(myClass):
in C?
5806
Age (days ago)
5806
Last active (days ago)
0 comments
1 participants
participants (1)
-
Shaun Savage