libpurple/plugins/perl/common/Core.xs

Wed, 10 Feb 2010 09:04:15 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Wed, 10 Feb 2010 09:04:15 +0000
changeset 29340
1073f46cfe21
parent 23987
3d41ccd1f8bf
permissions
-rw-r--r--

Pass around a va_list instead of a pointer to a va_list. Refs #7404
This gets rid of a compile warning for me on x86_64. I don't have
an i386 box to test on, but every bit of evidence I can find tells me
that it's totally fine to pass around a va_list. We do it in status.c

If this breaks compilation for you or you get a warning from perl-handlers.c
then pleaes let me know! Or just disapprove this

#include "module.h"

MODULE = Purple::Core  PACKAGE = Purple::Core  PREFIX = purple_core_
PROTOTYPES: ENABLE

gboolean 
purple_core_quit_cb()
PPCODE:
	/* The argument to purple_core_quit_cb is not used,
	 * so there's little point in requiring it on the
	 * Perl side. */
	RETVAL = purple_core_quit_cb(NULL);
	ST(0) = boolSV(RETVAL);
	sv_2mortal(ST(0));

const char *
purple_core_get_version()

const char *
purple_core_get_ui()

mercurial