mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Added declarations of some new GSDebugAllocation functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8289 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e03d6417c2
commit
7d316f81fa
1 changed files with 15 additions and 0 deletions
|
@ -46,6 +46,18 @@ extern int errno;
|
|||
* Returns the number of instances of the specified class
|
||||
* which are currently allocated.
|
||||
*
|
||||
* GSDebugAllocationTotal()
|
||||
* Returns the total number of instances of the specified class
|
||||
* which have been allocated.
|
||||
*
|
||||
* GSDebugAllocationPeak()
|
||||
* Returns the peak number of instances of the specified class
|
||||
* which have been concurrently allocated.
|
||||
*
|
||||
* GSDebugAllocationClassList()
|
||||
* Returns a NULL terminated array listing all the classes
|
||||
* for which statistical information have been collected.
|
||||
*
|
||||
* GSDebugAllocationList()
|
||||
* Returns a newline separated list of the classes which
|
||||
* have instances allocated, and the instance counts.
|
||||
|
@ -64,6 +76,9 @@ GS_EXPORT void GSDebugAllocationRemove(Class c);
|
|||
|
||||
GS_EXPORT BOOL GSDebugAllocationActive(BOOL active);
|
||||
GS_EXPORT int GSDebugAllocationCount(Class c);
|
||||
GS_EXPORT int GSDebugAllocationPeak(Class c);
|
||||
GS_EXPORT int GSDebugAllocationTotal(Class c);
|
||||
GS_EXPORT Class* GSDebugAllocationClassList();
|
||||
GS_EXPORT const char* GSDebugAllocationList(BOOL changeFlag);
|
||||
GS_EXPORT const char* GSDebugAllocationListAll();
|
||||
|
||||
|
|
Loading…
Reference in a new issue