view libpurple/plugins/perl/common/Stringref.xs @ 23969:4ecea8ae3d21

merge of '3c1dec61837db8f0f51fc35f7ca26ff948a4e4f4' and 'd03f77d92751b3104fa7f211c86084c46a8679b7'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 26 Aug 2008 04:08:22 +0000
parents 2f8274ce570a
children
line wrap: on
line source

#include "module.h"

MODULE = Purple::Stringref  PACKAGE = Purple::Stringref  PREFIX = purple_stringref_
PROTOTYPES: ENABLE

int
purple_stringref_cmp(s1, s2)
	Purple::Stringref s1
	Purple::Stringref s2

size_t
purple_stringref_len(stringref)
	Purple::Stringref stringref

Purple::Stringref
purple_stringref_new(class, value)
	const char *value
    C_ARGS:
	value

Purple::Stringref
purple_stringref_new_noref(class, value)
	const char *value
    C_ARGS:
	value

Purple::Stringref
purple_stringref_ref(stringref)
	Purple::Stringref stringref

void
purple_stringref_unref(stringref)
	Purple::Stringref stringref

const char *
purple_stringref_value(stringref)
	Purple::Stringref stringref