avoid incorrect symbol resolving between json-glib and json-c 38/165838/1 accepted/tizen/unified/20180104.131747 submit/tizen/20180104.084213
authorMyoungJune Park <mj2004.park@samsung.com>
Tue, 27 Oct 2015 06:10:01 +0000 (15:10 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 4 Jan 2018 08:36:07 +0000 (17:36 +0900)
Change-Id: Ieb5ce079c634a403faaba0590f1c09ab9e471ffa
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
json_object.c
json_object.h

index 6cc73bc..2de4581 100644 (file)
@@ -203,7 +203,7 @@ int json_object_is_type(struct json_object *jso, enum json_type type)
   return (jso->o_type == type);
 }
 
-enum json_type json_object_get_type(struct json_object *jso)
+enum json_type _json_object_get_type(struct json_object *jso)
 {
   if (!jso)
     return json_type_null;
index 8105fe4..1dd1cca 100644 (file)
@@ -156,7 +156,8 @@ extern int json_object_is_type(struct json_object *obj, enum json_type type);
      json_type_array,
      json_type_string,
  */
-extern enum json_type json_object_get_type(struct json_object *obj);
+#define json_object_get_type _json_object_get_type
+extern enum json_type _json_object_get_type(struct json_object *obj);
 
 
 /** Stringify object to json format.