2 * Hyper Operating System Application Framework
4 * @file automemheap_alloc.c
5 * @brief %jp{メモリヒープクラス}%en{auto size memory heap class}
7 * Copyright (C) 2006-2008 by Project HOS
8 * http://sourceforge.jp/projects/hos/
14 #include "automemheap_local.h"
19 C_AUTOMEMHEAP *AutoMemHeap_Create(C_MEMHEAP *pMemHeap)
24 if ( (self = (C_AUTOMEMHEAP *)MemHeap_Alloc(pMemHeap, sizeof(C_AUTOMEMHEAP))) == NULL )
30 AutoMemHeap_Constructor(self, pMemHeap);