Fixed i64 suffixes
This commit is contained in:
parent
843ce1bc27
commit
bb66074c13
|
@ -136,9 +136,9 @@ public class GLTypeMap implements TypeMap {
|
||||||
else if (annotation_type.equals(GLhalf.class))
|
else if (annotation_type.equals(GLhalf.class))
|
||||||
return "h";
|
return "h";
|
||||||
else if (annotation_type.equals(GLuint64EXT.class))
|
else if (annotation_type.equals(GLuint64EXT.class))
|
||||||
return "l";
|
return "i64";
|
||||||
else if (annotation_type.equals(GLint64EXT.class))
|
else if (annotation_type.equals(GLint64EXT.class))
|
||||||
return "l";
|
return "i64";
|
||||||
else if (annotation_type.equals(GLboolean.class) || annotation_type.equals(GLvoid.class))
|
else if (annotation_type.equals(GLboolean.class) || annotation_type.equals(GLvoid.class))
|
||||||
return "";
|
return "";
|
||||||
else
|
else
|
||||||
|
|
|
@ -153,7 +153,7 @@ public class PostfixTranslator implements TypeVisitor {
|
||||||
type = "b";
|
type = "b";
|
||||||
break;
|
break;
|
||||||
case LONG:
|
case LONG:
|
||||||
type = "l";
|
type = "i64";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new RuntimeException(kind + " is not allowed");
|
throw new RuntimeException(kind + " is not allowed");
|
||||||
|
|
Loading…
Reference in New Issue