commit | 92a3b69286a757afff76402d8a0d5ec04d7f177c | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Fri Apr 29 19:19:46 2011 -0700 |
committer | Carl Shapiro <cshapiro@google.com> | Fri Apr 29 19:19:55 2011 -0700 |
tree | 15a7ccc2e7a192e5c2f28daa751a3a98f33e45e9 | |
parent | 08351f6ad0e6efa40955cc37a64cc29a7daa031b [diff] |
Type the reference member of JValue as an Object pointer. Previously this had been a void pointer. To avoid adding lots of casts from the logical Object subtypes to Object the RETURN_PTR macro silently casts its argument to an Object* before performing an assignment to the JValue return value. After an inheritance relationship is established between Object and its subtypes this cast can be removed. Change-Id: Id05e5c11e57e2a9afd12bad0be095f1dfe9e1f51