brailcom/speechd

Adding user data context parameter to callbacks

开放

#856 创建于 2023年9月16日

 (1 条评论) (0 个反应) (0 位负责人)C (86 个派生)auto 404
enhancementgood first issuehelp wantedpriority

仓库指标

星标
 (325 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南