From 2a853dbfcd157b84f1d66401af54216772c3d3f8 Mon Sep 17 00:00:00 2001 From: dzaima Date: Wed, 11 Jun 2025 00:47:11 +0300 Subject: [PATCH] cleanup --- src/ffi.c | 4 ++-- test/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ffi.c b/src/ffi.c index e8391f6b..fea64400 100644 --- a/src/ffi.c +++ b/src/ffi.c @@ -884,7 +884,7 @@ static B readRe(BQNFFIType* t, u8* src) { return r; } -static NOINLINE B readComplex(B o, u8* ptr) { // doesn't consume +static NOINLINE B readCompound(B o, u8* ptr) { // doesn't consume BQNFFIType* t = c(BQNFFIType, o); if (t->ty == cty_repr) { // cty_repr, scalar:x return readRe(t, ptr); @@ -897,7 +897,7 @@ static NOINLINE B readComplex(B o, u8* ptr) { // doesn't consume } static B readAny(B o, u8* ptr) { // doesn't consume - return isC32(o)? readSimple(styG(o), ptr) : readComplex(o, ptr); + return isC32(o)? readSimple(styG(o), ptr) : readCompound(o, ptr); } B readUpdatedObj(BQNFFIEnt ent, bool anyMut, B** objs) { diff --git a/test/README.md b/test/README.md index dd80cbf7..beb50ac1 100644 --- a/test/README.md +++ b/test/README.md @@ -1,6 +1,6 @@ ## Tests -All of the below must be ran from the project's root directory. Some tests require `-DTEST_UTILS` (enabled by default in debug builds) +All of the below must be run from the project's root directory. Some tests require `-DTEST_UTILS` (enabled by default in debug builds) ``` C test/mainCfgs.sh path/to/mlochbaum/BQN // run the test suite for a couple primary configurations