title: Passing data types from Java to C (or vice versa) using JNI
body: <p>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!).</p>