Mercurial > pidgin.yaz
view plugins/perl/common/Log.xs @ 12242:976677e67239
[gaim-migrate @ 14544]
Rework the notify API close callbacks. They are now called by the core, instead of the UI. Prior to a couple days ago, they weren't actually implemented in the UI at all.
As a side note, if anyone knows why gpointer is declared as a T_GaimObj instead of a T_PTR, please let me know. That seems wrong, especially since void * is a T_PTR and gconstpointer is a T_PTR. This may or may not cause problems for the notify change (void * -> gpointer) to user_data. NOTE: I did not change this, even though I think it's wrong.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 28 Nov 2005 01:50:56 +0000 |
parents | ad976105c306 |
children | c886fc7e3f24 |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Log PACKAGE = Gaim::Log PREFIX = gaim_log_ PROTOTYPES: ENABLE int gaim_log_common_sizer(log) Gaim::Log log void gaim_log_common_writer(log, ext) Gaim::Log log const char *ext gint gaim_log_compare(y, z) gconstpointer y gconstpointer z void gaim_log_free(log) Gaim::Log log char * gaim_log_get_log_dir(type, name, account) Gaim::LogType type const char *name Gaim::Account account void gaim_log_get_log_sets() PREINIT: GHashTable *l; PPCODE: l = gaim_log_get_log_sets(); XPUSHs(sv_2mortal(gaim_perl_bless_object(l, "GHashTable"))); void gaim_log_get_logs(type, name, account) Gaim::LogType type const char *name Gaim::Account account PREINIT: GList *l; PPCODE: for (l = gaim_log_get_logs(type, name, account); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); } int gaim_log_get_size(log) Gaim::Log log void gaim_log_get_system_logs(account) Gaim::Account account PREINIT: GList *l; PPCODE: for (l = gaim_log_get_system_logs(account); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); } int gaim_log_get_total_size(type, name, account) Gaim::LogType type const char *name Gaim::Account account void gaim_log_init() void gaim_log_logger_free(logger) Gaim::Log::Logger logger void gaim_log_logger_get_options() PREINIT: GList *l; PPCODE: for (l = gaim_log_logger_get_options(); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); } char * gaim_log_read(log, flags) Gaim::Log log Gaim::Log::ReadFlags flags gint gaim_log_set_compare(y, z) gconstpointer y gconstpointer z