Skip to content

Commit

Permalink
Add support for gintptr and guintptr types
Browse files Browse the repository at this point in the history
  • Loading branch information
Age Bosma committed Sep 26, 2011
1 parent 757dafa commit d900b32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generator/SymbolTable.cs
Expand Up @@ -84,12 +84,16 @@ public SymbolTable ()
AddType (new SimpleGen ("ulong", "uint", "0"));
AddType (new SimpleGen ("gulong", "uint", "0"));
AddType (new SimpleGen ("unsigned long", "uint", "0"));
AddType (new SimpleGen ("gintptr", "int", "0"));
AddType (new SimpleGen ("guintptr", "uint", "0"));
#else
AddType (new LPGen ("long"));
AddType (new LPGen ("glong"));
AddType (new LPGen ("gintptr"));
AddType (new LPUGen ("ulong"));
AddType (new LPUGen ("gulong"));
AddType (new LPUGen ("unsigned long"));
AddType (new LPUGen ("guintptr"));
#endif

AddType (new LPGen ("ssize_t"));
Expand Down

0 comments on commit d900b32

Please sign in to comment.