more dealloc functions require HEIM_CALLCONV
Change-Id: I68168a387c088b45e2572d5c982d33dfe0aa38a8
This commit is contained in:
@@ -46,7 +46,7 @@ struct heim_array_data {
|
||||
heim_object_t *allocated;
|
||||
};
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
array_dealloc(heim_object_t ptr)
|
||||
{
|
||||
heim_array_t array = ptr;
|
||||
|
@@ -34,7 +34,7 @@
|
||||
#include "baselocl.h"
|
||||
#include <string.h>
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
data_dealloc(void *ptr)
|
||||
{
|
||||
heim_data_t d = ptr;
|
||||
|
@@ -84,7 +84,7 @@ static int open_file(const char *, int , int, int *, heim_error_t *);
|
||||
static int read_json(const char *, heim_object_t *, heim_error_t *);
|
||||
static struct heim_db_type json_dbt;
|
||||
|
||||
static void db_dealloc(void *ptr);
|
||||
static void HEIM_CALLCONV db_dealloc(void *ptr);
|
||||
|
||||
struct heim_type_data db_object = {
|
||||
HEIM_TID_DB,
|
||||
@@ -242,7 +242,7 @@ heim_db_register(const char *dbtype,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
db_dealloc(void *arg)
|
||||
{
|
||||
heim_db_t db = arg;
|
||||
|
@@ -47,7 +47,7 @@ struct heim_dict_data {
|
||||
struct hashentry **tab;
|
||||
};
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
dict_dealloc(void *ptr)
|
||||
{
|
||||
heim_dict_t dict = ptr;
|
||||
|
@@ -41,7 +41,7 @@ struct heim_error {
|
||||
struct heim_error *next;
|
||||
};
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
error_dealloc(void *ptr)
|
||||
{
|
||||
struct heim_error *p = ptr;
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "baselocl.h"
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
number_dealloc(void *ptr)
|
||||
{
|
||||
}
|
||||
|
@@ -156,7 +156,7 @@ struct heim_plugin {
|
||||
void *ctx;
|
||||
};
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
plugin_free(void *ptr)
|
||||
{
|
||||
struct heim_plugin *pl = ptr;
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#include "baselocl.h"
|
||||
#include <string.h>
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
string_dealloc(void *ptr)
|
||||
{
|
||||
heim_string_t s = ptr;
|
||||
|
Reference in New Issue
Block a user