[geany/geany-plugins] 3c91bd: codenav: Use G_STRFUNC rather than C99's __func__
Colomban Wendling
git-noreply at xxxxx
Mon Jun 4 23:07:28 UTC 2012
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 04 Jun 2012 23:07:28
Commit: 3c91bdde973e9f465e873b335bf8fe8dcb84e489
https://github.com/geany/geany-plugins/commit/3c91bdde973e9f465e873b335bf8fe8dcb84e489
Log Message:
-----------
codenav: Use G_STRFUNC rather than C99's __func__
Modified Paths:
--------------
codenav/src/codenavigation.h
Modified: codenav/src/codenavigation.h
3 files changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -62,8 +62,7 @@ static void log_debug(const gchar* s, ...)
va_end(l);
}
-#define log_func() g_print("[CODENAV FUNC] : %s", __func__) /* NB : this needs the C99 standard, but is only
- used when debugging, so no problem :) */
+#define log_func() g_print("[CODENAV FUNC] : %s", G_STRFUNC)
#else
static void log_debug(const gchar* s, ...) {}
static void log_func() {}
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Plugins-Commits
mailing list