⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 malloc_hook.h

📁 symbina上可以使用一个xml解析器,对开发网络应用很有好处
💻 H
字号:
/* Thread Local Storage based malloc hooks for Symbian.
** Copyright (C) 2005 Darrell Karbott (djk2005@users.sf.net)
** This code is free software; you can redistribute it and/or
** modify it under the terms of GNU Lesser General Public License.
*/
#ifndef __MALLOC_HOOK_H__
#define __MALLOC_HOOK_H__ 1
#ifndef __SYMBIAN32__ 
#error "This file contains Symbian specific code. You shouldn't be building it for other targets."
#endif

#include <stddef.h>

#ifdef __cplusplus
extern "C" {
#endif
typedef void *(*TMallocFunc)(size_t size);
typedef void (*TFreeFunc)(void *ptr);

int set_mem_funcs_using_tls(TMallocFunc pMalloc, TFreeFunc pFree);
TMallocFunc get_malloc_func_using_tls();
TFreeFunc get_free_func_using_tls();
#ifdef __cplusplus
}
#endif
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -