LZMA: forgot a header
This commit is contained in:
13
project/jni/lzma/jniwrapperstuff.h
Normal file
13
project/jni/lzma/jniwrapperstuff.h
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
/* JNI-C++ wrapper stuff */
|
||||
#ifndef _JNI_WRAPPER_STUFF_H_
|
||||
#define _JNI_WRAPPER_STUFF_H_
|
||||
|
||||
#ifndef SDL_JAVA_PACKAGE_PATH
|
||||
#error You have to define SDL_JAVA_PACKAGE_PATH to your package path with dots replaced with underscores, for example "com_example_SanAngeles"
|
||||
#endif
|
||||
#define JAVA_EXPORT_NAME2(name,package) Java_##package##_##name
|
||||
#define JAVA_EXPORT_NAME1(name,package) JAVA_EXPORT_NAME2(name,package)
|
||||
#define JAVA_EXPORT_NAME(name) JAVA_EXPORT_NAME1(name,SDL_JAVA_PACKAGE_PATH)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user