mongoose/docs/c-api/util.h
Dmitry Frank 177e829f4b Add v7 arg to _mk_ and _get_ functions
`v7_mk_undefined()` and `v7_mk_null()` are left unchanged, but marked
deprecated, and `V7_UNDEFINED` and `V7_NULL` are public now.

Xtensa code size with instrumentation: 590400 -> 590432, i.e. 32 bytes.
Xtensa code size without instrumentation: 530848 -> 531760, i.e. 912
bytes.

As objdump reveals, inside v7.c, `v7_mk_number` and others are inlined,
so the extra v7 argument is eliminated; outside of v7.c it's obviously
not inlined.

----

Also, v7_get_int() is added, which currently just casts stored double
value to int

PUBLISHED_FROM=e984b7308faf2380b3de388f238e0fae0aea545d
2016-05-28 18:59:27 +01:00
..
intro.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
items.json Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_avprintf.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_base64_decode.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_base64_encode.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_casecmp.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_conn_addr_to_str.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_fopen.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_hexdump_connection.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_hexdump.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_is_big_endian.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_match_prefix.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_mk_str.md Add v7 arg to _mk_ and _get_ functions 2016-05-28 18:59:27 +01:00
MG_MK_STR.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_ncasecmp.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_next_comma_list_entry.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_open.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_skip.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_sock_addr_to_str.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_sock_to_str.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_start_thread.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_stat.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_vcasecmp.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mg_vcmp.md Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00