view plugins/perl/common/Stringref.xs @ 11249:b4b1be482b4e

[gaim-migrate @ 13418] sf patch #1235519, from Sadrul Habib Chowdhury This is a pretty big patch that makes Gaim correctly save and restore the current status (away/available, away message, available message, invisible, etc). The GaimGtkStatusBoxWidget thing I think defaults to "Available" every time its created, which overrides the setting that was saved to the XML file. So that still needs to be fixed before this will really work. Anyway, mad props to Sadrul for putting up with my requests on this patch committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Aug 2005 05:22:09 +0000
parents 134d0001983d
children b284c703d398
line wrap: on
line source

#include "module.h"

/* TODO

Gaim::Stringref
gaim_stringref_printf(format, gaim_stringref_printf)
	const char *format
	...


*/

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