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))
|
||||
return "h";
|
||||
else if (annotation_type.equals(GLuint64EXT.class))
|
||||
return "l";
|
||||
return "i64";
|
||||
else if (annotation_type.equals(GLint64EXT.class))
|
||||
return "l";
|
||||
return "i64";
|
||||
else if (annotation_type.equals(GLboolean.class) || annotation_type.equals(GLvoid.class))
|
||||
return "";
|
||||
else
|
||||
|
|
|
@ -153,7 +153,7 @@ public class PostfixTranslator implements TypeVisitor {
|
|||
type = "b";
|
||||
break;
|
||||
case LONG:
|
||||
type = "l";
|
||||
type = "i64";
|
||||
break;
|
||||
default:
|
||||
throw new RuntimeException(kind + " is not allowed");
|
||||
|
|
Loading…
Reference in New Issue