Mention varargs being passed into state callbacks

This commit is contained in:
speak 2020-11-30 23:04:19 +02:00 committed by GitHub
parent 8be736d992
commit af60cf26cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
a finite state machine implementation; a finite state machine implementation;
each state is a table with optional enter, exit, update and draw callbacks each state is a table with optional enter, exit, update and draw callbacks
which each optionally take the machine, and the state table as arguments which each optionally take the machine, the state table, and varargs as arguments
on changing state, the outgoing state's exit callback is called, then the incoming state's on changing state, the outgoing state's exit callback is called, then the incoming state's
enter callback is called. enter callback is called.