Paul Sokolovsky
|
81d64ab939
|
unix/modjni: call_method(): If name doesn't match, cleanup via goto next_method.
|
2015-09-26 08:51:22 -07:00 |
Paul Sokolovsky
|
c0a79cc919
|
unix/modjni: Need to really use per-rettype Call*Method functions.
|
2015-09-26 08:49:12 -07:00 |
Paul Sokolovsky
|
7e18d3b6ff
|
unix/modjni: new_jobject(): Handle null reference.
|
2015-09-24 15:29:57 -07:00 |
Paul Sokolovsky
|
e632b1fda7
|
unix/modjni: Factor out is_object_type().
|
2015-09-23 07:11:56 -07:00 |
Paul Sokolovsky
|
ed22e9ba3e
|
unix/modjni: Move type analysis logic to new_jobject(), for reuse.
|
2015-09-22 17:02:17 -07:00 |
Paul Sokolovsky
|
b2d880d749
|
unix/modjni: Support for subscripting of Java lists (r/o so far).
|
2015-09-21 12:02:54 -07:00 |
Paul Sokolovsky
|
6196aa45ed
|
unix/modjni: jvalue2py: Handle boolean.
|
2015-09-20 00:36:51 +03:00 |
Paul Sokolovsky
|
1e9d8e110b
|
unix/modjni: py2jvalue: Pass jobject's down to Java.
So far, no signature check is done (TODO).
|
2015-09-19 01:05:25 +03:00 |
Paul Sokolovsky
|
011c7f5718
|
unix/modjni: py2jvalue: Handle both int and long java types (with TODO for long).
|
2015-09-18 13:21:21 +03:00 |
Paul Sokolovsky
|
1cb5de2cd5
|
unix/modjni: jvalue2py: Handle class-containing jvalues.
|
2015-09-17 13:31:40 +03:00 |
Paul Sokolovsky
|
cb6cf5e257
|
unix/modjni: Add env() module function.
Useful to load native method libraries not loaded by VM (as happens on
Android).
|
2015-09-16 01:10:09 +03:00 |
Paul Sokolovsky
|
b230a86d33
|
unix/modjni: Return any object type value as a jobject.
|
2015-09-15 14:07:39 +03:00 |
Paul Sokolovsky
|
5167332131
|
unix/modjni: Return Java null as Python None.
|
2015-09-14 00:15:35 +03:00 |
Paul Sokolovsky
|
7a4b10cc4c
|
unix/modjni: Support static methods.
|
2015-09-14 00:12:47 +03:00 |
Paul Sokolovsky
|
26a9b4d48e
|
unix/modjni: Factor out new_jobject(), jvalue2py() functions.
|
2015-09-13 01:27:47 +03:00 |
Paul Sokolovsky
|
4e7bde8c9e
|
unix/modjni: Factor out py2jvalue() function.
|
2015-09-12 00:20:06 +03:00 |
Paul Sokolovsky
|
e79c6b6312
|
unix/modjni: "jni" module to interface to JNI-compliant JavaVM.
This includes Android Dalvik VM for example.
Example usage:
import jni
System = jni.cls("java/lang/System")
System.out.println("Hello, Java!")
|
2015-09-11 21:38:57 +03:00 |