summaryrefslogtreecommitdiffstats
path: root/make/lib/semantic-versioning/VERSION
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-06-18 01:49:08 +0200
committerSven Gothel <[email protected]>2014-06-18 01:49:08 +0200
commit1eadaf928f4f61aae4de1c8bf33c5b77bdfa882f (patch)
treefcb0256f3a4f57bc4afa48181ca9cc2ad8f28001 /make/lib/semantic-versioning/VERSION
parent9843e983a4fc71a64eb3de9cb364a1f4ffa56b3a (diff)
GlueGen: Refine compound [array] call-by-value native code injection and initialization
Follow-up of commit 9843e983a4fc71a64eb3de9cb364a1f4ffa56b3a Only add static initialization code (java, native) and hence native code 'JVMUtil_NewDirectByteBufferCopy(..)' if either required _or_ forced via configuration. This shall reduce possible sideffects and dead code. Add JavaConfiguration: /** * Returns true if the static initialization java code calling <code>initializeImpl()</code> * for the given class will be manually implemented by the end user * as requested via configuration directive <code>ManualStaticInitCall 'class-name'</code>. */ public boolean manualStaticInitCall(String clazzName); /** * Returns true if the static initialization java code implementing <code>initializeImpl()</code> * and the native code implementing: * <pre> * static jobject JVMUtil_NewDirectByteBufferCopy(JNIEnv *env, void * source_address, jlong capacity); * </pre> * for the given class will be included in the generated code, always, * as requested via configuration directive <code>ForceStaticInitCode 'class-name'</code>. * <p> * If case above code has been generated, static class initialization is generated * to call <code>initializeImpl()</code>, see {@link #manualStaticInitCall(String)}. * </p> */ public boolean forceStaticInitCode(String clazzName);
Diffstat (limited to 'make/lib/semantic-versioning/VERSION')
0 files changed, 0 insertions, 0 deletions