diff options
Diffstat (limited to 'src/java/com/sun/gluegen/cgram')
-rw-r--r-- | src/java/com/sun/gluegen/cgram/GnuCParser.g | 1 | ||||
-rw-r--r-- | src/java/com/sun/gluegen/cgram/HeaderParser.g | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/cgram/GnuCParser.g b/src/java/com/sun/gluegen/cgram/GnuCParser.g index c90e011..e087a5c 100644 --- a/src/java/com/sun/gluegen/cgram/GnuCParser.g +++ b/src/java/com/sun/gluegen/cgram/GnuCParser.g @@ -308,6 +308,7 @@ typeSpecifier [int specCount] returns [int retSpecCount] | "char" | "short" | "int" + | "__int32" | "__int64" | "long" | "float" diff --git a/src/java/com/sun/gluegen/cgram/HeaderParser.g b/src/java/com/sun/gluegen/cgram/HeaderParser.g index a9da663..abb3de4 100644 --- a/src/java/com/sun/gluegen/cgram/HeaderParser.g +++ b/src/java/com/sun/gluegen/cgram/HeaderParser.g @@ -462,6 +462,7 @@ typeSpecifier[int attributes] returns [Type t] { | "short" { t = new IntType("short", SizeThunk.SHORT, unsigned, cvAttrs); } | "int" { t = new IntType("int" , SizeThunk.INT, unsigned, cvAttrs); } | "long" { t = new IntType("long" , SizeThunk.LONG, unsigned, cvAttrs); } + | "__int32" { t = new IntType("__int32", SizeThunk.INT, unsigned, cvAttrs); } | "__int64" { t = new IntType("__int64", SizeThunk.INT64, unsigned, cvAttrs); } | "float" { t = new FloatType("float", SizeThunk.FLOAT, cvAttrs); } | "double" { t = new DoubleType("double", SizeThunk.DOUBLE, cvAttrs); } |