📄 malloc_hook.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 + -