mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-04-30 19:09:26 +08:00
* Fix #256: Expose get_function_objects() and get_scripting_objects() in public API The ChaiScript_Basic public API only exposed get_locals() for inspecting runtime state from C++, requiring users to work around this via chai.eval("get_functions()") to access function objects. Added get_function_objects() and get_scripting_objects() as public methods on ChaiScript_Basic, delegating to the existing Dispatch_Engine methods, matching the pattern already used by get_locals(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Address review: add tests for get_scripting_objects() Requested by @lefticus in PR #640 review. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: leftibot <leftibot@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chaiscript | ||