mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Fix FreeAll PR formatting.
This commit is contained in:
parent
1a9aba3ab7
commit
6d6c059f38
2 changed files with 2 additions and 1 deletions
|
@ -555,7 +555,7 @@ public extern U8 *ReAlloc( U8 *src, U64 size, CTask *mem_task=NU
|
||||||
public _extern _MHEAP_CTRL CHeapCtrl *MHeapCtrl( U8 *src);
|
public _extern _MHEAP_CTRL CHeapCtrl *MHeapCtrl( U8 *src);
|
||||||
public _extern _MSIZE I64 MSize( U8 *src); //size of heap object
|
public _extern _MSIZE I64 MSize( U8 *src); //size of heap object
|
||||||
public _extern _MSIZE2 I64 MSize2( U8 *src); //Internal size
|
public _extern _MSIZE2 I64 MSize2( U8 *src); //Internal size
|
||||||
public extern U0 FreeAll(...); //Free all pointers passed
|
public extern U0 FreeAll(...); //Free all pointers passed
|
||||||
|
|
||||||
#help_index "Memory/HeapCtrl"
|
#help_index "Memory/HeapCtrl"
|
||||||
public extern U0 HeapCtrlDel( CHeapCtrl *hc);
|
public extern U0 HeapCtrlDel( CHeapCtrl *hc);
|
||||||
|
|
|
@ -508,6 +508,7 @@ U8 *SysStrNew(U8 *buf)
|
||||||
U0 FreeAll(...)
|
U0 FreeAll(...)
|
||||||
{// Free all pointers passed
|
{// Free all pointers passed
|
||||||
U64 cur_arg = 0;
|
U64 cur_arg = 0;
|
||||||
|
|
||||||
while (argc--)
|
while (argc--)
|
||||||
Free(argv[cur_arg++]);
|
Free(argv[cur_arg++]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue