ewebkit2  1.11.0
Web engine based on WebKit2 for EFL
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
ewk_object.h File Reference

Describes the Ewk Ref Counted API. More...

#include <Eina.h>

Go to the source code of this file.

Typedefs

typedef struct EwkObject Ewk_Object
 

Functions

EAPI Ewk_Objectewk_object_ref (Ewk_Object *object)
 
EAPI void ewk_object_unref (Ewk_Object *object)
 

Detailed Description

Describes the Ewk Ref Counted API.

Typedef Documentation

typedef struct EwkObject Ewk_Object

Creates a type name for Ewk_Object

Function Documentation

EAPI Ewk_Object* ewk_object_ref ( Ewk_Object object)

Increases the reference count of the given Ewk_Object.

Parameters
objectthe Ewk_Object instance to increase the reference count
Returns
a pointer to the object on success, NULL otherwise.
EAPI void ewk_object_unref ( Ewk_Object object)

Decreases the reference count of the given Ewk_Object, possibly freeing it.

When the reference count reaches 0, the item is freed.

Parameters
objectthe Ewk_Object instance to decrease the reference count