Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 07 Feb 2016 13:55:31 UTC Commit: 4940e36291671fbcd0be96af763ec342374e4986 https://github.com/geany/geany-plugins/commit/4940e36291671fbcd0be96af763ec3...
Log Message: ----------- debugger: Use an enumeration for markers
Modified Paths: -------------- debugger/src/markers.c
Modified: debugger/src/markers.c 17 lines changed, 10 insertions(+), 7 deletions(-) =================================================================== @@ -40,13 +40,16 @@ extern GeanyData *geany_data; #include "xpm/frame_current.xpm"
/* markers identifiers */ -#define M_FIRST 12 -#define M_BP_ENABLED M_FIRST -#define M_BP_DISABLED (M_FIRST + 1) -#define M_BP_CONDITIONAL (M_FIRST + 2) -#define M_CI_BACKGROUND (M_FIRST + 3) -#define M_CI_ARROW (M_FIRST + 4) -#define M_FRAME (M_FIRST + 5) +#define M_FIRST 12 +enum +{ + M_BP_ENABLED = M_FIRST, + M_BP_DISABLED, + M_BP_CONDITIONAL, + M_CI_BACKGROUND, + M_CI_ARROW, + M_FRAME +};
#define MARKER_PRESENT(mask, marker) (mask && (0x01 << marker))
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).