修改API,提供set options的方式设置参数

This commit is contained in:
pengxuanzheng
2020-10-19 15:35:16 +08:00
parent 59f8b200e4
commit d384353969
4 changed files with 131 additions and 44 deletions

View File

@@ -23,6 +23,10 @@ void add_hos_info(hos_info_t **handle, hos_info_t *input)
value->object = input->object;
value->callback = input->callback;
value->userdata = input->userdata;
value->cache = input->cache;
value->cache_times = input->cache_times;
value->cache_rest = input->cache_rest;
value->position = input->position;
}
}