korken89 / smlang-rs

A State Machine Language DSL procedual macro for Rust
Apache License 2.0
192 stars 28 forks source link

Feature/issue 34 starting state with data #39

Closed dzimmanck closed 2 years ago

dzimmanck commented 2 years ago

This pull request will automatically change the signature for new() to accept state data after the context if the user specifies a starting state that contains data. This provides a simple way of propagating it on machine instantiation.

korken89 commented 2 years ago

bors merge

bors[bot] commented 2 years ago

Build succeeded: