pub unsafe extern "C" fn malloc_internal(size: usize) -> *mut crate::binary::c_types::c_void {
    unsafe { crate::compat::malloc::malloc(size).cast() }
}
**************************************************************************
Name: esp_malloc_internal

Description:
Drivers allocate a block of memory

Input Parameters:
size - memory size

Returned Value:
Memory pointer

*************************************************************************
esp-wifi/src/wifi/os_adapter.rs