pidgin/plugins/perl/common/GtkSound.xs

Wed, 03 Apr 2013 01:25:40 +0200

author
Andrew Victor <andrew.victor@mxit.com>
date
Wed, 03 Apr 2013 01:25:40 +0200
branch
release-2.x.y
changeset 33847
7cd76ebbe8d1
parent 15899
75f0041f72b8
child 18068
b6554e3c8224
permissions
-rw-r--r--

MXit: Refactor dump_bytes() not to use a C99-style variable length array.

* Removes warning when compiling for InstantBird:
protocol.c:103:1: warning: ISO C90 forbids variable length array ‘request’ [-Wvla]

* Characters > 0x7E should also be treated as non-printable.

#include "gtkmodule.h"

MODULE = Pidgin::Sound  PACKAGE = Pidgin::Sound  PREFIX = pidgin_sound_
PROTOTYPES: ENABLE

const char *
pidgin_sound_get_event_option(event)
	Purple::SoundEventID event

const char *
pidgin_sound_get_event_label(event)
	Purple::SoundEventID event

Purple::Handle
pidgin_sound_get_handle()

mercurial