Home | History | Annotate | Download | only in jsr239
      1 #include <string.h>
      2 
      3 /* const GLubyte * glGetString ( GLenum name ) */
      4 static
      5 jstring
      6 android_glGetString
      7   (JNIEnv *_env, jobject _this, jint name) {
      8     const char * chars = (const char *)glGetString((GLenum)name);
      9     jstring output = _env->NewStringUTF(chars);
     10     return output;
     11 }
     12