Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 04 Jun 2012 23:07:28 Commit: 3c91bdde973e9f465e873b335bf8fe8dcb84e489 https://github.com/geany/geany-plugins/commit/3c91bdde973e9f465e873b335bf8fe...
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).
plugins-commits@lists.geany.org