LongYinan
814414bc81
fix(napi): utf16 value should not contains 0 terminate
2021-08-13 18:39:02 +08:00
LongYinan
1a3621b727
feat(napi): major upgrades for napi@1
...
1. inline everything
2. change `check_status` and `type_of` to macro
3. provide #[module_exports] macro
4. remove debug and repr[transparent] for ffi struct
2020-11-26 11:31:49 +08:00
LongYinan
9c921ffaa3
refactor(napi): scope and Ref
2020-09-30 15:54:54 +08:00
LongYinan
371cc5eab0
feat(napi): string latin1 support
2020-09-03 19:11:30 +08:00
LongYinan
76d1258592
feat(napi): implement all object functions
2020-09-03 00:02:41 +08:00
LongYinan
b69a183681
fix(napi): wrong string length
2020-08-03 14:34:58 +08:00