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.

貢獻者指南