mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 08:50:53 +08:00
9697f95b8f
This reverts commit 15d999759e
.
22 lines
498 B
C
22 lines
498 B
C
#ifndef ACL_MEM_SLICE_INCLUDE_H
|
|
#define ACL_MEM_SLICE_INCLUDE_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct ACL_MEM_SLICE ACL_MEM_SLICE;
|
|
|
|
ACL_API ACL_MEM_SLICE *acl_mem_slice_init(int base, int nslice,
|
|
int nalloc_gc, unsigned int slice_flag);
|
|
ACL_API void acl_mem_slice_delay_destroy(void);
|
|
ACL_API void acl_mem_slice_destroy(void);
|
|
ACL_API int acl_mem_slice_gc(void);
|
|
ACL_API void acl_mem_slice_set(ACL_MEM_SLICE *mem_slice);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|