Improve App callback mechanism #121
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
OragonEfreet/banjo!121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-app"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Setup now returns void* (the user_data for other callbacks) instead of using an output parameter.
2. bj_run_app signature changed:
- Before: bj_run_app(setup, step, fixed_step, teardown)
- After: bj_run_app(setup, step, fixed_step, teardown, init_data)
Added init_data parameter at the end to pass configuration from main() to setup