mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
use macro for replace malloc api (see skynet_malloc.h)
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
https://github.com/cloudwu/lua-serialize
|
||||
*/
|
||||
|
||||
// include skynet.h first for malloc hook
|
||||
#include "skynet.h"
|
||||
|
||||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user