mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
add extra_ctx on timer/idle
This commit is contained in:
parent
9d136bb645
commit
3afbd586eb
@ -62,6 +62,13 @@ struct _idle_info_t {
|
||||
* idle回调函数上下文。
|
||||
*/
|
||||
void* ctx;
|
||||
|
||||
/**
|
||||
* @property {void*} extra_ctx
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* idle回调函数上下文。
|
||||
*/
|
||||
void* extra_ctx;
|
||||
|
||||
/**
|
||||
* @property {uint32_t} id
|
||||
|
@ -64,6 +64,14 @@ struct _timer_info_t {
|
||||
*
|
||||
*/
|
||||
void* ctx;
|
||||
|
||||
/**
|
||||
* @property {void*} extra_ctx
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* 定时器回调函数的上下文
|
||||
*
|
||||
*/
|
||||
void* extra_ctx;
|
||||
|
||||
/**
|
||||
* @property {uint32_t} id
|
||||
|
Loading…
Reference in New Issue
Block a user