• Dmitry Frank's avatar
    Refactor v7_to_number -> v7_get_double and others · d4b81bb9
    Dmitry Frank authored
    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
    d4b81bb9
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
jni Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...