Package org.lwjgl.util.generator.opengl

Examples of org.lwjgl.util.generator.opengl.GLreturn.maxLength()


      throw new RuntimeException("The parameter specified in @GLreturn is not annotated with @OutParameter in method: " + method);

    if ( param.getAnnotation(Check.class) != null )
      throw new RuntimeException("The parameter specified in @GLreturn is annotated with @Check in method: " + method);

    if ( param.getAnnotation(GLchar.class) != null && Utils.getJavaType(param.getType()).equals(ByteBuffer.class) && string_annotation.maxLength().length() == 0 )
      throw new RuntimeException("The @GLreturn annotation is missing a maxLength parameter in method: " + method);

    return true;
  }
View Full Code Here


      throw new RuntimeException("The parameter specified in @GLreturn is not annotated with @OutParameter in method: " + method);

    if ( param.getAnnotation(Check.class) != null )
      throw new RuntimeException("The parameter specified in @GLreturn is annotated with @Check in method: " + method);

    if ( param.getAnnotation(GLchar.class) != null && Utils.getJavaType(param.getType()).equals(ByteBuffer.class) && string_annotation.maxLength().length() == 0 )
      throw new RuntimeException("The @GLreturn annotation is missing a maxLength parameter in method: " + method);

    return true;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.