mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-12 15:39:00 +08:00
177e829f4b
`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
153 B
153 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
MG_MK_STR() | MG_MK_STR | func | #define MG_MK_STR(str_literal); |
Macro for initializing mg_str.