diff libgaim/plugins/perl/common/Stringref.xs @ 14192:60b1bc8dbf37

[gaim-migrate @ 16863] Renamed 'core' to 'libgaim' committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 19 Aug 2006 01:50:10 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgaim/plugins/perl/common/Stringref.xs	Sat Aug 19 01:50:10 2006 +0000
@@ -0,0 +1,37 @@
+#include "module.h"
+
+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(class, value)
+	const char *value
+    C_ARGS:
+	value
+
+Gaim::Stringref
+gaim_stringref_new_noref(class, value)
+	const char *value
+    C_ARGS:
+	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