FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/osx/osx.c @ 505:19afa1be1d30
osx.c: int_osx_alloc_mem() done
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 01 Jul 2014 19:26:54 +0000 |
parents | 7b2ceea92a2e |
children | 65c9bd2eed85 |
comparison
equal
deleted
inserted
replaced
504:7b2ceea92a2e | 505:19afa1be1d30 |
---|---|
162 /* This check is a FreeCalypso addition */ | 162 /* This check is a FreeCalypso addition */ |
163 TRACE_ASSERT(prim_ptr != 0); | 163 TRACE_ASSERT(prim_ptr != 0); |
164 prim_ptr->SigP = (DummyStruct *)(prim_ptr + 1); | 164 prim_ptr->SigP = (DummyStruct *)(prim_ptr + 1); |
165 return(prim_ptr); | 165 return(prim_ptr); |
166 } | 166 } |
167 | |
168 void * | |
169 int_osx_alloc_mem(int caller, unsigned long len) | |
170 { | |
171 void *mem_ptr; | |
172 | |
173 DMALLOC(mem_ptr, len); | |
174 TRACE_ASSERT(mem_ptr != 0); | |
175 return(mem_ptr); | |
176 } |