-/* Copyright (C) 2003 MORIOKA Tomohiko
+/* Copyright (C) 2003,2004,2005 MORIOKA Tomohiko
This file is part of the CHISE Library.
The CHISE Library is free software; you can redistribute it and/or
#ifndef _CHISE_H
#define _CHISE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <db.h>
#include <errno.h>
static inline char *
chise_value_data (const CHISE_Value *s)
{
- return s->data;
+ return (char *)s->data;
}
static inline char *
chise_value_to_c_string (const CHISE_Value *s)
{
- return s->data;
+ return (char *)s->data;
}
CHISE_Property_Table *table,
unsigned char *buf, size_t size);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_CHISE_H */