plugins/perl/common/Stringref.xs

Mon, 31 Oct 2005 05:40:35 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 31 Oct 2005 05:40:35 +0000
changeset 11924
a42748d67df3
parent 11290
136722ebf145
child 12364
42b44fed7423
permissions
-rw-r--r--

[gaim-migrate @ 14215]
This seems to fix a crash for me when going offline --> online --> offline
--> online with an AIM account.

See the backtrace at http://nosnilmot.com/nopaste/296

#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(value)
	const char *value

Gaim::Stringref
gaim_stringref_new_noref(value)
	const char *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

mercurial