diff plugins/perl/common/Stringref.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/Stringref.xs	Mon Jul 18 13:37:38 2005 +0000
@@ -0,0 +1,46 @@
+#include "module.h"
+
+/* TODO
+
+Gaim::Stringref
+gaim_stringref_printf(format, gaim_stringref_printf)
+	const char *format
+	...
+
+
+*/
+
+MODULE = Gaim::Stringref  PACKAGE = Gaim::Stringref  PREFIX = gaim_stringref_
+PROTOTYPES: ENABLE
+
+int 
+gaim_stringref_cmp(s1, s2)
+	Gaim::Stringref s1
+	Gaim::Stringref s2
+
+size_t 
+gaim_stringref_len(stringref)
+	Gaim::Stringref stringref
+
+Gaim::Stringref
+gaim_stringref_new(value)
+	const char *value
+
+Gaim::Stringref
+gaim_stringref_new_noref(value)
+	const char *value
+
+
+
+Gaim::Stringref
+gaim_stringref_ref(stringref)
+	Gaim::Stringref stringref
+
+void 
+gaim_stringref_unref(stringref)
+	Gaim::Stringref stringref
+
+const char *
+gaim_stringref_value(stringref)
+	Gaim::Stringref stringref
+