2007/6/18, varun_shrivastava <[EMAIL PROTECTED]>:

> i didn't get your question
>
> my header file is as
>  #include <glib-object.h>
>   6
>   7 G_BEGIN_DECLS
>   8
>   9 #define ADD_TYPE_NUM    (add_num_get_type())
>  10 #define ADD_NUM(object) (G_TYPE_CHECK_INSTANCE_CAST((object),

This is a different example than before, furthermore the line numbers
and the way you quote messages don't make it very easy to help you.

Please have a look to a simple project that use codegen to extract and
build the sources from a good C library.

I think a good example is goocavans/pygoocanvas, not because I am one
of the authors but because it is a fairly complete example but not as
complex as pygtk.

Goocanvas has a well defined enum system, which is auto-generated with
glib-mkenums, look at goocanvasenumtypes.[ch].

cheers
--
Gian Mario Tagliaretti
_______________________________________________
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