Skip to content

Commit f62704c

Browse files
author
Miao Mico
committed
删除分支 string_matching;
修改注释;
1 parent 46d41c8 commit f62704c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Algorithm/search_substring.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ search_substring_control_match_backward_search(const char *str,
8989
*/
9090

9191
/**
92-
* @brief This function will substring search the package by the specified algorithm.
92+
* @brief This function will search the substring upon the string in the package
93+
* by the specified algorithm.
9394
*
9495
* @param algorithm the enum name of the algorithm
9596
* @param package the package contains the necessary information

Algorithm/search_substring.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,11 @@ struct search_substring_package_s {
8181
*/
8282

8383
/**
84-
* @brief This function will sort the object by the comp and the sort algorithm is distinguished by
85-
* the sort_algorithm_addr that will get by xxx_convert_type_to_func_addr_table().
84+
* @brief This function will search the substring upon the string in the package
85+
* by the specified algorithm.
8686
*
87-
* @param data the pointer to the data list will give
87+
* @param algorithm the enum name of the algorithm
88+
* @param package the package contains the necessary information
8889
*
8990
* @return void
9091
*/

0 commit comments

Comments
 (0)