view libgaim/plugins/perl/common/Debug.xs @ 15195:ee79c2c1b5ac

[gaim-migrate @ 17984] Jonathan Brossard found some minor flaws in our perl API... basically perl scripts that used the gaim_debug() functions previously had to escape '%' to get it to not behave wonkily. That should no longer be necessary after this change. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 13 Dec 2006 10:46:44 +0000
parents 60b1bc8dbf37
children
line wrap: on
line source

#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()