update idl

This commit is contained in:
lixianjing 2020-12-04 08:52:11 +08:00
parent 471a106f52
commit e0d8e2419b
4 changed files with 88 additions and 0 deletions

View File

@ -1116,6 +1116,9 @@ EXPORTS
fscript_exec fscript_exec
fscript_destroy fscript_destroy
fscript_eval fscript_eval
fscript_global_init
fscript_register_func
fscript_global_deinit
func_call_parser_init func_call_parser_init
func_call_parser_parse func_call_parser_parse
func_call_parser_deinit func_call_parser_deinit

View File

@ -307,6 +307,9 @@ EXPORTS
fscript_exec fscript_exec
fscript_destroy fscript_destroy
fscript_eval fscript_eval
fscript_global_init
fscript_register_func
fscript_global_deinit
func_call_parser_init func_call_parser_init
func_call_parser_parse func_call_parser_parse
func_call_parser_deinit func_call_parser_deinit

View File

@ -31659,6 +31659,47 @@
"type": "ret_t", "type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。" "desc": "返回RET_OK表示成功否则表示失败。"
} }
},
{
"params": [],
"annotation": {},
"desc": "全局初始化。",
"name": "fscript_global_init",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
}
},
{
"params": [
{
"type": "const char*",
"name": "name",
"desc": "函数名(无需加函数前缀)。"
},
{
"type": "fscript_func_t*",
"name": "func",
"desc": "函数指针。"
}
],
"annotation": {},
"desc": "注册全局自定义函数。",
"name": "fscript_register_func",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
}
},
{
"params": [],
"annotation": {},
"desc": "全局释放。",
"name": "fscript_global_deinit",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
}
} }
], ],
"events": [], "events": [],

View File

@ -7939,6 +7939,47 @@
"type": "ret_t", "type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。" "desc": "返回RET_OK表示成功否则表示失败。"
} }
},
{
"params": [],
"annotation": {},
"desc": "全局初始化。",
"name": "fscript_global_init",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
}
},
{
"params": [
{
"type": "const char*",
"name": "name",
"desc": "函数名(无需加函数前缀)。"
},
{
"type": "fscript_func_t*",
"name": "func",
"desc": "函数指针。"
}
],
"annotation": {},
"desc": "注册全局自定义函数。",
"name": "fscript_register_func",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
}
},
{
"params": [],
"annotation": {},
"desc": "全局释放。",
"name": "fscript_global_deinit",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
}
} }
], ],
"events": [], "events": [],