4b2c10ae32
on the dartium usage pattern: - Dart_GetNativeStringArgument (gets a String object, peer etc. directly from the native arguments) - Dart_SetWeakHandleReturnValue (allows a weak handle to be passed to the return value, this ensures a new local handle does not have to be created from a weak handle just to return a value) - Dart_StringGetProperties (gets some common properties of a string, avoids multiple API calls to set up a native string) R=srdjan@google.com, vsm@google.com Review URL: https://codereview.chromium.org//22632010 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26046 260f80e4-7a28-3924-810f-c04153c831b5