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