view 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 source

#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