Skip to content

Commit af96e9f

Browse files
committed
Simplify JSAtom creation
- use single `JS_NewAtomRT` API to create atoms with or without `ctx` takes a UTF-8 string and flags, optionally detects numeric atoms - simplify `__JS_NewAtom - add `js_realloc_rt2` with slack handling - simplify `JS_NewAtomLen` and `JS_NewAtom̀` - simplify `JS_NewAtomUInt32`, `JS_NewAtomInt64`, `JS_NewClass`
1 parent 1baa676 commit af96e9f

File tree

1 file changed

+168
-115
lines changed

1 file changed

+168
-115
lines changed

0 commit comments

Comments
 (0)