Refactor v7_to_number -> v7_get_double and others
We wanted to avoid `to` since it implies some kind of conversion, but these functions merely return underlying C entity. Public API changes: - `v7_to_number()` -> `v7_get_double()` - `v7_to_boolean()` -> `v7_get_bool()` - `v7_to_cstring()` -> `v7_get_cstring()` - `v7_get_string_data()` -> `v7_get_string()` - `v7_to_foreign()` -> `v7_get_ptr()` Private API changes: - `v7_to_pointer()` -> `get_ptr()` - `v7_to_generic_object()` -> `get_generic_object_struct()` - `v7_to_object()` -> `get_object_struct()` - `to_js_function()` -> `get_js_function_struct()` - `to_cfunction()` -> `get_cfunction_ptr()` PUBLISHED_FROM=036ac18d442c1128106292ad3e7a818b177eec6a
Showing
Please
register
or
sign in
to comment