Maps Deadlock Issue Fix
[platform/core/location/maps-plugin-here.git] / src / here_utils.cpp
index 8e9275e..e209fb8 100644 (file)
@@ -111,6 +111,13 @@ const char* ConvertMapsErrorToChar(int nErr)
        }
        return "MAPS_ERROR_UNKNOWN";
 }
+
+int GetMapsItemListLength(maps_item_list_h list)
+{
+       int length = 0;
+       maps_item_list_get_length(list, &length);
+       return length;
+}
 }