Skip to content

cpkt v0.6.0

Choose a tag to compare

@sa6mwa sa6mwa released this 28 Oct 09:33
· 7 commits to trunk since this release

The Lua runtime exposes a C89 line observer through cpkt_lua_runtime_set_trace_callback(), with caller-owned context and borrowed source/line metadata. Events cover main-thread execution, coroutines, and Lua finalizers while preserving instruction-limit enforcement.

Configure observers between host calls. Trace callbacks can replace or remove the observer; changes from other callbacks during execution or destruction return CPKT_LUA_RUNTIME_ERR_ARG. Callback lifetimes and reentry rules are documented in the public header and Lua runtime policy.

The API addition preserves existing shared-library ABI compatibility. Consumers using the observer require the updated library.

Includes SDK archives for all seven supported targets, the Darwin smoke-test bundle, source archive, and SHA-256 checksums.