Fixed i64 suffixes

This commit is contained in:
Ioannis Tsakpinis 2006-05-26 12:58:37 +00:00
parent 843ce1bc27
commit bb66074c13
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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");
@ -179,4 +179,4 @@ public class PostfixTranslator implements TypeVisitor {
public void visitWildcardType(WildcardType t) {
throw new RuntimeException(t + " is not allowed");
}
}
}