26 Commits

Author SHA1 Message Date
Cloud Wu
2660b10442 fix #1567 2022-04-07 15:19:53 +08:00
子熏
2bfecfceae fix lua-seri rb_read (#1427)
Co-authored-by: zixun <lvzxiun@gmail.com>
2021-06-23 15:52:46 +08:00
Cloud Wu
6170346da2 add LUAMOD_API 2017-03-16 15:24:11 +08:00
Cloud Wu
a6299a0748 optimize skynet.error 2016-05-06 20:10:11 +08:00
Kezhu Wang
bfe8eeb4b3 Fix dangling c pointer to lua string value
Lua string object referenced by C pointer from lua_tolstring() was
removed from stack by lua_settop(L,0).

Lua 5.3 Reference Manual says:

> Because Lua has garbage collection, there is no guarantee that the
> pointer returned by lua_tolstring will be valid after the
> corresponding Lua value is removed from the stack.

That is it.

Introduced in commit 9937081854.
2015-12-14 16:16:37 +08:00
cxj
538414408d sharedata serialization bugfix 2015-07-13 13:04:09 +08:00
cxj
a77d36911d change wb_table to call wb_table_metapairs for keeping consistent style 2015-07-02 14:47:50 +08:00
cxj
172356be19 fix lua-seric.c wb_table 2015-07-02 13:51:03 +08:00
cxj
bd55a58515 support sharedata serialization 2015-07-01 16:54:20 +08:00
Cloud Wu
f61e3f46e8 fix issue #265 2015-05-02 20:47:15 +08:00
Cloud Wu
d06aa9b27d support lua 5.3 lua_Integer 2015-01-05 18:17:52 +08:00
Cloud Wu
c87dea3d9b fix issue #200 2014-11-10 20:58:10 +08:00
Cloud Wu
fc8983227d bugfix issue #185 2014-10-22 20:32:23 +08:00
Cloud Wu
04688e98a7 improve seri lib 2014-08-20 23:34:23 +08:00
Cloud Wu
9937081854 Redesign harbor/master/dummy service 2014-06-21 17:01:59 +08:00
Cloud Wu
61c8c765f4 use skynet_malloc api 2014-04-22 15:17:16 +08:00
Cloud Wu
7d835d222b use macro for replace malloc api (see skynet_malloc.h) 2014-04-18 22:38:18 +08:00
Cloud Wu
58aa7556a5 rewrite makefile, and remove luacode cache. 2014-03-26 15:13:30 +08:00
云风
6e3ef7fe09 bugfix: Issue #60 2013-12-30 19:48:30 +08:00
云风
48f6d42264 remove feature: remote object. Issue #58 2013-12-16 11:05:49 +08:00
云风
c07f4df172 skynet.call capture error 2013-12-10 15:20:03 +08:00
云风
a897d87e88 lua_Integer maybe a 64bit integer 2013-08-10 13:47:26 +08:00
云风
1887c9ff30 bugfix: pack table when size == 31 2013-02-05 14:00:03 +08:00
云风
7e37bc6ee3 compat52 for luajit2 2012-09-11 19:54:12 +08:00
云风
2cc2ca05c2 bugfix: pop __remote nil 2012-09-05 12:14:40 +08:00
云风
33bde97b66 remote object 2012-08-29 14:33:24 +08:00