view libpurple/plugins/perl/common/Stringref.xs @ 16200:470caa5fe675

Fix Ticket #162 "On AIM, the default smiley theme does not display the image for :-), only :) This is confirmed in default/theme, but almost all other AIM smileys have both ?? and ?-?."
author Richard Laager <rlaager@wiktel.com>
date Mon, 16 Apr 2007 03:37:48 +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