Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
lz4_lib
/
lz4starboard.c
blob: 61658553189c1e38875488f9d7166e4f4b58434d [
file
] [
log
] [
blame
]
#include
"starboard/memory.h"
void
*
LZ4_malloc
(
size_t
s
)
{
return
SbMemoryAllocate
(
s
);
}
void
*
LZ4_calloc
(
size_t
n
,
size_t
s
)
{
return
SbMemoryCalloc
(
n
,
s
);
}
void
LZ4_free
(
void
*
p
)
{
SbMemoryDeallocate
(
p
);
}