view plugins/perl/common/Stringref.xs @ 12289:d4ffa29eaa4f

[gaim-migrate @ 14593] This renames the OSCAR file transfer documentation to not contain spaces. I've had to correct a few habits to make them space-safe, but this old dog can only learn so many new tricks. Renaming these will eliminate the only spaces I ever have to deal with. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Fri, 02 Dec 2005 01:08:30 +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