libpurple/plugins/perl/common/Core.xs

Thu, 12 Feb 2009 06:00:15 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Thu, 12 Feb 2009 06:00:15 +0000
changeset 25590
5f663e07dfb7
parent 23987
3d41ccd1f8bf
permissions
-rw-r--r--

Let XS do the argument checking/erroring for us for the components argument to
Purple::Serv::join_chat, we weren't doing any before.

Closes #8199.

#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