Mercurial > pidgin
view plugins/perl/common/ImgStore.xs @ 11290:b284c703d398
[gaim-migrate @ 13490]
Did some house cleaning on the code finished up some of the "TODO" stuff
that was left over from when I originally did the XSUBs. Furthermore,
the dynamically loaded Perl package problems should be corrected now that
the context is set before one of the concurrent perl interpreters is run.
committer: Tailor Script <tailor@pidgin.im>
author | John H. Kelm <johnkelm@gmail.com> |
---|---|
date | Thu, 18 Aug 2005 01:35:14 +0000 |
parents | 134d0001983d |
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