commit | ab00d455ea67fbf4090567bb09ead8017896ea61 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Wed Aug 19 07:21:41 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Thu Aug 20 17:30:56 2009 -0700 |
tree | 2b2d66720683073fb4bab9739c7c49ec1594c4b4 | |
parent | fe79541b5cc5a490dd3a5b2e68f884fdfad4ca76 [diff] |
Progress toward indirect JNI references. Switch from simple typecasts to conversion functions for the objects passed in and out of JNI calls. No real change here; object references are still just pointers. Use explicit pin/unpin calls for primitive arrays. For GetStringChars we now pin the char[] rather than the String object. (Which doesn't make much difference in the grand scheme of things, since you need to keep the String to pass into the release function anyway.)