null+****@clear*****
null+****@clear*****
2011年 11月 10日 (木) 14:51:57 JST
Susumu Yata 2011-11-10 05:51:57 +0000 (Thu, 10 Nov 2011)
New Revision: a519997ce3ad629a87d1752b4cee2718b1c73a8c
Log:
add extern "C".
Modified files:
test/unit/lib/grn-test-utils.h
Modified: test/unit/lib/grn-test-utils.h (+7 -0)
===================================================================
--- test/unit/lib/grn-test-utils.h 2011-11-10 05:50:53 +0000 (71774dc)
+++ test/unit/lib/grn-test-utils.h 2011-11-10 05:51:57 +0000 (72a3546)
@@ -25,6 +25,10 @@
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define GRN_TEST_ENV_TABLE_PATH "GRN_TEST_TABLE_PATH"
#define GRN_TEST_ENV_TABLE_TYPE "GRN_TEST_TABLE_TYPE"
#define GRN_TEST_ENV_HASH_PATH "GRN_TEST_HASH_PATH"
@@ -97,5 +101,8 @@ gdouble grn_test_coordinate_in_degree (gint coordinate_in_mill
const gchar *grn_test_location_string (gdouble latitude_in_degree,
gdouble longitude_in_degree);
+#ifdef __cplusplus
+}
+#endif
#endif