summaryrefslogtreecommitdiff
path: root/core/pkg
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-19 11:42:14 +0800
committerruki <[email protected]>2015-05-19 11:42:14 +0800
commit050d1882cf578ca81f92666d42bc005b7c0eb914 (patch)
tree3da2dadd83c155ab2e07811d703172918e03159f /core/pkg
parentf1de3034b9afbb88f83501730bf27c31078818ed (diff)
find and match files or directories
Diffstat (limited to 'core/pkg')
-rw-r--r--core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h2
-rwxr-xr-xcore/pkg/tbox.pkg/inc/tbox/platform/directory.h12
2 files changed, 11 insertions, 3 deletions
diff --git a/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h b/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h
index 7c2999bb0..6779345a4 100644
--- a/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h
+++ b/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h
@@ -14,7 +14,7 @@
#define TB_CONFIG_VERSION_ALTER 8
// build version
-#define TB_CONFIG_VERSION_BUILD 201505181139
+#define TB_CONFIG_VERSION_BUILD 201505190824
// small
#define TB_CONFIG_SMALL (0)
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/directory.h b/core/pkg/tbox.pkg/inc/tbox/platform/directory.h
index ea474114e..23df0b329 100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/directory.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/directory.h
@@ -38,8 +38,16 @@ __tb_extern_c_enter__
/* //////////////////////////////////////////////////////////////////////////////////////
* types
*/
-/// the directory walk func type
-typedef tb_void_t (*tb_directory_walk_func_t)(tb_char_t const* path, tb_file_info_t const* info, tb_cpointer_t priv);
+
+/*! the directory walk func type
+ *
+ * @param path the file path
+ * @param info the file info
+ * @param priv the user private data
+ *
+ * @return continue: tb_true, break: tb_false
+ */
+typedef tb_bool_t (*tb_directory_walk_func_t)(tb_char_t const* path, tb_file_info_t const* info, tb_cpointer_t priv);
/* //////////////////////////////////////////////////////////////////////////////////////
* interfaces