From 54c9a76cf2686b50ebd8c3f261424661bab579be Mon Sep 17 00:00:00 2001 From: Takase <20792268+takase1121@users.noreply.github.com> Date: Sun, 23 Jul 2023 19:17:45 +0800 Subject: [PATCH] docs(system): fix missing parameter for system.path_compare (#1566) * docs(system): fix missing parameter for system.path_compare * docs(system): fix missing parameter in function prototype --- docs/api/system.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api/system.lua b/docs/api/system.lua index ffbc6f42..9e5ef289 100644 --- a/docs/api/system.lua +++ b/docs/api/system.lua @@ -318,9 +318,11 @@ function system.load_native_plugin(name, path) end ---Compares two paths in the order used by TreeView. --- ---@param path1 string +---@param type1 system.fileinfotype ---@param path2 string +---@param type2 system.fileinfotype ---@return boolean compare_result True if path1 < path2 -function system.path_compare(path1, path2) end +function system.path_compare(path1, type1, path2, type2) end return system