view libpurple/plugins/perl/common/Stringref.xs @ 28059:1d2425f2e4ff

Woah, this was wrong. MY BAD! We should not be setting this to true just because we get an unknown html tag (or in this case an unescaped '<'). This fixes bug #10021 and I think probably another duplicate bug
author Mark Doliner <mark@kingant.net>
date Sat, 22 Aug 2009 18:24:19 +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