Mercurial > pidgin
view plugins/perl/common/Debug.xs @ 13895:8f910263b4bb
[gaim-migrate @ 16380]
Merge SVN revision #16379 from v2_0_0 to trunk
Original commit message (by LSchiere):
iwkse in #gaim brought it to my attention that the example code in the C Plugin
Howto won't compile. It won't compile because GAIM_WEBSITE is defined in internal.h, which we don't want plugin authors including, and which isn't included in
the sample code.
I decided it would be a good thing if the example code compiled, so I changed it.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Fri, 30 Jun 2006 16:23:56 +0000 |
| parents | 60b863ecd89b |
| 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 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()
