93702e032dfb1ee74076f47d54708280d565c542
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_object.cc
1 // Copyright (C) 2012 Intel Corporation. All rights reserved.
2 // Copyright 2014 Samsung Electronics. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5
6 #include "ewk_object.h"
7 #include "private/ewk_object_private.h"
8 #include "private/ewk_private.h"
9
10 Ewk_Object* ewk_object_ref(Ewk_Object* object)
11 {
12     EINA_SAFETY_ON_NULL_RETURN_VAL(object, 0);
13     object->AddRef();
14
15     return object;
16 }
17
18 void ewk_object_unref(Ewk_Object* object)
19 {
20     EINA_SAFETY_ON_NULL_RETURN(object);
21
22     object->Release();
23 }