summaryrefslogtreecommitdiffstats
path: root/src/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-03 11:56:40 +0200
committerSven Gothel <[email protected]>2011-08-03 11:56:40 +0200
commite659f5994875275d4eb46e745676a3d84e27d1e9 (patch)
treeaa8bd6bdcb2a02f1c8fc0b2f89aba0aac6160229 /src/native
parentd30d6548baa4fa18c55eb4f9087bca5700463a51 (diff)
Hide DynamicLinker impl.; Remove public AndroidPackageUtil ; GluegenVersionActivity uses ApplicationContext
Hide DynamicLinker impl.: - com.jogamp.common.os.*DynamicLinkerImpl -> jogamp.common.os
Diffstat (limited to 'src/native')
-rwxr-xr-xsrc/native/macosx/MacOSXDynamicLinkerImpl_JNI.c18
-rwxr-xr-xsrc/native/unix/UnixDynamicLinkerImpl_JNI.c18
-rwxr-xr-xsrc/native/windows/WindowsDynamicLinkerImpl_JNI.c18
3 files changed, 27 insertions, 27 deletions
diff --git a/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c b/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c
index 5b67a42..757aeb0 100755
--- a/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c
+++ b/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c
@@ -4,18 +4,18 @@
#include <assert.h>
-#include "com_jogamp_common_os_MacOSXDynamicLinkerImpl.h"
+#include "jogamp_common_os_MacOSXDynamicLinkerImpl.h"
#include <dlfcn.h>
#include </usr/include/machine/types.h>
/* Java->C glue code:
- * Java package: com.jogamp.common.os.MacOSXDynamicLinkerImpl
+ * Java package: jogamp.common.os.MacOSXDynamicLinkerImpl
* Java method: int dlclose(long __handle)
* C function: int dlclose(void * __handle);
*/
JNIEXPORT jint JNICALL
-Java_com_jogamp_common_os_MacOSXDynamicLinkerImpl_dlclose__J(JNIEnv *env, jclass _unused, jlong __handle) {
+Java_jogamp_common_os_MacOSXDynamicLinkerImpl_dlclose__J(JNIEnv *env, jclass _unused, jlong __handle) {
int _res;
_res = dlclose((void *) (intptr_t) __handle);
return _res;
@@ -23,12 +23,12 @@ Java_com_jogamp_common_os_MacOSXDynamicLinkerImpl_dlclose__J(JNIEnv *env, jclass
/* Java->C glue code:
- * Java package: com.jogamp.common.os.MacOSXDynamicLinkerImpl
+ * Java package: jogamp.common.os.MacOSXDynamicLinkerImpl
* Java method: java.lang.String dlerror()
* C function: char * dlerror(void);
*/
JNIEXPORT jstring JNICALL
-Java_com_jogamp_common_os_MacOSXDynamicLinkerImpl_dlerror__(JNIEnv *env, jclass _unused) {
+Java_jogamp_common_os_MacOSXDynamicLinkerImpl_dlerror__(JNIEnv *env, jclass _unused) {
char * _res;
_res = dlerror();
if (_res == NULL) return NULL; return (*env)->NewStringUTF(env, _res);
@@ -36,12 +36,12 @@ Java_com_jogamp_common_os_MacOSXDynamicLinkerImpl_dlerror__(JNIEnv *env, jclass
/* Java->C glue code:
- * Java package: com.jogamp.common.os.MacOSXDynamicLinkerImpl
+ * Java package: jogamp.common.os.MacOSXDynamicLinkerImpl
* Java method: long dlopen(java.lang.String __path, int __mode)
* C function: void * dlopen(const char * __path, int __mode);
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_common_os_MacOSXDynamicLinkerImpl_dlopen__Ljava_lang_String_2I(JNIEnv *env, jclass _unused, jstring __path, jint __mode) {
+Java_jogamp_common_os_MacOSXDynamicLinkerImpl_dlopen__Ljava_lang_String_2I(JNIEnv *env, jclass _unused, jstring __path, jint __mode) {
const char* _UTF8__path = NULL;
void * _res;
if (__path != NULL) {
@@ -63,12 +63,12 @@ Java_com_jogamp_common_os_MacOSXDynamicLinkerImpl_dlopen__Ljava_lang_String_2I(J
/* Java->C glue code:
- * Java package: com.jogamp.common.os.MacOSXDynamicLinkerImpl
+ * Java package: jogamp.common.os.MacOSXDynamicLinkerImpl
* Java method: long dlsym(long __handle, java.lang.String __symbol)
* C function: void * dlsym(void * __handle, const char * __symbol);
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_common_os_MacOSXDynamicLinkerImpl_dlsym__JLjava_lang_String_2(JNIEnv *env, jclass _unused, jlong __handle, jstring __symbol) {
+Java_jogamp_common_os_MacOSXDynamicLinkerImpl_dlsym__JLjava_lang_String_2(JNIEnv *env, jclass _unused, jlong __handle, jstring __symbol) {
const char* _UTF8__symbol = NULL;
void * _res;
if (__symbol != NULL) {
diff --git a/src/native/unix/UnixDynamicLinkerImpl_JNI.c b/src/native/unix/UnixDynamicLinkerImpl_JNI.c
index cfe47f9..5741f22 100755
--- a/src/native/unix/UnixDynamicLinkerImpl_JNI.c
+++ b/src/native/unix/UnixDynamicLinkerImpl_JNI.c
@@ -4,18 +4,18 @@
#include <assert.h>
-#include "com_jogamp_common_os_UnixDynamicLinkerImpl.h"
+#include "jogamp_common_os_UnixDynamicLinkerImpl.h"
#include <dlfcn.h>
#include <inttypes.h>
/* Java->C glue code:
- * Java package: com.jogamp.common.os.UnixDynamicLinkerImpl
+ * Java package: jogamp.common.os.UnixDynamicLinkerImpl
* Java method: int dlclose(long arg0)
* C function: int dlclose(void * );
*/
JNIEXPORT jint JNICALL
-Java_com_jogamp_common_os_UnixDynamicLinkerImpl_dlclose__J(JNIEnv *env, jclass _unused, jlong arg0) {
+Java_jogamp_common_os_UnixDynamicLinkerImpl_dlclose__J(JNIEnv *env, jclass _unused, jlong arg0) {
int _res;
_res = dlclose((void *) (intptr_t) arg0);
return _res;
@@ -23,12 +23,12 @@ Java_com_jogamp_common_os_UnixDynamicLinkerImpl_dlclose__J(JNIEnv *env, jclass _
/* Java->C glue code:
- * Java package: com.jogamp.common.os.UnixDynamicLinkerImpl
+ * Java package: jogamp.common.os.UnixDynamicLinkerImpl
* Java method: java.lang.String dlerror()
* C function: char * dlerror(void);
*/
JNIEXPORT jstring JNICALL
-Java_com_jogamp_common_os_UnixDynamicLinkerImpl_dlerror__(JNIEnv *env, jclass _unused) {
+Java_jogamp_common_os_UnixDynamicLinkerImpl_dlerror__(JNIEnv *env, jclass _unused) {
char * _res;
_res = dlerror();
if (_res == NULL) return NULL; return (*env)->NewStringUTF(env, _res);
@@ -36,12 +36,12 @@ Java_com_jogamp_common_os_UnixDynamicLinkerImpl_dlerror__(JNIEnv *env, jclass _u
/* Java->C glue code:
- * Java package: com.jogamp.common.os.UnixDynamicLinkerImpl
+ * Java package: jogamp.common.os.UnixDynamicLinkerImpl
* Java method: long dlopen(java.lang.String arg0, int arg1)
* C function: void * dlopen(const char * , int);
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_common_os_UnixDynamicLinkerImpl_dlopen__Ljava_lang_String_2I(JNIEnv *env, jclass _unused, jstring arg0, jint arg1) {
+Java_jogamp_common_os_UnixDynamicLinkerImpl_dlopen__Ljava_lang_String_2I(JNIEnv *env, jclass _unused, jstring arg0, jint arg1) {
const char* _UTF8arg0 = NULL;
void * _res;
if (arg0 != NULL) {
@@ -63,12 +63,12 @@ Java_com_jogamp_common_os_UnixDynamicLinkerImpl_dlopen__Ljava_lang_String_2I(JNI
/* Java->C glue code:
- * Java package: com.jogamp.common.os.UnixDynamicLinkerImpl
+ * Java package: jogamp.common.os.UnixDynamicLinkerImpl
* Java method: long dlsym(long arg0, java.lang.String arg1)
* C function: void * dlsym(void * , const char * );
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_common_os_UnixDynamicLinkerImpl_dlsym__JLjava_lang_String_2(JNIEnv *env, jclass _unused, jlong arg0, jstring arg1) {
+Java_jogamp_common_os_UnixDynamicLinkerImpl_dlsym__JLjava_lang_String_2(JNIEnv *env, jclass _unused, jlong arg0, jstring arg1) {
const char* _UTF8arg1 = NULL;
void * _res;
if (arg1 != NULL) {
diff --git a/src/native/windows/WindowsDynamicLinkerImpl_JNI.c b/src/native/windows/WindowsDynamicLinkerImpl_JNI.c
index b253c9c..9ddb9d0 100755
--- a/src/native/windows/WindowsDynamicLinkerImpl_JNI.c
+++ b/src/native/windows/WindowsDynamicLinkerImpl_JNI.c
@@ -5,7 +5,7 @@
#include <assert.h>
-#include "com_jogamp_common_os_WindowsDynamicLinkerImpl.h"
+#include "jogamp_common_os_WindowsDynamicLinkerImpl.h"
#include <windows.h>
/* This typedef is apparently needed for compilers before VC8,
@@ -19,12 +19,12 @@
#endif
/* Java->C glue code:
- * Java package: com.jogamp.common.os.WindowsDynamicLinkerImpl
+ * Java package: jogamp.common.os.WindowsDynamicLinkerImpl
* Java method: int FreeLibrary(long hLibModule)
* C function: BOOL FreeLibrary(HANDLE hLibModule);
*/
JNIEXPORT jint JNICALL
-Java_com_jogamp_common_os_WindowsDynamicLinkerImpl_FreeLibrary__J(JNIEnv *env, jclass _unused, jlong hLibModule) {
+Java_jogamp_common_os_WindowsDynamicLinkerImpl_FreeLibrary__J(JNIEnv *env, jclass _unused, jlong hLibModule) {
BOOL _res;
_res = FreeLibrary((HANDLE) (intptr_t) hLibModule);
return _res;
@@ -32,12 +32,12 @@ Java_com_jogamp_common_os_WindowsDynamicLinkerImpl_FreeLibrary__J(JNIEnv *env, j
/* Java->C glue code:
- * Java package: com.jogamp.common.os.WindowsDynamicLinkerImpl
+ * Java package: jogamp.common.os.WindowsDynamicLinkerImpl
* Java method: int GetLastError()
* C function: DWORD GetLastError(void);
*/
JNIEXPORT jint JNICALL
-Java_com_jogamp_common_os_WindowsDynamicLinkerImpl_GetLastError__(JNIEnv *env, jclass _unused) {
+Java_jogamp_common_os_WindowsDynamicLinkerImpl_GetLastError__(JNIEnv *env, jclass _unused) {
DWORD _res;
_res = GetLastError();
return _res;
@@ -45,12 +45,12 @@ Java_com_jogamp_common_os_WindowsDynamicLinkerImpl_GetLastError__(JNIEnv *env, j
/* Java->C glue code:
- * Java package: com.jogamp.common.os.WindowsDynamicLinkerImpl
+ * Java package: jogamp.common.os.WindowsDynamicLinkerImpl
* Java method: long GetProcAddressA(long hModule, java.lang.String lpProcName)
* C function: PROC GetProcAddressA(HANDLE hModule, LPCSTR lpProcName);
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_common_os_WindowsDynamicLinkerImpl_GetProcAddressA__JLjava_lang_String_2(JNIEnv *env, jclass _unused, jlong hModule, jstring lpProcName) {
+Java_jogamp_common_os_WindowsDynamicLinkerImpl_GetProcAddressA__JLjava_lang_String_2(JNIEnv *env, jclass _unused, jlong hModule, jstring lpProcName) {
const char* _strchars_lpProcName = NULL;
PROC _res;
if (lpProcName != NULL) {
@@ -70,12 +70,12 @@ Java_com_jogamp_common_os_WindowsDynamicLinkerImpl_GetProcAddressA__JLjava_lang_
/* Java->C glue code:
- * Java package: com.jogamp.common.os.WindowsDynamicLinkerImpl
+ * Java package: jogamp.common.os.WindowsDynamicLinkerImpl
* Java method: long LoadLibraryW(java.lang.String lpLibFileName)
* C function: HANDLE LoadLibraryW(LPCWSTR lpLibFileName);
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_common_os_WindowsDynamicLinkerImpl_LoadLibraryW__Ljava_lang_String_2(JNIEnv *env, jclass _unused, jstring lpLibFileName) {
+Java_jogamp_common_os_WindowsDynamicLinkerImpl_LoadLibraryW__Ljava_lang_String_2(JNIEnv *env, jclass _unused, jstring lpLibFileName) {
jchar* _strchars_lpLibFileName = NULL;
HANDLE _res;
if (lpLibFileName != NULL) {