mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mempool.c (mempool_open): avoid using old API in mempool.c
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ struct mempool {
|
||||
MRB_API mempool*
|
||||
mempool_open(void)
|
||||
{
|
||||
mrb_mempool *pool = (mempool*)malloc(sizeof(struct mempool));
|
||||
mempool *pool = (mempool*)malloc(sizeof(struct mempool));
|
||||
|
||||
if (pool) {
|
||||
pool->pages = NULL;
|
||||
|
||||
Reference in New Issue
Block a user