brailcom/speechd

Adding user data context parameter to callbacks

Offen

#856 geöffnet am 16.09.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (86 Forks)auto 404
enhancementgood first issuehelp wantedpriority

Repository-Metriken

Stars
 (325 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Is your feature request related to a problem? Please describe.

When a callback is called, it is generally useful to have the context of the callback (e.g. OO container etc.)

Describe the solution you'd like

The callbacks should have an additional pointer parameter that can be decided at callback registration.

Describe alternatives you've considered

Using client_id is possible, but not very convenient.

Contributor Guide