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