Sign in
cobalt
/
cobalt
/
5ac52c483642b4db38dbd342c3c4978c98971a6e
/
.
/
src
/
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
);
}