-
Dmitry Frank authored
Add `mjs_check_arg()` which checks whether argument is provided, and checks its type. It simplifies code and makes it smaller (because error strings are not ad-hoc, so they are not duplicated) As part of that, also commonize type stringifying: implement `mjs_stringify_type` and reimplement `mjs_typeof` on top of that. Use `mjs_check_arg()` in `mjs_string_slice()` and `mjs_string_char_code_at()`. PUBLISHED_FROM=0b72cf479738ff405d991cbd4bf9e75edda0f111
bd130136
Name |
Last commit
|
Last update |
---|---|---|
docs | ||
examples | ||
jni | ||
tools | ||
.mbedignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
mongoose.c | ||
mongoose.h |