Mercurial > pidgin
view libgaim/plugins/perl/common/ImgStore.xs @ 14364:338ac096e322
[gaim-migrate @ 17070]
Disabled GTK+ components of the Perl plugin (we'll no longer support gtk-perl prefs frames until this is refactored into a gtkgaim plugin somehow).
Fix gaim_util_fetch_url and plug some leaks.
I haven't successfully tested gaim_util_fetch_url from perl yet - it doesn't seem to actually pass the retrieved text to the plugin sub correctly yet.
The syntax for calling gaim_util_fetch_url() from perl is also funky and should be made more consistent to the C function.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 28 Aug 2006 20:27:03 +0000 |
parents | 60b1bc8dbf37 |
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