added GetOSLibararyPath and FindFileOnPaths functions.

This commit is contained in:
2022-03-31 18:13:36 +08:00
parent a4d1ed0c3c
commit 08d2fa2a1f
3 changed files with 82 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ namespace hgl
* 根据离散的每一级目录名称和最终名称合成完整文件名
*/
template<typename T>
inline const String<T> ComboFilename(const StringList<String<T>> &sl,const T spear_char=(T)HGL_DIRECTORY_SEPARATOR_RAWCHAR)
inline const String<T> ComboFilename(const StringList<T> &sl,const T spear_char=(T)HGL_DIRECTORY_SEPARATOR_RAWCHAR)
{
T **str_list=AutoDeleteArray<T *>(sl.GetCount());
int *str_len=AutoDeleteArray<int>(sl.GetCount());