Mercurial > pidgin.yaz
view plugins/perl/common/ImgStore.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 | b284c703d398 |
children |
line wrap: on
line source
#include "module.h" MODULE = Gaim::ImgStore PACKAGE = Gaim::ImgStore PREFIX = gaim_imgstore_ PROTOTYPES: ENABLE int gaim_imgstore_add(data, size, filename) void *data size_t size const char *filename Gaim::StoredImage gaim_imgstore_get(id) int id gpointer gaim_imgstore_get_data(i) Gaim::StoredImage i const char * gaim_imgstore_get_filename(i) Gaim::StoredImage i size_t gaim_imgstore_get_size(i) Gaim::StoredImage i void gaim_imgstore_ref(id) int id void gaim_imgstore_unref(id) int id