title: Convert JNI types to Native types
body: <p>While there is documentation regarding turning a <code>jstring</code> to a native string (<code>string nativeString = env-&gt;GetStringUTFChars(jStringVariable, NULL);</code>)  I can't find an example which will convert a <code>jboolean</code> to a <code>bool</code> or a <code>jint</code> to an <code>int</code>. </p>
  
  <p>Can anyone suggest how this is achieved? </p>