From 64f143632346cd5ff4003ce7f3b55a1cf3aa53ff Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 2 Jan 2026 18:04:39 +0900 Subject: [PATCH] amalgamation.md: add mruby-rational/complex, clarify gem defines Co-authored-by: Claude --- doc/guides/amalgamation.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/guides/amalgamation.md b/doc/guides/amalgamation.md index 38ac26dcd..f76043418 100644 --- a/doc/guides/amalgamation.md +++ b/doc/guides/amalgamation.md @@ -70,7 +70,8 @@ The following gems work with amalgamation: - `mruby-numeric-ext`, `mruby-range-ext`, `mruby-symbol-ext` - `mruby-proc-ext`, `mruby-kernel-ext`, `mruby-object-ext`, `mruby-class-ext` - `mruby-enum-ext`, `mruby-compar-ext` -- `mruby-error`, `mruby-math`, `mruby-struct`, `mruby-bigint` +- `mruby-error`, `mruby-math`, `mruby-struct` +- `mruby-bigint`, `mruby-rational`, `mruby-complex` - `mruby-io` (with `hal-posix-io`) - `mruby-task` (with `hal-posix-task`) @@ -129,9 +130,9 @@ Typical sizes depend on included gems: ### Gem Defines -Gems that add preprocessor defines affecting core structures (like -`MRB_USE_TASK_SCHEDULER` from mruby-task) are automatically detected -and included at the top of `mruby.h`. +Gems that add preprocessor defines affecting core structures are +automatically detected and included at the top of `mruby.h`. +Supported patterns: `MRB_USE_*`, `MRB_UTF8_*`, `HAVE_MRUBY_*`. ### Build Order