view libpurple/plugins/perl/common/Stringref.xs @ 16260:d465bbc0f759

merge of 'b6685c2c4de3ffbc988659fbfff2356c0835d2e3' and 'c75021df800d9d3868c01c7cefe076da60e0627f'
author Richard Laager <rlaager@wiktel.com>
date Thu, 19 Apr 2007 01:51:32 +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