10 Commits

Author SHA1 Message Date
Anod Chow
5796a6125a + add lua string read/write method 2018-09-29 12:58:06 +08:00
Anod Chow
ecb457dcb1 merge the pushuserdata and setmetatable to one process 2018-09-05 13:35:11 +08:00
Anod Chow
a655bfdcf8 change from lightuserdata to full-userdata for gc. 2018-09-05 13:28:39 +08:00
anod221
5bd231b52b Test on nodemcu-firmware. The int/uint pointer on esp8266 seems different to intel. memcpy is working. 2018-09-04 22:54:33 +08:00
anod221
65a4b5e828
update slice test code. 2018-08-31 11:16:37 +08:00
anod221
3b62d988d8
update the out of range position test. 2018-08-31 11:00:12 +08:00
anod221
b5ae271a0e
Add files via upload
* add test code for ByteArray.slice and fix bug.
2018-08-31 10:46:42 +08:00
anod221
825952cfd2
Update bytearr.c
remove the chinese comment.
2018-08-30 22:53:31 +08:00
anod221
a93d10271d
make write cstring as c-string. 2018-08-30 14:21:11 +08:00
anod221
f6931eff46
bytearr.c: lua module for ByteArray 2018-08-30 13:46:59 +08:00