summaryrefslogtreecommitdiff
path: root/np_sdk
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 15:33:58 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 15:33:58 +0100
commitaffb485bbff5fe5a1b45f1493f070893099526d2 (patch)
treea693d8423661fc8a22ca3cf7154e74e2d450fe5a /np_sdk
parentc3175f55baeb539eb4e560ec40ed1ea79230f14a (diff)
remove non-compiled code
Diffstat (limited to 'np_sdk')
-rw-r--r--np_sdk/mozsrc/jri_md.h8
-rw-r--r--np_sdk/mozsrc/jritypes.h12
2 files changed, 1 insertions, 19 deletions
diff --git a/np_sdk/mozsrc/jri_md.h b/np_sdk/mozsrc/jri_md.h
index d2397c9c52cd..393299f386f5 100644
--- a/np_sdk/mozsrc/jri_md.h
+++ b/np_sdk/mozsrc/jri_md.h
@@ -171,14 +171,6 @@ extern "C" {
/* Java Scalar Types */
-#if 0 /* now in jni.h */
-typedef short jchar;
-typedef short jshort;
-typedef float jfloat;
-typedef double jdouble;
-typedef juint jsize;
-#endif
-
/* moved from jni.h -- Sun's new jni.h doesn't have this anymore */
#ifdef __cplusplus
typedef class _jobject *jref;
diff --git a/np_sdk/mozsrc/jritypes.h b/np_sdk/mozsrc/jritypes.h
index 0325408d7948..03a7a9dcfe41 100644
--- a/np_sdk/mozsrc/jritypes.h
+++ b/np_sdk/mozsrc/jritypes.h
@@ -88,17 +88,7 @@ typedef enum JRIConstant {
} JRIConstant;
/* convenience types (these must be distinct struct types for c++ overloading): */
-#if 0 /* now in jni.h */
-typedef struct jbooleanArrayStruct* jbooleanArray;
-typedef struct jbyteArrayStruct* jbyteArray;
-typedef struct jcharArrayStruct* jcharArray;
-typedef struct jshortArrayStruct* jshortArray;
-typedef struct jintArrayStruct* jintArray;
-typedef struct jlongArrayStruct* jlongArray;
-typedef struct jfloatArrayStruct* jfloatArray;
-typedef struct jdoubleArrayStruct* jdoubleArray;
-typedef struct jobjectArrayStruct* jobjectArray;
-#endif
+
typedef struct jstringArrayStruct* jstringArray;
typedef struct jarrayArrayStruct* jarrayArray;