PARK_Handle PARK_init(void *pMemory,const size_t numBytes)
{
PARK_Handle parkHandle;
if(numBytes < sizeof(PARK_Obj))
return((PARK_Handle)NULL);
// assign the handle
parkHandle = (PARK_Handle)pMemory;
return(parkHandle);
}
能不能详细解释一下 这个函数的意思
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
PARK_Handle PARK_init(void *pMemory,const size_t numBytes)
{
PARK_Handle parkHandle;
if(numBytes < sizeof(PARK_Obj))
return((PARK_Handle)NULL);
// assign the handle
parkHandle = (PARK_Handle)pMemory;
return(parkHandle);
}
能不能详细解释一下 这个函数的意思