diff plugins/perl/common/Debug.xs @ 13190:60b863ecd89b

[gaim-migrate @ 15553] perl scripts can use signal priority now. Also it's always bothered me that the debug and signal stuff was just stuck at the bottom of Gaim.xs so I've moved them to their own files, committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 08 Feb 2006 23:13:56 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/perl/common/Debug.xs	Wed Feb 08 23:13:56 2006 +0000
@@ -0,0 +1,42 @@
+#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
+
+void
+gaim_debug_misc(category, string)
+	const char *category
+	const char *string
+
+void
+gaim_debug_info(category, string)
+	const char *category
+	const char *string
+
+void
+gaim_debug_warning(category, string)
+	const char *category
+	const char *string
+
+void
+gaim_debug_error(category, string)
+	const char *category
+	const char *string
+
+void
+gaim_debug_fatal(category, string)
+	const char *category
+	const char *string
+
+void
+gaim_debug_set_enabled(enabled)
+	gboolean enabled
+
+gboolean
+gaim_debug_is_enabled()