On Fri, 2004-12-10 at 01:13 -0100, Tiago Cogumbreiro wrote:
> The problem I was having was that the headers I was using mixed with
> h2defs.py weren't declaring the object itself, making the module kind of
> useless.

h2defs expects the header to be somewhat similar to the gnome de facto
standard headers. the script isn't really perfect, but there are so many
possibilities that one has to put some restrictions.

> The problem I'm facing now, due to not yet reading [2] is wrapping
> simple structures into objects. Tried with swig but it has way too
> vodoo, so I think I'll just look at python.org resources and try to
> learn how to do it The Right Way (TM). It would be nice for the defs
> parser to parse structures tough ;)

What would the structures be translated to in python ??
If it becomes objects, you could made them gobject in C then ;)

Regards,
Xavier.

-- 
"Complexity has nothing to do with intelligence.
 Simplicity does."
             (Larry Bossidy, CEO, Allied Signal)


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to