Skip to content

Add function to get queue after initialization#14

Open
mkfrey wants to merge 2 commits intocraftmetrics:masterfrom
mkfrey:master
Open

Add function to get queue after initialization#14
mkfrey wants to merge 2 commits intocraftmetrics:masterfrom
mkfrey:master

Conversation

@mkfrey
Copy link
Contributor

@mkfrey mkfrey commented Feb 17, 2022

Allows for separation of the initialization and the consumption of button events without passing around pointers.

The NULL initialization of queue is just to signal the importance of it being nulled, as this allows checking the validity of the return value of button_get_queue().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant