commit | c4e95a3e5ee2076d0c9bb1f18920e31c325bf391 | [log] [tgz] |
---|---|---|
author | Daniel Micay <danielmicay@gmail.com> | Mon Sep 21 13:17:57 2015 -0400 |
committer | Daniel Micay <danielmicay@gmail.com> | Mon Sep 21 13:18:34 2015 -0400 |
tree | 6cd36ba170ddbd9699fff5d02e6aafcfe22afed5 | |
parent | 5b5c81c4969c812976ad219a8513d91708981426 [diff] [blame] |
constify generated JNINativeMethod fn ptr tables Change-Id: Icbad34e298f6d8e60ef12e9a91200994249fe2f5
diff --git a/opengl/tools/glgen/src/JniCodeEmitter.java b/opengl/tools/glgen/src/JniCodeEmitter.java index 1bed05b..5a412bf 100644 --- a/opengl/tools/glgen/src/JniCodeEmitter.java +++ b/opengl/tools/glgen/src/JniCodeEmitter.java
@@ -673,7 +673,7 @@ "\";"); cStream.println(); - cStream.println("static JNINativeMethod methods[] = {"); + cStream.println("static const JNINativeMethod methods[] = {"); cStream.println("{\"_nativeClassInit\", \"()V\", (void*)nativeClassInit },");