use macro for replace malloc api (see skynet_malloc.h)

This commit is contained in:
Cloud Wu
2014-04-18 22:35:47 +08:00
parent 23cfb11954
commit 7d835d222b
23 changed files with 125 additions and 68 deletions

View File

@@ -1,3 +1,6 @@
// include skynet.h first for malloc hook
#include "skynet.h"
#include "skynet_server.h"
#include "skynet_module.h"
#include "skynet_handle.h"
@@ -5,7 +8,6 @@
#include "skynet_timer.h"
#include "skynet_harbor.h"
#include "skynet_env.h"
#include "skynet.h"
#include "skynet_monitor.h"
#include <string.h>