Passing data types from Java to C (or vice versa) using JNI

Posted by user277460 on Stack Overflow See other posts from Stack Overflow or by user277460
Published on 2010-03-23T23:18:09Z Indexed on 2010/03/23 23:33 UTC
Read the original article Hit count: 277

Filed under:
|
|

Using JNI can we pass custom data types from Java to C (or vice versa)? I see a mapping of primitive datatypes to types in C however not too sure if we can send across our own data types (e.g. Send across or return an Employee object or something!).

© Stack Overflow or respective owner

Related posts about jni

Related posts about java