On Nov 30, 9:08 am, bacchus <[email protected]> wrote: > I'm looking for specific information about Android JNI Call Bridge. > The one that exists does not suffices my needs.
The "JNI call bridge" is a bit of code that converts an array of 32- bit values into C-style arguments. It takes into account host- specific calling conventions, notably which arguments go into which registers (by type or position), which go onto the stack, and how values should be padded. The sources include a version based on libffi (slow) and a few CPU- specific implementations (ARM EABI, SH4, x86). > I would like to understand the mappings performed between C/C++ data > types and Java data types. > > As an example, I would like to understand where and how the VMRuntime > object is defined and mapped. This is beyond the scope of the JNI function call interface. If you want higher-level object to interact more directly, you may need to look into Cygnus CNI (requires compiler support) or JNA (convenience, but at a price). Was there something specific about VMRuntime that interested you? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

