添加try catch 原理注释

This commit is contained in:
2025-06-25 19:10:40 +08:00
parent 2cfdb4a84f
commit 5411714133
5 changed files with 49 additions and 18 deletions

View File

@@ -189,7 +189,7 @@ def def_slot_fun(line:str):
def gen_slot_fun_array(slot_fun_list:list) -> str:
item_list=[]
for item in slot_fun_list:
item_list.append(f" .func = {item.name}_caller,\n .name=\"{item.name}\"\n")
item_list.append(f" .func = {item.name}_caller,\n .name = \"{item.name}\"\n")
table_str="""
// 定义一个数据结构来保存槽封装函数与槽函数的关系
typedef struct {