export assets_manager_build_asset_filename

This commit is contained in:
lixianjing 2023-05-24 17:15:58 +08:00
parent 397e55c27d
commit 7605ce60be
2 changed files with 21 additions and 0 deletions

View File

@ -2,6 +2,7 @@
2023/05/24
* 完善编译脚本(感谢朝泽提供补丁)
* 导出assest\_manager\_build\_assest\_filename函数(感谢福明提供补丁)
2023/05/23
* 对话框中的ok/cancel使用不同的风格。

View File

@ -413,6 +413,26 @@ ret_t assets_manager_destroy(assets_manager_t* am);
*/
asset_info_t* assets_manager_load_file(assets_manager_t* am, asset_type_t type, const char* path);
/**
* @method assets_manager_build_asset_filename
*
*
* @param {assets_manager_t*} am asset manager对象
* @param {char*} path
* @param {uint32_t} size
* @param {const char*} theme
* @param {bool_t} ratio_sensitive
* @param {const char*} subpath
* @param {const char*} name
* @param {const char*} extname
*
* @return {ret_t} RET_OK表示成功
*/
ret_t assets_manager_build_asset_filename(assets_manager_t* am, char* path, uint32_t size,
const char* theme, bool_t ratio_sensitive,
const char* subpath, const char* name,
const char* extname);
/*public for test*/
/**