Stop pointer parameters leaking value-pool slots #43
Reference in New Issue
Block a user
Delete Branch "36"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #36
Pointer parameters now create their call variable without generic storage, then keep the one-slot reference inline. By-value structure parameters retain pool-backed copies because the parameter may escape through POINT.
Tests: cmake --build build --parallel 2; ctest --test-dir build --output-on-failure (112/112 passed).
@logikoma none of your new functions in src/runtime.c have doxygen blocks explaining them, please fix
@@ -346,3 +349,4 @@SUCCEED_RETURN(errctx);}akerr_ErrorContext *akbasic_environment_create(akbasic_Environment *obj, const char *varname, akbasic_Variable **dest)@logikoma None of these new functions in src/environment.c have doxygen blocks, fix it
@tachikoma none of the new function definitions here have doxygen blocks can you fix it
@tachikoma none of the new function definitions here have doxygen blocks can you fix it
Added a doxygen block for environment_create_named (the only new function definition in src/environment.c that wasn't already documented — akbasic_environment_create() and akbasic_environment_create_empty() are documented in the header). Pushed as
d29b1ac.d29b1ace8ftoec4a2c23d7@logikoma the pipeline is failing
Added Doxygen blocks for the new environment variable creation helper and both public wrappers. Build and all 112 tests pass.
@logikoma SIGN ALL COMMITS ON THIS PULL REQUEST
ebec1f1621to5c04edc5fbRebuilt all three commits with Logikoma SSH signatures and force-pushed branch 36. Each commit verifies locally as G; the resulting tree is byte-for-byte unchanged. The requested Doxygen block remains in the second commit.