[Gtk-sharp-list] generator/SymbolTable.cs: Added ulong

Mike Kestner mkestner@speakeasy.net
09 Jun 2003 08:22:32 -0500


On Sat, 2003-06-07 at 12:13, Martin Willemoes Hansen wrote:

> I am wrapping DiaCanvas2 and im using the generator for gtk-sharp .. I
> noticed that some properties are returning ulong and that this was not
> part of the SymbolTable .. I added the type ..
> 
> Is this okay? Or is the ulong missing for a reason?

I saw this was committed already, and it's probably not worth backing
out, but there is no need to change the generator for something like
this.  You can create an type mapping file and load it when invoking the
generator.  There is an example of how to do this in gdk.  Check out
api/gdk-symbols.xml for the format.  Pass this file into the generator
along with your parsed api.xml in the --generate option.

Mike