Re: [pygtk] generating defs

2001-11-13 Thread Matt Wilson

The defs files aren't quite 100% autogenerated at this point.  The
pygtk ones have various default values noted in them that can't be
extracted from the headers.  I've checked in a .defs file that should
make things work for now, but I still need to make sure the defs file
is fixed up for the rest of the new accelerators API.

Cheers,

Matt

On Mon, Nov 12, 2001 at 11:38:02AM -0500, Robert Nikander wrote:
 Hi,
 
 I just got the lastest pygtk from CVS and I am getting some compile 
 errors because the .defs files are from an older GTK.  So, is there a 
 standard operating procedure for generating new .defs files from GTK 
 headers? (1.3.10)  
 The best I can come up with is:
 h2def.py --onlyobjectdefs ${PATH_TO_GTK_HEADERS}/gtk/*.h  
 gtk-types.defs
 h2def.py --onlyenums  ${PATH_TO_GTK_HEADERS}/gtk/*.h  
 gtk-types.defs
 
 h2def.py ${PATH_TO_GTK_HEADERS}/gtk/*.h  gtk.defs  ## but then this 
 has all the objs and enums, not just methods...
 
 Maybe there is a script somewhere that I am missing?
 
 Thanks,
 Rob
 ___
 pygtk mailing list   [EMAIL PROTECTED]
 http://www.daa.com.au/mailman/listinfo/pygtk
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



[pygtk] generating defs

2001-11-12 Thread Robert Nikander

Hi,

I just got the lastest pygtk from CVS and I am getting some compile 
errors because the .defs files are from an older GTK.  So, is there a 
standard operating procedure for generating new .defs files from GTK 
headers? (1.3.10)  
The best I can come up with is:
h2def.py --onlyobjectdefs ${PATH_TO_GTK_HEADERS}/gtk/*.h  
gtk-types.defs
h2def.py --onlyenums  ${PATH_TO_GTK_HEADERS}/gtk/*.h  
gtk-types.defs

h2def.py ${PATH_TO_GTK_HEADERS}/gtk/*.h  gtk.defs  ## but then this 
has all the objs and enums, not just methods...

Maybe there is a script somewhere that I am missing?

Thanks,
Rob
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk