view plugins/perl/common/Stringref.xs @ 13515:f5d4300aeed8

[gaim-migrate @ 15891] Fix sf bug #1443092, Events logging not working properly? "signed on" and "signed off" for people in your buddy list are now correctly logged to the system log. Richard, someone had already left a note in this function to make a change after the string freeze (I think it was you). We should still make a change after the string freeze, but the change is different now than it was before this commit. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 15 Mar 2006 04:41:44 +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