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