view plugins/perl/common/Stringref.xs @ 12990:798ef873a7e9

[gaim-migrate @ 15343] I need to leave for a few hours, but let's do the beta tonight. Get your last minute fixes in now. I hope to get the connection error buttons in the buddy list before releasing. I think it'll work pretty well. There's an early iteration patch at http://sourceforge.net/tracker/index.php?func=detail&aid=1408768&group_id=235&atid=300235 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 22 Jan 2006 19:52:17 +0000
parents 96f9b4798012
children
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(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