view libpurple/plugins/perl/common/Stringref.xs @ 15543:cb6bb41291c8

merge of '600cfd77bdb8554e712ba04da84518976cd80b86' and '79f63e67c9df036c4f97bc50b13b4bbf90c7b0bc'
author Sean Egan <seanegan@gmail.com>
date Sun, 04 Feb 2007 09:51:11 +0000
parents 5fe8042783c1
children 2f8274ce570a
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