[geany/geany] f088e7: Move GEANY_GBO_COMPILE etc to build.c

Nick Treleaven git-noreply at xxxxx
Thu Aug 29 10:23:26 UTC 2019


Branch:      refs/heads/master
Author:      Nick Treleaven <n at trelsoft.com>
Committer:   Nick Treleaven <n at trelsoft.com>
Date:        Thu, 29 Aug 2019 10:23:26 UTC
Commit:      f088e7bdf62b706cb3a3970cf2f937a7e7408d66
             https://github.com/geany/geany/commit/f088e7bdf62b706cb3a3970cf2f937a7e7408d66

Log Message:
-----------
Move GEANY_GBO_COMPILE etc to build.c


Modified Paths:
--------------
    src/build.c
    src/build.h

Modified: src/build.c
16 lines changed, 16 insertions(+), 0 deletions(-)
===================================================================
@@ -81,6 +81,22 @@ static RunInfo *run_info;
 static const gchar RUN_SCRIPT_CMD[] = "geany_run_script_XXXXXX.sh";
 #endif
 
+/* Order is important (see GBO_TO_GBG, GBO_TO_CMD below) */
+/* * Geany Known Build Commands.
+ * These commands are named after their default use.
+ * Only these commands can currently have keybindings.
+ **/
+typedef enum
+{
+	GEANY_GBO_COMPILE,		/* *< default compile file */
+	GEANY_GBO_BUILD,		/* *< default build file */
+	GEANY_GBO_MAKE_ALL,		/* *< default make */
+	GEANY_GBO_CUSTOM,		/* *< default make user specified target */
+	GEANY_GBO_MAKE_OBJECT,	/* *< default make object, make %e.o */
+	GEANY_GBO_EXEC,			/* *< default execute ./%e */
+	GEANY_GBO_COUNT			/* *< count of how many */
+} GeanyBuildType;
+
 /* * Convert @c GeanyBuildType to @c GeanyBuildGroup.
  *
  * This macro converts @c GeanyBuildType enum values (the "known" commands)


Modified: src/build.h
16 lines changed, 0 insertions(+), 16 deletions(-)
===================================================================
@@ -75,22 +75,6 @@ guint build_get_group_count(const GeanyBuildGroup grp);
 
 #ifdef GEANY_PRIVATE
 
-/* Order is important (see GBO_TO_GBG, GBO_TO_CMD below) */
-/* * Geany Known Build Commands.
- * These commands are named after their default use.
- * Only these commands can currently have keybindings.
- **/
-typedef enum
-{
-	GEANY_GBO_COMPILE,		/* *< default compile file */
-	GEANY_GBO_BUILD,		/* *< default build file */
-	GEANY_GBO_MAKE_ALL,		/* *< default make */
-	GEANY_GBO_CUSTOM,		/* *< default make user specified target */
-	GEANY_GBO_MAKE_OBJECT,	/* *< default make object, make %e.o */
-	GEANY_GBO_EXEC,			/* *< default execute ./%e */
-	GEANY_GBO_COUNT			/* *< count of how many */
-} GeanyBuildType;
-
 /* include the fixed widgets in an array indexed by groups */
 #define GBG_FIXED GEANY_GBG_COUNT
 



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


More information about the Commits mailing list