Move foreach_strv to utils.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5277 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
09fdde6220
commit
3f04f8961e
@ -10,6 +10,8 @@
|
||||
Add some subheadings for Snippets section.
|
||||
* doc/geany.txt, doc/geany.html:
|
||||
Add snippet keybindings docs.
|
||||
* src/highlighting.c, src/utils.h:
|
||||
Move foreach_strv to utils.h.
|
||||
|
||||
|
||||
2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
@ -3188,9 +3188,6 @@ static void get_key_values(GKeyFile *config, const gchar *group, gchar **keys, g
|
||||
}
|
||||
|
||||
|
||||
#define foreach_strv(strptr, strv) \
|
||||
for (strptr = strv; *strptr; strptr++)
|
||||
|
||||
static void read_properties(GeanyFiletype *ft, GKeyFile *config, GKeyFile *configh)
|
||||
{
|
||||
gchar group[] = "lexer_properties";
|
||||
|
@ -115,6 +115,9 @@
|
||||
#define foreach_str(char_ptr, string) \
|
||||
for (char_ptr = string; *char_ptr; char_ptr++)
|
||||
|
||||
/* Iterate NULL-terminated string vector */
|
||||
#define foreach_strv foreach_str
|
||||
|
||||
/** Iterates from 0 to @a size.
|
||||
* @param i Integer.
|
||||
* @param size Number of iterations.
|
||||
|
Loading…
x
Reference in New Issue
Block a user