[geany/geany-plugins] 72b74d: utils: Put public functions in the "gp" namespace

Colomban Wendling git-noreply at xxxxx
Sun Oct 15 21:28:08 UTC 2017


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 15 Oct 2017 21:28:08 UTC
Commit:      72b74d4101036c1e417f3afa820222f5b29f7db6
             https://github.com/geany/geany-plugins/commit/72b74d4101036c1e417f3afa820222f5b29f7db6

Log Message:
-----------
utils: Put public functions in the "gp" namespace


Modified Paths:
--------------
    utils/src/filelist.c
    utils/src/filelist.h
    workbench/src/wb_project.c

Modified: utils/src/filelist.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -172,7 +172,7 @@ static void filelist_scan_directory_int(const gchar *searchdir, SCAN_DIR_PARAMS
  * @return GSList of matched files
  *
  **/
-GSList *filelist_scan_directory(guint *files, guint *folders, const gchar *searchdir, gchar **file_patterns,
+GSList *gp_filelist_scan_directory(guint *files, guint *folders, const gchar *searchdir, gchar **file_patterns,
 		gchar **ignored_dirs_patterns, gchar **ignored_file_patterns)
 {
 	SCAN_DIR_PARAMS params;


Modified: utils/src/filelist.h
8 lines changed, 4 insertions(+), 4 deletions(-)
===================================================================
@@ -16,12 +16,12 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
-#ifndef __UTILS_FILELIST_H__
-#define __UTILS_FILELIST_H__
+#ifndef GP_UTILS_FILELIST_H
+#define GP_UTILS_FILELIST_H
 
 #include <glib.h>
 
-GSList *filelist_scan_directory(guint *files, guint *folders, const gchar *searchdir, gchar **file_patterns,
+GSList *gp_filelist_scan_directory(guint *files, guint *folders, const gchar *searchdir, gchar **file_patterns,
 		gchar **ignored_dirs_patterns, gchar **ignored_file_patterns);
 
-#endif
+#endif /* GP_UTILS_FILELIST_H */


Modified: workbench/src/wb_project.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -494,7 +494,7 @@ static guint wb_project_dir_rescan_int(WB_PROJECT *prj, WB_PROJECT_DIR *root)
 	searchdir = get_combined_path(prj->filename, root->base_dir);
 	root->file_count = 0;
 	root->folder_count = 0;
-	lst = filelist_scan_directory(&(root->file_count), &(root->folder_count),
+	lst = gp_filelist_scan_directory(&(root->file_count), &(root->folder_count),
 		searchdir, file_patterns, root->ignored_dirs_patterns, root->ignored_file_patterns);
 	g_free(searchdir);
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list