5 Commits

Author SHA1 Message Date
Ivan FB
80d3f58702
feat: multi-parameter {.ffiEvent.} via synthesised envelope
`{.ffiEvent.}` previously accepted exactly one parameter, forcing every
multi-field event to declare a hand-written {.ffi.} payload type. The macro
now bundles two or more parameters into a synthesised, registered envelope
object named `<WireNamePascalCase>Payload`, whose fields are the parameters,
and dispatches an instance of it. A single parameter still rides the wire
directly (scalar or existing {.ffi.} object), so this is backwards
compatible. Because the envelope is registered like any {.ffi.} type, the
foreign bindings gain it as a first-class struct plus a typed handler.

The timer example gains an `on_job_scheduled(jobId, willRunCount)` event to
exercise the path; the C++ and Rust bindings are regenerated accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-29 11:42:49 -03:00
Gabriel Cruz
41bb2b36a7
feat(ffi): {.ffiStatic.} for context-independent procs (#138) 2026-07-24 12:35:11 -03:00
Gabriel Cruz
64cb4bfce4
feat(codegen): {.ffiConst.} constants and {.ffi.} enums for C/C++/Rust (#140) 2026-07-23 14:00:24 -03:00
Gabriel Cruz
c58e2bcdd2
feat: propagate comments (#136) 2026-07-22 17:04:35 -03:00
Gabriel Cruz
436c0d760b
test(cpp-e2e): add multi-context, cross-library, pipeline, stress tests (#30) (#42) 2026-05-26 09:18:12 -03:00