libpurple/plugins/perl/common/Core.xs

Wed, 26 Jun 2013 03:08:58 +0530

author
Ankit Vani <a@nevitus.org>
date
Wed, 26 Jun 2013 03:08:58 +0530
branch
soc.2013.gobjectification
changeset 34646
e7f4631e93f7
parent 23987
3d41ccd1f8bf
permissions
-rw-r--r--

Begun adding GObject code to conversation sources

#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