libpurple/plugins/perl/common/Core.xs

Sat, 29 Jun 2013 23:05:41 +0530

author
Ankit Vani <a@nevitus.org>
date
Sat, 29 Jun 2013 23:05:41 +0530
branch
soc.2013.gobjectification
changeset 34680
f39c64847a3d
parent 23987
3d41ccd1f8bf
permissions
-rw-r--r--

Move ui_data to the object struct and remove getters and setters. It will be used as UI pleases.
Added ui_data field to the following structs:
- PurpleAccount
- PurpleConversation
- PurpleChatUser

#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