view mcabber/mcabber/api.h @ 2223:965e0282c128

Backed out changeset fa516ef22145 Turns out that in this hash the value pointer is the same as the key pointer, so there's no need to free both the key and the value.
author Mikael Berthe <mikael@lilotux.net>
date Fri, 06 Nov 2015 22:31:40 +0100
parents 0c78d31c753d
children d703d6b42b32
line wrap: on
line source

#ifndef __MCABBER_API_H__
#define __MCABBER_API_H__ 1

#include <glib.h>
#include <mcabber/config.h> // For MCABBER_BRANCH

#define MCABBER_API_VERSION 41
#define MCABBER_API_MIN     41

#define MCABBER_BRANCH_DEV  1

// cmd_add returns gpointer id
#define MCABBER_API_HAVE_CMD_ID 1
// compl_new_category accepts flags argument
#define MCABBER_API_HAVE_COMPL_FLAGS 1

extern const gchar *mcabber_branch;
extern const guint mcabber_api_version;

#endif
/* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2:  For Vim users... */