[folks] core: Add [PrintfFormat] attributes to some internal debug methods
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] core: Add [PrintfFormat] attributes to some internal debug methods
- Date: Fri, 25 Oct 2013 11:01:11 +0000 (UTC)
commit 9565b4711ff6499344fb607494705a8d3e60a0c7
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Oct 25 11:59:28 2013 +0100
core: Add [PrintfFormat] attributes to some internal debug methods
folks/internal.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/folks/internal.vala b/folks/internal.vala
index 1182ea7..1d4030f 100644
--- a/folks/internal.vala
+++ b/folks/internal.vala
@@ -40,6 +40,7 @@ namespace Folks.Internal
#if ENABLE_PROFILING
/* See: http://people.gnome.org/~federico/news-2006-03.html#timeline-tools */
+ [PrintfFormat]
private static void profiling_markv (string format, va_list args)
{
var formatted = format.vprintf (args);
@@ -58,6 +59,7 @@ namespace Folks.Internal
* @param ... message arguments
* @since 0.7.2
*/
+ [PrintfFormat]
public static void profiling_point (string format, ...)
{
#if ENABLE_PROFILING
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]