libgaim/plugins/perl/common/Debug.xs

branch
cpw.khc.msnp14
changeset 20472
6a6d2ef151e6
parent 13191
6c98c6130701
parent 15257
c94113912aca
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgaim/plugins/perl/common/Debug.xs	Sun Apr 15 02:10:37 2007 +0000
@@ -0,0 +1,54 @@
+#include "module.h"
+
+MODULE = Gaim::Debug  PACKAGE = Gaim::Debug  PREFIX = gaim_debug_
+PROTOTYPES: ENABLE
+
+void
+gaim_debug(level, category, string)
+	Gaim::DebugLevel level
+	const char *category
+	const char *string
+CODE:
+	gaim_debug(level, category, "%s", string);
+
+void
+gaim_debug_misc(category, string)
+	const char *category
+	const char *string
+CODE:
+	gaim_debug_misc(category, "%s", string);
+
+void
+gaim_debug_info(category, string)
+	const char *category
+	const char *string
+CODE:
+	gaim_debug_info(category, "%s", string);
+
+void
+gaim_debug_warning(category, string)
+	const char *category
+	const char *string
+CODE:
+	gaim_debug_warning(category, "%s", string);
+
+void
+gaim_debug_error(category, string)
+	const char *category
+	const char *string
+CODE:
+	gaim_debug_error(category, "%s", string);
+
+void
+gaim_debug_fatal(category, string)
+	const char *category
+	const char *string
+CODE:
+	gaim_debug_fatal(category, "%s", string);
+
+void
+gaim_debug_set_enabled(enabled)
+	gboolean enabled
+
+gboolean
+gaim_debug_is_enabled()

mercurial