In article <mailman.537.1294244829.6505.python-l...@python.org>, Eric Frederich <eric.freder...@gmail.com> wrote: > >I have read through all the documentation here: > > http://docs.python.org/extending/newtypes.html > >I have not seen any documentation anywhere else explaining how to >create custom defined objects from C. I have this need to create >custom objects from C and pass them as arguments to a function call.
You should definitely investigate Cython, but if you really want to roll your own, look in the examples inside the Python source itself. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson -- http://mail.python.org/mailman/listinfo/python-list