📄 library.c
字号:
/* * mpatrol * A library for controlling and tracing dynamic memory allocations. * Copyright (C) 1997-2002 Graeme S. Roy <graeme.roy@analog.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307, USA. *//* * This file includes all of the mpatrol library source files in order * to build one large object file instead of a library of object files. */#define MP_EXPORT static /* limit visibility of symbols */#define MP_GLOBAL static /* limit visibility of symbols */#include "config.h"#if MP_IDENT_SUPPORT#ident "$Id: library.c,v 1.10 2002/01/08 20:13:59 graeme Exp $"#else /* MP_IDENT_SUPPORT */static MP_CONST MP_VOLATILE char *library_id = "$Id: library.c,v 1.10 2002/01/08 20:13:59 graeme Exp $";#endif /* MP_IDENT_SUPPORT */#include "list.c"#include "tree.c"#include "slots.c"#include "utils.c"#include "memory.c"#include "heap.c"#include "alloc.c"#include "info.c"#include "stack.c"#include "addr.c"#include "strtab.c"#include "symbol.c"#include "signals.c"#if MP_THREADS_SUPPORT#include "mutex.c"#endif /* MP_THREADS_SUPPORT */#include "diag.c"#include "option.c"#include "leaktab.c"#include "profile.c"#include "trace.c"#include "inter.c"#if TARGET == TARGET_UNIX || (TARGET == TARGET_AMIGA && defined(__GNUC__)) || \ TARGET == TARGET_WINDOWS#include "malloc.c"#include "cplus.c"#if TARGET != TARGET_UNIX#include "sbrk.c"#endif /* TARGET */#endif /* TARGET && __GNUC__ */#include "version.c"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -