From b96d49ff1514f6c8ea48aa48d285cfb45cc66484 Mon Sep 17 00:00:00 2001 From: pelya Date: Sun, 11 Sep 2016 03:43:39 +0300 Subject: [PATCH] LZMA: forgot a header --- project/jni/lzma/jniwrapperstuff.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 project/jni/lzma/jniwrapperstuff.h diff --git a/project/jni/lzma/jniwrapperstuff.h b/project/jni/lzma/jniwrapperstuff.h new file mode 100644 index 000000000..6a37980aa --- /dev/null +++ b/project/jni/lzma/jniwrapperstuff.h @@ -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