brailcom/speechd

Adding user data context parameter to callbacks

Aberta

#856 aberto em 16 de set. de 2023

 (1 comentário) (0 reação) (0 responsável)C (86 forks)auto 404
enhancementgood first issuehelp wantedpriority

Métricas do repositório

Stars
 (325 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador