mongoose/docs/c-api
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
..
coap.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
dns-server.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
dns.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
http.h Make mg_http_check_digest_auth() public 2016-05-16 13:57:13 +03:00
json-rpc.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mbuf.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mqtt-broker.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
mqtt.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
net.h Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00
util.h Add v7 arg to _mk_ and _get_ functions 2016-05-28 18:59:27 +01:00
items.json Remove old docs, rename docs_new to docs 2016-05-15 22:07:04 +03:00