diff plugins/perl/common/ImgStore.xs @ 11118:134d0001983d

[gaim-migrate @ 13174] Some new xsubs for the perl interpreter and a work around to get it all working again. committer: Tailor Script <tailor@pidgin.im>
author John H. Kelm <johnkelm@gmail.com>
date Mon, 18 Jul 2005 13:37:38 +0000
parents
children b284c703d398
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/perl/common/ImgStore.xs	Mon Jul 18 13:37:38 2005 +0000
@@ -0,0 +1,39 @@
+
+#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
+