1 /*
2  * Copyright (C) 2015-2017 Alibaba Group Holding Limited
3  */
4 
5 #include "iperf_wrapper.h"
6 #include "aos/kernel.h"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
iperf_wrapper_free(void * ptr)12 void iperf_wrapper_free(void * ptr)
13 {
14     aos_free(ptr);
15 }
16 
iperf_wrapper_malloc(unsigned int size)17 void *iperf_wrapper_malloc(unsigned int size)
18 {
19     return aos_malloc(size);
20 }
21 
22 #ifdef __cplusplus
23 };  /* extern "C" */
24 #endif
25