From 1ec84a2874b371fdd90ac325ccda75cba6cb816c Mon Sep 17 00:00:00 2001 From: HASUMI Hitoshi Date: Thu, 20 Mar 2025 10:15:20 +0900 Subject: [PATCH] Fix TYPO in memory.md No `alloc.c` in the source tree. It'd be `allocf.c` --- doc/guides/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/memory.md b/doc/guides/memory.md index adfa6c0fc..ac62a0482 100644 --- a/doc/guides/memory.md +++ b/doc/guides/memory.md @@ -16,7 +16,7 @@ First, `realloc(NULL, size)` behaves the same as malloc(size). Second, `free(NUL ## Redefine `mrb_default_allocf()` -The only function in mruby that uses the standard C library's memory allocation functions is `mrb_default_allocf()`, defined in `alloc.c`. By defining this function within your application, you can customize the memory management of your application. +The only function in mruby that uses the standard C library's memory allocation functions is `mrb_default_allocf()`, defined in `allocf.c`. By defining this function within your application, you can customize the memory management of your application. ## Specify a function with `mrb_open_allocf()`