view plugins/perl/common/Stringref.xs @ 12059:7bef0fa7d4aa

[gaim-migrate @ 14354] The previous commit didn't work because wb.{c,h} were not added to the SILC sources in Makefile.am; this fixes SILC whiteboard so it actually compiles. Oops. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sat, 12 Nov 2005 23:11:23 +0000
parents b284c703d398
children 6fd82071a7b8
line wrap: on
line source

#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(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