| CODENOTIFIER | HelpYou are not signed inSign in |
Project: RJB
Revision: 76
Author: arton
Date: 14 Aug 2008 06:12:03
Changes:Diff:| ... | ...@@ -28,6 +28,7 @@ | |
| 28 | 28 | #include "jp_co_infoseek_hp_arton_rjb_RBridge.h" |
| 29 | 29 | #include "riconv.h" |
| 30 | 30 | #include "rjb.h" |
| 31 | #include "ctype.h" | |
| 31 | 32 | |
| 32 | 33 | /* |
| 33 | 34 | * Method Modifier Flag defined in |
| ... | ...@@ -159,6 +160,7 @@ | |
| 159 | 160 | return jnicls; |
| 160 | 161 | } |
| 161 | 162 | |
| 163 | #if 0 | |
| 162 | 164 | static char* jni2javaname(char* jnicls) |
| 163 | 165 | { |
| 164 | 166 | char* p; |
| ... | ...@@ -171,6 +173,7 @@ | |
| 171 | 173 | } |
| 172 | 174 | return jnicls; |
| 173 | 175 | } |
| 176 | #endif | |
| 174 | 177 | |
| 175 | 178 | static char* next_sig(char* p) |
| 176 | 179 | { |
| ... | ...@@ -843,7 +846,7 @@ | |
| 843 | 846 | { |
| 844 | 847 | ary = (*jenv)->NewByteArray(jenv, RSTRING_LEN(v)); |
| 845 | 848 | (*jenv)->SetByteArrayRegion(jenv, ary, 0, RSTRING_LEN(v), |
| 846 | RSTRING_PTR(v)); | |
| 849 | (const jbyte*)RSTRING_PTR(v)); | |
| 847 | 850 | } |
| 848 | 851 | else if (TYPE(v) == T_ARRAY) |
| 849 | 852 | { |
| ... | ...@@ -1347,7 +1350,6 @@ | |
| 1347 | 1350 | { |
| 1348 | 1351 | struct cls_method* result; |
| 1349 | 1352 | struct cls_method* pm; |
| 1350 | char* param = NULL; | |
| 1351 | 1353 | const char* jname; |
| 1352 | 1354 | jstring nm; |
| 1353 | 1355 | jobjectArray parama; |
| ... | ...@@ -1423,7 +1425,6 @@ | |
| 1423 | 1425 | jobject cls; |
| 1424 | 1426 | char sigs[256]; |
| 1425 | 1427 | off_t iv = 0; |
| 1426 | char sig = 0; | |
| 1427 | 1428 | |
| 1428 | 1429 | result = ALLOC(struct cls_field); |
| 1429 | 1430 | memset(result, 0, sizeof(struct cls_field)); |
| ... | ...@@ -1808,6 +1809,7 @@ | |
| 1808 | 1809 | free(p->arg_convert); |
| 1809 | 1810 | free(p->method_signature); |
| 1810 | 1811 | } |
| 1812 | #if 0 | |
| 1811 | 1813 | static int free_method_item(ID key, struct cls_method* pm, int dummy) |
| 1812 | 1814 | { |
| 1813 | 1815 | for (; pm; pm = pm->next) |
| ... | ...@@ -1816,6 +1818,7 @@ | |
| 1816 | 1818 | } |
| 1817 | 1819 | return ST_CONTINUE; |
| 1818 | 1820 | } |
| 1821 | #endif | |
| 1819 | 1822 | |
| 1820 | 1823 | /* |
| 1821 | 1824 | * finalize Object instance |