/* Generated by Cython 0.22.1 */

/* BEGIN: Cython Metadata
{
    "distutils": {
        "depends": [], 
        "extra_compile_args": [
            "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include", 
            "-I/usr/include/glib-2.0", 
            "-I/usr/local/include/efl-1", 
            "-I/usr/local/include/eina-1", 
            "-I/usr/local/include/eet-1", 
            "-I/usr/local/include/emile-1", 
            "-I/usr/local/include/eo-1", 
            "-I/usr/local/include/eina-1/eina", 
            "-pthread", 
            "-I/usr/local/include/ecore-1", 
            "-I/usr/local/include/ecore-con-1", 
            "-I/usr/local/include/ecore-file-1"
        ], 
        "extra_link_args": [
            "-L/usr/local/lib", 
            "-lecore", 
            "-L/usr/local/lib", 
            "-lecore_file", 
            "-L/usr/local/lib", 
            "-lecore_con", 
            "-L/usr/local/lib", 
            "-leina", 
            "-lpthread"
        ], 
        "include_dirs": [
            "include/"
        ]
    }
}
END: Cython Metadata */

#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 1
#else
#define CYTHON_USE_PYLONG_INTERNALS 0
#endif
#endif
#endif
#include "Python.h"
#ifndef Py_PYTHON_H
    #error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
    #error Cython requires Python 2.6+ or Python 3.2+.
#else
#define CYTHON_ABI "0_22_1"
#include <stddef.h>
#ifndef offsetof
#define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
#endif
#if !defined(WIN32) && !defined(MS_WINDOWS)
  #ifndef __stdcall
    #define __stdcall
  #endif
  #ifndef __cdecl
    #define __cdecl
  #endif
  #ifndef __fastcall
    #define __fastcall
  #endif
#endif
#ifndef DL_IMPORT
  #define DL_IMPORT(t) t
#endif
#ifndef DL_EXPORT
  #define DL_EXPORT(t) t
#endif
#ifndef PY_LONG_LONG
  #define PY_LONG_LONG LONG_LONG
#endif
#ifndef Py_HUGE_VAL
  #define Py_HUGE_VAL HUGE_VAL
#endif
#ifdef PYPY_VERSION
#define CYTHON_COMPILING_IN_PYPY 1
#define CYTHON_COMPILING_IN_CPYTHON 0
#else
#define CYTHON_COMPILING_IN_PYPY 0
#define CYTHON_COMPILING_IN_CPYTHON 1
#endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
#define Py_OptimizeFlag 0
#endif
#define __PYX_BUILD_PY_SSIZE_T "n"
#define CYTHON_FORMAT_SSIZE_T "z"
#if PY_MAJOR_VERSION < 3
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
          PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyClass_Type
#else
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
          PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyType_Type
#endif
#ifndef Py_TPFLAGS_CHECKTYPES
  #define Py_TPFLAGS_CHECKTYPES 0
#endif
#ifndef Py_TPFLAGS_HAVE_INDEX
  #define Py_TPFLAGS_HAVE_INDEX 0
#endif
#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#ifndef Py_TPFLAGS_HAVE_FINALIZE
  #define Py_TPFLAGS_HAVE_FINALIZE 0
#endif
#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
  #define CYTHON_PEP393_ENABLED 1
  #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ? \
                                              0 : _PyUnicode_Ready((PyObject *)(op)))
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
  #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
  #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
  #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
#else
  #define CYTHON_PEP393_ENABLED 0
  #define __Pyx_PyUnicode_READY(op)       (0)
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
  #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
  #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
  #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
#endif
#if CYTHON_COMPILING_IN_PYPY
  #define __Pyx_PyUnicode_Concat(a, b)      PyNumber_Add(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  PyNumber_Add(a, b)
  #define __Pyx_PyFrozenSet_Size(s)         PyObject_Size(s)
#else
  #define __Pyx_PyUnicode_Concat(a, b)      PyUnicode_Concat(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ? \
      PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
  #define __Pyx_PyFrozenSet_Size(s)         PySet_Size(s)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
  #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
#endif
#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyString_Format(a, b)  PyUnicode_Format(a, b)
#else
  #define __Pyx_PyString_Format(a, b)  PyString_Format(a, b)
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBaseString_Type            PyUnicode_Type
  #define PyStringObject               PyUnicodeObject
  #define PyString_Type                PyUnicode_Type
  #define PyString_Check               PyUnicode_Check
  #define PyString_CheckExact          PyUnicode_CheckExact
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
  #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
#else
  #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
  #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
#endif
#ifndef PySet_CheckExact
  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
#endif
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
#if PY_MAJOR_VERSION >= 3
  #define PyIntObject                  PyLongObject
  #define PyInt_Type                   PyLong_Type
  #define PyInt_Check(op)              PyLong_Check(op)
  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
  #define PyInt_FromString             PyLong_FromString
  #define PyInt_FromUnicode            PyLong_FromUnicode
  #define PyInt_FromLong               PyLong_FromLong
  #define PyInt_FromSize_t             PyLong_FromSize_t
  #define PyInt_FromSsize_t            PyLong_FromSsize_t
  #define PyInt_AsLong                 PyLong_AsLong
  #define PyInt_AS_LONG                PyLong_AS_LONG
  #define PyInt_AsSsize_t              PyLong_AsSsize_t
  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
  #define PyNumber_Int                 PyNumber_Long
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBoolObject                 PyLongObject
#endif
#if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
  #ifndef PyUnicode_InternFromString
    #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
  #endif
#endif
#if PY_VERSION_HEX < 0x030200A4
  typedef long Py_hash_t;
  #define __Pyx_PyInt_FromHash_t PyInt_FromLong
  #define __Pyx_PyInt_AsHash_t   PyInt_AsLong
#else
  #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
#else
  #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
#endif
#ifndef CYTHON_INLINE
  #if defined(__GNUC__)
    #define CYTHON_INLINE __inline__
  #elif defined(_MSC_VER)
    #define CYTHON_INLINE __inline
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_INLINE inline
  #else
    #define CYTHON_INLINE
  #endif
#endif
#ifndef CYTHON_RESTRICT
  #if defined(__GNUC__)
    #define CYTHON_RESTRICT __restrict__
  #elif defined(_MSC_VER) && _MSC_VER >= 1400
    #define CYTHON_RESTRICT __restrict
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_RESTRICT restrict
  #else
    #define CYTHON_RESTRICT
  #endif
#endif
#ifdef NAN
#define __PYX_NAN() ((float) NAN)
#else
static CYTHON_INLINE float __PYX_NAN() {
  /* Initialize NaN. The sign is irrelevant, an exponent with all bits 1 and
   a nonzero mantissa means NaN. If the first bit in the mantissa is 1, it is
   a quiet NaN. */
  float value;
  memset(&value, 0xFF, sizeof(value));
  return value;
}
#endif
#define __Pyx_void_to_None(void_result) (void_result, Py_INCREF(Py_None), Py_None)
#ifdef __cplusplus
template<typename T>
void __Pyx_call_destructor(T* x) {
    x->~T();
}
template<typename T>
class __Pyx_FakeReference {
  public:
    __Pyx_FakeReference() : ptr(NULL) { }
    __Pyx_FakeReference(T& ref) : ptr(&ref) { }
    T *operator->() { return ptr; }
    operator T&() { return *ptr; }
  private:
    T *ptr;
};
#endif


#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
#else
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
#endif

#ifndef __PYX_EXTERN_C
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

#if defined(WIN32) || defined(MS_WINDOWS)
#define _USE_MATH_DEFINES
#endif
#include <math.h>
#define __PYX_HAVE__efl__ecore_con
#define __PYX_HAVE_API__efl__ecore_con
#include "string.h"
#include "stdio.h"
#include "pythread.h"
#include "time.h"
#include "Eina.h"
#include "Eo.h"
#include "Ecore.h"
#include "Ecore_File.h"
#include "Ecore_Con.h"
#include "stdint.h"
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */

#ifdef PYREX_WITHOUT_ASSERTIONS
#define CYTHON_WITHOUT_ASSERTIONS
#endif

#ifndef CYTHON_UNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define CYTHON_UNUSED __attribute__ ((__unused__))
#   else
#     define CYTHON_UNUSED
#   endif
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
#   define CYTHON_UNUSED __attribute__ ((__unused__))
# else
#   define CYTHON_UNUSED
# endif
#endif
#ifndef CYTHON_NCP_UNUSED
# if CYTHON_COMPILING_IN_CPYTHON
#  define CYTHON_NCP_UNUSED
# else
#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
# endif
#endif
typedef struct {PyObject **p; char *s; const Py_ssize_t n; const char* encoding;
                const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;

#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT 0
#define __PYX_DEFAULT_STRING_ENCODING ""
#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#define __Pyx_fits_Py_ssize_t(v, type, is_signed)  (    \
    (sizeof(type) < sizeof(Py_ssize_t))  ||             \
    (sizeof(type) > sizeof(Py_ssize_t) &&               \
          likely(v < (type)PY_SSIZE_T_MAX ||            \
                 v == (type)PY_SSIZE_T_MAX)  &&         \
          (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||       \
                                v == (type)PY_SSIZE_T_MIN)))  ||  \
    (sizeof(type) == sizeof(Py_ssize_t) &&              \
          (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||        \
                               v == (type)PY_SSIZE_T_MAX)))  )
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
#define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
#define __Pyx_PyBytes_FromString        PyBytes_FromString
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
#if PY_MAJOR_VERSION < 3
    #define __Pyx_PyStr_FromString        __Pyx_PyBytes_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#else
    #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
#endif
#define __Pyx_PyObject_AsSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_FromCString(s)  __Pyx_PyObject_FromString((const char*)s)
#define __Pyx_PyBytes_FromCString(s)   __Pyx_PyBytes_FromString((const char*)s)
#define __Pyx_PyByteArray_FromCString(s)   __Pyx_PyByteArray_FromString((const char*)s)
#define __Pyx_PyStr_FromCString(s)     __Pyx_PyStr_FromString((const char*)s)
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
#if PY_MAJOR_VERSION < 3
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
{
    const Py_UNICODE *u_end = u;
    while (*u_end++) ;
    return (size_t)(u_end - u - 1);
}
#else
#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
#endif
#define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
#define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
#define __Pyx_Owned_Py_None(b) (Py_INCREF(Py_None), Py_None)
#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
#if CYTHON_COMPILING_IN_CPYTHON
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
#else
#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
#endif
#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
static int __Pyx_sys_getdefaultencoding_not_ascii;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    PyObject* ascii_chars_u = NULL;
    PyObject* ascii_chars_b = NULL;
    const char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    if (strcmp(default_encoding_c, "ascii") == 0) {
        __Pyx_sys_getdefaultencoding_not_ascii = 0;
    } else {
        char ascii_chars[128];
        int c;
        for (c = 0; c < 128; c++) {
            ascii_chars[c] = c;
        }
        __Pyx_sys_getdefaultencoding_not_ascii = 1;
        ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
        if (!ascii_chars_u) goto bad;
        ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
        if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
            PyErr_Format(
                PyExc_ValueError,
                "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
                default_encoding_c);
            goto bad;
        }
        Py_DECREF(ascii_chars_u);
        Py_DECREF(ascii_chars_b);
    }
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    Py_XDECREF(ascii_chars_u);
    Py_XDECREF(ascii_chars_b);
    return -1;
}
#endif
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
#else
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
static char* __PYX_DEFAULT_STRING_ENCODING;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c));
    if (!__PYX_DEFAULT_STRING_ENCODING) goto bad;
    strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    return -1;
}
#endif
#endif


/* Test for GCC > 2.95 */
#if defined(__GNUC__)     && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
  #define likely(x)   __builtin_expect(!!(x), 1)
  #define unlikely(x) __builtin_expect(!!(x), 0)
#else /* !__GNUC__ or GCC < 2.95 */
  #define likely(x)   (x)
  #define unlikely(x) (x)
#endif /* __GNUC__ */

static PyObject *__pyx_m;
static PyObject *__pyx_d;
static PyObject *__pyx_b;
static PyObject *__pyx_empty_tuple;
static PyObject *__pyx_empty_bytes;
static int __pyx_lineno;
static int __pyx_clineno = 0;
static const char * __pyx_cfilenm= __FILE__;
static const char *__pyx_filename;


static const char *__pyx_f[] = {
  "efl/ecore_con/efl.ecore_con.pyx",
  "efl/ecore_con/efl.ecore_con_lookup.pxi",
  "efl/ecore_con/efl.ecore_con_url.pxi",
  "efl/ecore_con/efl.ecore_con.pxd",
  "include/efl.eo.pxd",
  "type.pxd",
  "bool.pxd",
  "complex.pxd",
  "include/efl.ecore.pxd",
};

/*--- Type declarations ---*/
struct __pyx_obj_3efl_2eo_Eo;
struct __pyx_obj_3efl_2eo_EoIterator;
struct __pyx_obj_3efl_5ecore_Timer;
struct __pyx_obj_3efl_5ecore_Animator;
struct __pyx_obj_3efl_5ecore_Poller;
struct __pyx_obj_3efl_5ecore_Idler;
struct __pyx_obj_3efl_5ecore_IdleEnterer;
struct __pyx_obj_3efl_5ecore_IdleExiter;
struct __pyx_obj_3efl_5ecore_FdHandler;
struct __pyx_obj_3efl_5ecore_Exe;
struct __pyx_obj_3efl_5ecore_ExeEventFilter;
struct __pyx_obj_3efl_5ecore_EventHandler;
struct __pyx_obj_3efl_5ecore_Event;
struct __pyx_obj_3efl_5ecore_EventSignalUser;
struct __pyx_obj_3efl_5ecore_EventSignalHup;
struct __pyx_obj_3efl_5ecore_EventSignalExit;
struct __pyx_obj_3efl_5ecore_EventSignalPower;
struct __pyx_obj_3efl_5ecore_CustomEvent;
struct __pyx_obj_3efl_5ecore_QueuedEvent;
struct __pyx_obj_3efl_5ecore_EventExeAdd;
struct __pyx_obj_3efl_5ecore_EventExeDel;
struct __pyx_obj_3efl_5ecore_EventExeData;
struct __pyx_obj_3efl_5ecore_FileDownload;
struct __pyx_obj_3efl_5ecore_FileMonitor;
struct __pyx_obj_3efl_9ecore_con_Url;
struct __pyx_obj_3efl_9ecore_con_Lookup;
struct __pyx_obj_3efl_9ecore_con_EventUrlComplete;
struct __pyx_obj_3efl_9ecore_con_EventUrlProgress;
struct __pyx_obj_3efl_9ecore_con_EventUrlData;
struct __pyx_obj_3efl_9ecore_con_ConEventFilter;

/* "include/efl.eo.pxd":22
 * 
 * cdef:
 *     class Eo(object):             # <<<<<<<<<<<<<<
 *         cdef:
 *             cEo *obj
 */
struct __pyx_obj_3efl_2eo_Eo {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_2eo_Eo *__pyx_vtab;
  Eo *obj;
  PyObject *data;
  PyObject *internal_data;
};


/* "include/efl.eo.pxd":32
 *             #_add_obj(self, Eo_Class *klass, cEo *parent)
 * 
 *     class EoIterator:             # <<<<<<<<<<<<<<
 *         cdef Eina_Iterator *itr
 *         @staticmethod
 */
struct __pyx_obj_3efl_2eo_EoIterator {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_2eo_EoIterator *__pyx_vtab;
  Eina_Iterator *itr;
};


/* "include/efl.ecore.pxd":299
 * # Python classes
 * #
 * cdef class Timer(Eo):             # <<<<<<<<<<<<<<
 *     cdef double _interval
 *     cdef readonly object func, args, kargs
 */
struct __pyx_obj_3efl_5ecore_Timer {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  double _interval;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":305
 * 
 * 
 * cdef class Animator(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */
struct __pyx_obj_3efl_5ecore_Animator {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":312
 * 
 * 
 * cdef class Poller(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */
struct __pyx_obj_3efl_5ecore_Poller {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":319
 * 
 * 
 * cdef class Idler(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func, args, kargs
 *     cpdef bint _task_exec(self) except *
 */
struct __pyx_obj_3efl_5ecore_Idler {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":324
 * 
 * 
 * cdef class IdleEnterer(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_IdleEnterer {
  struct __pyx_obj_3efl_5ecore_Idler __pyx_base;
};


/* "include/efl.ecore.pxd":328
 * 
 * 
 * cdef class IdleExiter(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_IdleExiter {
  struct __pyx_obj_3efl_5ecore_Idler __pyx_base;
};


/* "include/efl.ecore.pxd":332
 * 
 * 
 * cdef class FdHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Fd_Handler *obj
 *     cdef readonly object func
 */
struct __pyx_obj_3efl_5ecore_FdHandler {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_FdHandler *__pyx_vtab;
  Ecore_Fd_Handler *obj;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
  PyObject *_prepare_callback;
};


/* "include/efl.ecore.pxd":342
 * 
 * 
 * cdef class Exe(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Exe *exe
 *     cdef readonly object __data
 */
struct __pyx_obj_3efl_5ecore_Exe {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_Exe *__pyx_vtab;
  Ecore_Exe *exe;
  PyObject *__data;
  PyObject *__pyx___callbacks;
};


/* "include/efl.ecore.pxd":351
 * 
 * 
 * cdef class ExeEventFilter(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Exe *exe
 *     cdef Ecore_Event_Handler *handler
 */
struct __pyx_obj_3efl_5ecore_ExeEventFilter {
  PyObject_HEAD
  Ecore_Exe *exe;
  Ecore_Event_Handler *handler;
  PyObject *owner;
  int event_type;
  PyObject *callbacks;
};


/* "include/efl.ecore.pxd":359
 * 
 * 
 * cdef class EventHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event_Handler *obj
 *     cdef readonly int type
 */
struct __pyx_obj_3efl_5ecore_EventHandler {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_EventHandler *__pyx_vtab;
  Ecore_Event_Handler *obj;
  int type;
  PyObject *event_cls;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":372
 * 
 * 
 * cdef class Event(object):             # <<<<<<<<<<<<<<
 *     cdef int _set_obj(self, void *obj) except 0
 *     cdef object _get_obj(self)
 */
struct __pyx_obj_3efl_5ecore_Event {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_Event *__pyx_vtab;
};


/* "include/efl.ecore.pxd":377
 * 
 * 
 * cdef class EventSignalUser(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object number
 * 
 */
struct __pyx_obj_3efl_5ecore_EventSignalUser {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *number;
};


/* "include/efl.ecore.pxd":381
 * 
 * 
 * cdef class EventSignalHup(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_EventSignalHup {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
};


/* "include/efl.ecore.pxd":385
 * 
 * 
 * cdef class EventSignalExit(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object interrupt
 *     cdef readonly object quit
 */
struct __pyx_obj_3efl_5ecore_EventSignalExit {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *interrupt;
  PyObject *quit;
  PyObject *terminate;
};


/* "include/efl.ecore.pxd":391
 * 
 * 
 * cdef class EventSignalPower(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_EventSignalPower {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
};


/* "include/efl.ecore.pxd":395
 * 
 * 
 * cdef class CustomEvent(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object obj
 * 
 */
struct __pyx_obj_3efl_5ecore_CustomEvent {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *obj;
};


/* "include/efl.ecore.pxd":399
 * 
 * 
 * cdef class QueuedEvent:             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event *obj
 *     cdef readonly object args
 */
struct __pyx_obj_3efl_5ecore_QueuedEvent {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent *__pyx_vtab;
  Ecore_Event *obj;
  PyObject *args;
};


/* "include/efl.ecore.pxd":407
 * 
 * 
 * cdef class EventExeAdd(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 * 
 */
struct __pyx_obj_3efl_5ecore_EventExeAdd {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *exe;
};


/* "include/efl.ecore.pxd":411
 * 
 * 
 * cdef class EventExeDel(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object pid
 */
struct __pyx_obj_3efl_5ecore_EventExeDel {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *exe;
  PyObject *pid;
  PyObject *exit_code;
  PyObject *exit_signal;
  PyObject *exited;
  PyObject *signalled;
};


/* "include/efl.ecore.pxd":420
 * 
 * 
 * cdef class EventExeData(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object data
 */
struct __pyx_obj_3efl_5ecore_EventExeData {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *exe;
  PyObject *data;
  PyObject *size;
  PyObject *lines;
};


/* "include/efl.ecore.pxd":427
 * 
 * 
 * cdef class FileDownload:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Download_Job *job
 *     cdef readonly object completion_cb
 */
struct __pyx_obj_3efl_5ecore_FileDownload {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_FileDownload *__pyx_vtab;
  Ecore_File_Download_Job *job;
  PyObject *completion_cb;
  PyObject *progress_cb;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":440
 * 
 * 
 * cdef class FileMonitor:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Monitor *mon
 *     cdef readonly object monitor_cb
 */
struct __pyx_obj_3efl_5ecore_FileMonitor {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_FileMonitor *__pyx_vtab;
  Ecore_File_Monitor *mon;
  PyObject *monitor_cb;
  PyObject *args;
  PyObject *kargs;
};


/* "efl/ecore_con/efl.ecore_con.pxd":147
 * 
 * 
 * cdef class Url(Eo):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_9ecore_con_Url {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
};


/* "efl/ecore_con/efl.ecore_con.pxd":150
 *     pass
 * 
 * cdef class Lookup(object):             # <<<<<<<<<<<<<<
 *     cdef object done_cb
 *     cdef tuple args
 */
struct __pyx_obj_3efl_9ecore_con_Lookup {
  PyObject_HEAD
  PyObject *done_cb;
  PyObject *args;
  PyObject *kargs;
};


/* "efl/ecore_con/efl.ecore_con.pxd":155
 *     cdef dict kargs
 * 
 * cdef class EventUrlComplete(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly Url url
 *     cdef readonly int status
 */
struct __pyx_obj_3efl_9ecore_con_EventUrlComplete {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  struct __pyx_obj_3efl_9ecore_con_Url *url;
  int status;
};


/* "efl/ecore_con/efl.ecore_con.pxd":160
 * 
 * 
 * cdef class EventUrlProgress(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly Url url
 *     cdef readonly double down_total
 */
struct __pyx_obj_3efl_9ecore_con_EventUrlProgress {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  struct __pyx_obj_3efl_9ecore_con_Url *url;
  double down_total;
  double down_now;
  double up_total;
  double up_now;
};


/* "efl/ecore_con/efl.ecore_con.pxd":168
 * 
 * 
 * cdef class EventUrlData(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly Url url
 *     cdef readonly int size
 */
struct __pyx_obj_3efl_9ecore_con_EventUrlData {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  struct __pyx_obj_3efl_9ecore_con_Url *url;
  int size;
  PyObject *data;
};


/* "efl/ecore_con/efl.ecore_con.pxd":174
 * 
 * 
 * cdef class ConEventFilter(object):             # <<<<<<<<<<<<<<
 *     cdef dict callbacks
 *     cdef dict handlers
 */
struct __pyx_obj_3efl_9ecore_con_ConEventFilter {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *__pyx_vtab;
  PyObject *callbacks;
  PyObject *handlers;
};



/* "include/efl.eo.pxd":22
 * 
 * cdef:
 *     class Eo(object):             # <<<<<<<<<<<<<<
 *         cdef:
 *             cEo *obj
 */

struct __pyx_vtabstruct_3efl_2eo_Eo {
  int (*_set_obj)(struct __pyx_obj_3efl_2eo_Eo *, Eo *);
  int (*_set_properties_from_keyword_args)(struct __pyx_obj_3efl_2eo_Eo *, PyObject *);
};
static struct __pyx_vtabstruct_3efl_2eo_Eo *__pyx_vtabptr_3efl_2eo_Eo;


/* "include/efl.eo.pxd":32
 *             #_add_obj(self, Eo_Class *klass, cEo *parent)
 * 
 *     class EoIterator:             # <<<<<<<<<<<<<<
 *         cdef Eina_Iterator *itr
 *         @staticmethod
 */

struct __pyx_vtabstruct_3efl_2eo_EoIterator {
  PyObject *(*create)(Eina_Iterator *);
};
static struct __pyx_vtabstruct_3efl_2eo_EoIterator *__pyx_vtabptr_3efl_2eo_EoIterator;
static CYTHON_INLINE PyObject *__pyx_f_3efl_2eo_10EoIterator_create(Eina_Iterator *);


/* "include/efl.ecore.pxd":299
 * # Python classes
 * #
 * cdef class Timer(Eo):             # <<<<<<<<<<<<<<
 *     cdef double _interval
 *     cdef readonly object func, args, kargs
 */

struct __pyx_vtabstruct_3efl_5ecore_Timer {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Timer *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Timer *__pyx_vtabptr_3efl_5ecore_Timer;


/* "include/efl.ecore.pxd":305
 * 
 * 
 * cdef class Animator(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */

struct __pyx_vtabstruct_3efl_5ecore_Animator {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Animator *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Animator *__pyx_vtabptr_3efl_5ecore_Animator;


/* "include/efl.ecore.pxd":312
 * 
 * 
 * cdef class Poller(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */

struct __pyx_vtabstruct_3efl_5ecore_Poller {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Poller *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Poller *__pyx_vtabptr_3efl_5ecore_Poller;


/* "include/efl.ecore.pxd":319
 * 
 * 
 * cdef class Idler(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func, args, kargs
 *     cpdef bint _task_exec(self) except *
 */

struct __pyx_vtabstruct_3efl_5ecore_Idler {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Idler *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Idler *__pyx_vtabptr_3efl_5ecore_Idler;


/* "include/efl.ecore.pxd":324
 * 
 * 
 * cdef class IdleEnterer(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_IdleEnterer {
  struct __pyx_vtabstruct_3efl_5ecore_Idler __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_IdleEnterer *__pyx_vtabptr_3efl_5ecore_IdleEnterer;


/* "include/efl.ecore.pxd":328
 * 
 * 
 * cdef class IdleExiter(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_IdleExiter {
  struct __pyx_vtabstruct_3efl_5ecore_Idler __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_IdleExiter *__pyx_vtabptr_3efl_5ecore_IdleExiter;


/* "include/efl.ecore.pxd":332
 * 
 * 
 * cdef class FdHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Fd_Handler *obj
 *     cdef readonly object func
 */

struct __pyx_vtabstruct_3efl_5ecore_FdHandler {
  PyObject *(*_exec)(struct __pyx_obj_3efl_5ecore_FdHandler *);
};
static struct __pyx_vtabstruct_3efl_5ecore_FdHandler *__pyx_vtabptr_3efl_5ecore_FdHandler;


/* "include/efl.ecore.pxd":342
 * 
 * 
 * cdef class Exe(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Exe *exe
 *     cdef readonly object __data
 */

struct __pyx_vtabstruct_3efl_5ecore_Exe {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_Exe *, char *, int);
  int (*_unset_obj)(struct __pyx_obj_3efl_5ecore_Exe *);
};
static struct __pyx_vtabstruct_3efl_5ecore_Exe *__pyx_vtabptr_3efl_5ecore_Exe;


/* "include/efl.ecore.pxd":359
 * 
 * 
 * cdef class EventHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event_Handler *obj
 *     cdef readonly int type
 */

struct __pyx_vtabstruct_3efl_5ecore_EventHandler {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_EventHandler *, Ecore_Event_Handler *);
  int (*_unset_obj)(struct __pyx_obj_3efl_5ecore_EventHandler *);
  Eina_Bool (*_exec)(struct __pyx_obj_3efl_5ecore_EventHandler *, void *);
};
static struct __pyx_vtabstruct_3efl_5ecore_EventHandler *__pyx_vtabptr_3efl_5ecore_EventHandler;


/* "include/efl.ecore.pxd":372
 * 
 * 
 * cdef class Event(object):             # <<<<<<<<<<<<<<
 *     cdef int _set_obj(self, void *obj) except 0
 *     cdef object _get_obj(self)
 */

struct __pyx_vtabstruct_3efl_5ecore_Event {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_Event *, void *);
  PyObject *(*_get_obj)(struct __pyx_obj_3efl_5ecore_Event *);
};
static struct __pyx_vtabstruct_3efl_5ecore_Event *__pyx_vtabptr_3efl_5ecore_Event;


/* "include/efl.ecore.pxd":377
 * 
 * 
 * cdef class EventSignalUser(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object number
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalUser {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalUser *__pyx_vtabptr_3efl_5ecore_EventSignalUser;


/* "include/efl.ecore.pxd":381
 * 
 * 
 * cdef class EventSignalHup(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalHup {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalHup *__pyx_vtabptr_3efl_5ecore_EventSignalHup;


/* "include/efl.ecore.pxd":385
 * 
 * 
 * cdef class EventSignalExit(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object interrupt
 *     cdef readonly object quit
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalExit {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalExit *__pyx_vtabptr_3efl_5ecore_EventSignalExit;


/* "include/efl.ecore.pxd":391
 * 
 * 
 * cdef class EventSignalPower(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalPower {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalPower *__pyx_vtabptr_3efl_5ecore_EventSignalPower;


/* "include/efl.ecore.pxd":395
 * 
 * 
 * cdef class CustomEvent(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object obj
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_CustomEvent {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_CustomEvent *__pyx_vtabptr_3efl_5ecore_CustomEvent;


/* "include/efl.ecore.pxd":399
 * 
 * 
 * cdef class QueuedEvent:             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event *obj
 *     cdef readonly object args
 */

struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_QueuedEvent *, Ecore_Event *);
  int (*_unset_obj)(struct __pyx_obj_3efl_5ecore_QueuedEvent *);
};
static struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent *__pyx_vtabptr_3efl_5ecore_QueuedEvent;


/* "include/efl.ecore.pxd":407
 * 
 * 
 * cdef class EventExeAdd(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventExeAdd {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventExeAdd *__pyx_vtabptr_3efl_5ecore_EventExeAdd;


/* "include/efl.ecore.pxd":411
 * 
 * 
 * cdef class EventExeDel(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object pid
 */

struct __pyx_vtabstruct_3efl_5ecore_EventExeDel {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventExeDel *__pyx_vtabptr_3efl_5ecore_EventExeDel;


/* "include/efl.ecore.pxd":420
 * 
 * 
 * cdef class EventExeData(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object data
 */

struct __pyx_vtabstruct_3efl_5ecore_EventExeData {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventExeData *__pyx_vtabptr_3efl_5ecore_EventExeData;


/* "include/efl.ecore.pxd":427
 * 
 * 
 * cdef class FileDownload:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Download_Job *job
 *     cdef readonly object completion_cb
 */

struct __pyx_vtabstruct_3efl_5ecore_FileDownload {
  PyObject *(*_exec_completion)(struct __pyx_obj_3efl_5ecore_FileDownload *, char const *, int);
  PyObject *(*_exec_progress)(struct __pyx_obj_3efl_5ecore_FileDownload *, char const *, long, long, long, long);
};
static struct __pyx_vtabstruct_3efl_5ecore_FileDownload *__pyx_vtabptr_3efl_5ecore_FileDownload;


/* "include/efl.ecore.pxd":440
 * 
 * 
 * cdef class FileMonitor:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Monitor *mon
 *     cdef readonly object monitor_cb
 */

struct __pyx_vtabstruct_3efl_5ecore_FileMonitor {
  PyObject *(*_exec_monitor)(struct __pyx_obj_3efl_5ecore_FileMonitor *, Ecore_File_Event, char const *);
};
static struct __pyx_vtabstruct_3efl_5ecore_FileMonitor *__pyx_vtabptr_3efl_5ecore_FileMonitor;


/* "efl/ecore_con/efl.ecore_con_url.pxi":99
 * 
 * 
 * cdef class Url(Eo):             # <<<<<<<<<<<<<<
 *     """
 * 
 */

struct __pyx_vtabstruct_3efl_9ecore_con_Url {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
};
static struct __pyx_vtabstruct_3efl_9ecore_con_Url *__pyx_vtabptr_3efl_9ecore_con_Url;


/* "efl/ecore_con/efl.ecore_con_url.pxi":50
 *         return self.url
 * 
 * cdef class EventUrlComplete(Event):             # <<<<<<<<<<<<<<
 *     """Represents Ecore_Con_Event_Url_Complete event from C-api.
 * 
 */

struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlComplete {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlComplete *__pyx_vtabptr_3efl_9ecore_con_EventUrlComplete;


/* "efl/ecore_con/efl.ecore_con_url.pxi":23
 * 
 * 
 * cdef class EventUrlProgress(Event):             # <<<<<<<<<<<<<<
 *     """Represents Ecore_Con_Event_Url_Progress event from C-api.
 * 
 */

struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlProgress {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlProgress *__pyx_vtabptr_3efl_9ecore_con_EventUrlProgress;


/* "efl/ecore_con/efl.ecore_con_url.pxi":71
 *         return self.url
 * 
 * cdef class EventUrlData(Event):             # <<<<<<<<<<<<<<
 *     """Represents Ecore_Con_Event_Url_Data event from C-api.
 * 
 */

struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlData {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlData *__pyx_vtabptr_3efl_9ecore_con_EventUrlData;


/* "efl/ecore_con/efl.ecore_con.pyx":255
 *     return 1 # always return true, no matter what
 * 
 * cdef class ConEventFilter(object):             # <<<<<<<<<<<<<<
 * 
 *     """
 */

struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter {
  PyObject *(*callback_add)(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *, int, struct __pyx_obj_3efl_2eo_Eo *, PyObject *, PyObject *, PyObject *);
  PyObject *(*callback_del)(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *, int, struct __pyx_obj_3efl_2eo_Eo *, PyObject *, PyObject *, PyObject *);
  PyObject *(*callback_del_full)(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *, struct __pyx_obj_3efl_2eo_Eo *);
};
static struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *__pyx_vtabptr_3efl_9ecore_con_ConEventFilter;

/* --- Runtime support code (head) --- */
#ifndef CYTHON_REFNANNY
  #define CYTHON_REFNANNY 0
#endif
#if CYTHON_REFNANNY
  typedef struct {
    void (*INCREF)(void*, PyObject*, int);
    void (*DECREF)(void*, PyObject*, int);
    void (*GOTREF)(void*, PyObject*, int);
    void (*GIVEREF)(void*, PyObject*, int);
    void* (*SetupContext)(const char*, int, const char*);
    void (*FinishContext)(void**);
  } __Pyx_RefNannyAPIStruct;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname);
  #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
#ifdef WITH_THREAD
  #define __Pyx_RefNannySetupContext(name, acquire_gil) \
          if (acquire_gil) { \
              PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure(); \
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
              PyGILState_Release(__pyx_gilstate_save); \
          } else { \
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
          }
#else
  #define __Pyx_RefNannySetupContext(name, acquire_gil) \
          __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
#endif
  #define __Pyx_RefNannyFinishContext() \
          __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
  #define __Pyx_INCREF(r)  __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_DECREF(r)  __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GOTREF(r)  __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_XINCREF(r)  do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
  #define __Pyx_XDECREF(r)  do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
  #define __Pyx_XGOTREF(r)  do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
  #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
#else
  #define __Pyx_RefNannyDeclarations
  #define __Pyx_RefNannySetupContext(name, acquire_gil)
  #define __Pyx_RefNannyFinishContext()
  #define __Pyx_INCREF(r) Py_INCREF(r)
  #define __Pyx_DECREF(r) Py_DECREF(r)
  #define __Pyx_GOTREF(r)
  #define __Pyx_GIVEREF(r)
  #define __Pyx_XINCREF(r) Py_XINCREF(r)
  #define __Pyx_XDECREF(r) Py_XDECREF(r)
  #define __Pyx_XGOTREF(r)
  #define __Pyx_XGIVEREF(r)
#endif
#define __Pyx_XDECREF_SET(r, v) do {                            \
        PyObject *tmp = (PyObject *) r;                         \
        r = v; __Pyx_XDECREF(tmp);                              \
    } while (0)
#define __Pyx_DECREF_SET(r, v) do {                             \
        PyObject *tmp = (PyObject *) r;                         \
        r = v; __Pyx_DECREF(tmp);                               \
    } while (0)
#define __Pyx_CLEAR(r)    do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
#define __Pyx_XCLEAR(r)   do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_getattro))
        return tp->tp_getattro(obj, attr_name);
#if PY_MAJOR_VERSION < 3
    if (likely(tp->tp_getattr))
        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
#endif
    return PyObject_GetAttr(obj, attr_name);
}
#else
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
#endif

static PyObject *__Pyx_GetBuiltinName(PyObject *name);

#ifndef __PYX_FORCE_INIT_THREADS
  #define __PYX_FORCE_INIT_THREADS 0
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
#else
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
#endif

static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
#else
#define __Pyx_PyObject_CallNoArg(func) __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL)
#endif

static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type);

static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb);
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb);

static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);

static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value);

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(PyObject* src, Py_ssize_t start, Py_ssize_t stop);
static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(PyObject* src, Py_ssize_t start, Py_ssize_t stop);
#else
#define __Pyx_PyList_GetSlice(seq, start, stop)   PySequence_GetSlice(seq, start, stop)
#define __Pyx_PyTuple_GetSlice(seq, start, stop)  PySequence_GetSlice(seq, start, stop)
#endif

static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);

static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);

static CYTHON_INLINE int __Pyx_IterFinish(void);

static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected);

static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);

static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb);
static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb);

static void __Pyx_WriteUnraisable(const char *name, int clineno,
                                  int lineno, const char *filename,
                                  int full_traceback, int nogil);

static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found);

static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed);

static CYTHON_INLINE int __Pyx_PyDict_Contains(PyObject* item, PyObject* dict, int eq) {
    int result = PyDict_Contains(dict, item);
    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
}

#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
    PyObject *value;
    value = PyDict_GetItemWithError(d, key);
    if (unlikely(!value)) {
        if (!PyErr_Occurred()) {
            PyObject* args = PyTuple_Pack(1, key);
            if (likely(args))
                PyErr_SetObject(PyExc_KeyError, args);
            Py_XDECREF(args);
        }
        return NULL;
    }
    Py_INCREF(value);
    return value;
}
#else
    #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
#endif

static CYTHON_INLINE int __Pyx_PySequence_Contains(PyObject* item, PyObject* seq, int eq) {
    int result = PySequence_Contains(seq, item);
    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
    PyListObject* L = (PyListObject*) list;
    Py_ssize_t len = Py_SIZE(list);
    if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) {
        Py_INCREF(x);
        PyList_SET_ITEM(list, len, x);
        Py_SIZE(list) = len+1;
        return 0;
    }
    return PyList_Append(list, x);
}
#else
#define __Pyx_PyList_Append(L,x) PyList_Append(L,x)
#endif

static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg);

static CYTHON_INLINE int __Pyx_PyObject_Append(PyObject* L, PyObject* x);

static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);

static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name);

static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void);

static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index);

static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** value1, PyObject** value2,
                                             int is_tuple, int has_known_size, int decref_tuple);

static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict, PyObject* method_name,
                                                   Py_ssize_t* p_orig_length, int* p_is_dict);
static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos,
                                              PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict);

static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name);

static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[], \
    PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \
    const char* function_name);

#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
#define __Pyx_PyCallable_Check(obj)   ((obj)->ob_type->tp_call != NULL)
#else
#define __Pyx_PyCallable_Check(obj)   PyCallable_Check(obj)
#endif

static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
    const char *name, int exact);

#define __Pyx_tp_new(type_obj, args) __Pyx_tp_new_kwargs(type_obj, args, NULL)
static CYTHON_INLINE PyObject* __Pyx_tp_new_kwargs(PyObject* type_obj, PyObject* args, PyObject* kwargs) {
    return (PyObject*) (((PyTypeObject*)type_obj)->tp_new((PyTypeObject*)type_obj, args, kwargs));
}

static void __Pyx_call_next_tp_dealloc(PyObject* obj, destructor current_tp_dealloc);

static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse);

static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_dealloc);

static void* __Pyx_GetVtable(PyObject *dict);

static int __Pyx_SetVtable(PyObject *dict, void *vtable);

static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type);

#define __Pyx_CyFunction_USED 1
#include <structmember.h>
#define __Pyx_CYFUNCTION_STATICMETHOD  0x01
#define __Pyx_CYFUNCTION_CLASSMETHOD   0x02
#define __Pyx_CYFUNCTION_CCLASS        0x04
#define __Pyx_CyFunction_GetClosure(f) \
    (((__pyx_CyFunctionObject *) (f))->func_closure)
#define __Pyx_CyFunction_GetClassObj(f) \
    (((__pyx_CyFunctionObject *) (f))->func_classobj)
#define __Pyx_CyFunction_Defaults(type, f) \
    ((type *)(((__pyx_CyFunctionObject *) (f))->defaults))
#define __Pyx_CyFunction_SetDefaultsGetter(f, g) \
    ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g)
typedef struct {
    PyCFunctionObject func;
#if PY_VERSION_HEX < 0x030500A0
    PyObject *func_weakreflist;
#endif
    PyObject *func_dict;
    PyObject *func_name;
    PyObject *func_qualname;
    PyObject *func_doc;
    PyObject *func_globals;
    PyObject *func_code;
    PyObject *func_closure;
    PyObject *func_classobj;
    void *defaults;
    int defaults_pyobjects;
    int flags;
    PyObject *defaults_tuple;
    PyObject *defaults_kwdict;
    PyObject *(*defaults_getter)(PyObject *);
    PyObject *func_annotations;
} __pyx_CyFunctionObject;
static PyTypeObject *__pyx_CyFunctionType = 0;
#define __Pyx_CyFunction_NewEx(ml, flags, qualname, self, module, globals, code) \
    __Pyx_CyFunction_New(__pyx_CyFunctionType, ml, flags, qualname, self, module, globals, code)
static PyObject *__Pyx_CyFunction_New(PyTypeObject *, PyMethodDef *ml,
                                      int flags, PyObject* qualname,
                                      PyObject *self,
                                      PyObject *module, PyObject *globals,
                                      PyObject* code);
static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *m,
                                                         size_t size,
                                                         int pyobjects);
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m,
                                                            PyObject *tuple);
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m,
                                                             PyObject *dict);
static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m,
                                                              PyObject *dict);
static int __Pyx_CyFunction_init(void);

typedef struct {
    int code_line;
    PyCodeObject* code_object;
} __Pyx_CodeObjectCacheEntry;
struct __Pyx_CodeObjectCache {
    int count;
    int max_count;
    __Pyx_CodeObjectCacheEntry* entries;
};
static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line);
static PyCodeObject *__pyx_find_code_object(int code_line);
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object);

static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename);

static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);

static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value);

static CYTHON_INLINE size_t __Pyx_PyInt_As_size_t(PyObject *);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Eina_Bool(Eina_Bool value);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);

static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);

static int __Pyx_check_binary_version(void);

#if !defined(__Pyx_PyIdentifier_FromString)
#if PY_MAJOR_VERSION < 3
  #define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s)
#else
  #define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s)
#endif
#endif

static PyObject *__Pyx_ImportModule(const char *name);

static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, size_t size, int strict);

static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig);

static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);

static PyObject *__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_add(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self, int __pyx_v_ev_type, struct __pyx_obj_3efl_2eo_Eo *__pyx_v_obj, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto*/
static PyObject *__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_del(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self, int __pyx_v_ev_type, struct __pyx_obj_3efl_2eo_Eo *__pyx_v_obj, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto*/
static PyObject *__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_del_full(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self, struct __pyx_obj_3efl_2eo_Eo *__pyx_v_obj); /* proto*/
static int __pyx_f_3efl_9ecore_con_16EventUrlProgress__set_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self, void *__pyx_v_ev); /* proto*/
static PyObject *__pyx_f_3efl_9ecore_con_16EventUrlProgress__get_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self); /* proto*/
static int __pyx_f_3efl_9ecore_con_16EventUrlComplete__set_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self, void *__pyx_v_ev); /* proto*/
static PyObject *__pyx_f_3efl_9ecore_con_16EventUrlComplete__get_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self); /* proto*/
static int __pyx_f_3efl_9ecore_con_12EventUrlData__set_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self, void *__pyx_v_ev); /* proto*/
static PyObject *__pyx_f_3efl_9ecore_con_12EventUrlData__get_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self); /* proto*/
static CYTHON_INLINE PyObject *__pyx_f_3efl_2eo_10EoIterator_create(Eina_Iterator *__pyx_v_itr); /* proto*/

/* Module declarations from 'cpython.version' */

/* Module declarations from 'cpython.ref' */

/* Module declarations from 'cpython.exc' */

/* Module declarations from 'cpython.module' */

/* Module declarations from 'cpython.mem' */

/* Module declarations from 'cpython.tuple' */

/* Module declarations from 'cpython.list' */

/* Module declarations from 'libc.string' */

/* Module declarations from 'libc.stdio' */

/* Module declarations from 'cpython.object' */

/* Module declarations from 'cpython.sequence' */

/* Module declarations from 'cpython.mapping' */

/* Module declarations from 'cpython.iterator' */

/* Module declarations from '__builtin__' */

/* Module declarations from 'cpython.type' */
static PyTypeObject *__pyx_ptype_7cpython_4type_type = 0;

/* Module declarations from 'cpython.number' */

/* Module declarations from 'cpython.int' */

/* Module declarations from '__builtin__' */

/* Module declarations from 'cpython.bool' */
static PyTypeObject *__pyx_ptype_7cpython_4bool_bool = 0;

/* Module declarations from 'cpython.long' */

/* Module declarations from 'cpython.float' */

/* Module declarations from '__builtin__' */

/* Module declarations from 'cpython.complex' */
static PyTypeObject *__pyx_ptype_7cpython_7complex_complex = 0;

/* Module declarations from 'cpython.string' */

/* Module declarations from 'cpython.unicode' */

/* Module declarations from 'cpython.dict' */

/* Module declarations from 'cpython.instance' */

/* Module declarations from 'cpython.function' */

/* Module declarations from 'cpython.method' */

/* Module declarations from 'cpython.weakref' */

/* Module declarations from 'cpython.getargs' */

/* Module declarations from 'cpython.pythread' */

/* Module declarations from 'cpython.pystate' */

/* Module declarations from 'cpython.cobject' */

/* Module declarations from 'cpython.oldbuffer' */

/* Module declarations from 'cpython.set' */

/* Module declarations from 'cpython.buffer' */

/* Module declarations from 'cpython.bytes' */

/* Module declarations from 'cpython.pycapsule' */

/* Module declarations from 'cpython' */

/* Module declarations from 'efl.eina' */

/* Module declarations from 'efl.c_eo' */

/* Module declarations from 'efl.eo' */
static PyTypeObject *__pyx_ptype_3efl_2eo_Eo = 0;
static PyTypeObject *__pyx_ptype_3efl_2eo_EoIterator = 0;
static PyObject *(*__pyx_f_3efl_2eo_object_from_instance)(Eo *); /*proto*/
static Eo *(*__pyx_f_3efl_2eo_instance_from_object)(PyObject *); /*proto*/

/* Module declarations from 'efl.ecore' */
static PyTypeObject *__pyx_ptype_3efl_5ecore_Timer = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Animator = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Poller = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Idler = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_IdleEnterer = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_IdleExiter = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_FdHandler = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Exe = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_ExeEventFilter = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventHandler = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Event = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalUser = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalHup = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalExit = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalPower = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_CustomEvent = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_QueuedEvent = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventExeAdd = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventExeDel = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventExeData = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_FileDownload = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_FileMonitor = 0;
static PyObject *(*__pyx_f_3efl_5ecore__event_mapping_register)(int, PyObject *); /*proto*/
static PyObject *(*__pyx_f_3efl_5ecore__event_mapping_get)(int); /*proto*/

/* Module declarations from 'efl.utils.conversions' */
static PyObject *(*__pyx_f_3efl_5utils_11conversions__ctouni)(char const *); /*proto*/
static PyObject *(*__pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list)(Eina_List const *); /*proto*/

/* Module declarations from 'libc.stdint' */

/* Module declarations from 'efl.ecore_con' */
static PyTypeObject *__pyx_ptype_3efl_9ecore_con_Url = 0;
static PyTypeObject *__pyx_ptype_3efl_9ecore_con_Lookup = 0;
static PyTypeObject *__pyx_ptype_3efl_9ecore_con_EventUrlComplete = 0;
static PyTypeObject *__pyx_ptype_3efl_9ecore_con_EventUrlProgress = 0;
static PyTypeObject *__pyx_ptype_3efl_9ecore_con_EventUrlData = 0;
static PyTypeObject *__pyx_ptype_3efl_9ecore_con_ConEventFilter = 0;
static int __pyx_v_3efl_9ecore_con__con_events_registered;
static struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_3efl_9ecore_con_GEF = 0;
static Eina_Bool __pyx_f_3efl_9ecore_con__con_event_filter_cb(void *, int, void *); /*proto*/
static void __pyx_f_3efl_9ecore_con__con_dns_lookup_cb(char const *, char const *, struct sockaddr *, int, void *); /*proto*/
#define __Pyx_MODULE_NAME "efl.ecore_con"
int __pyx_module_is_main_efl__ecore_con = 0;

/* Implementation of 'efl.ecore_con' */
static PyObject *__pyx_builtin_Exception;
static PyObject *__pyx_builtin_ValueError;
static PyObject *__pyx_builtin_TypeError;
static PyObject *__pyx_pf_3efl_9ecore_con_init(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_2shutdown(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static int __pyx_pf_3efl_9ecore_con_14ConEventFilter___cinit__(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_9ecore_con_6Lookup___init__(struct __pyx_obj_3efl_9ecore_con_Lookup *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_done_cb, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_3url___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_10down_total___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_8down_now___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_8up_total___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_6up_now___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlComplete_3url___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlComplete_6status___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_12EventUrlData_3url___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_12EventUrlData_4size___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_12EventUrlData_4data___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url___init__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_url, PyObject *__pyx_v_custom_request, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_2__repr__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_4delete(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_2fd___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_fd); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_6get(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_8head(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_10post(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_data, PyObject *__pyx_v_content_type); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_12time(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, Ecore_Con_Url_Time __pyx_v_time_condition, double __pyx_v_timestamp); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_14ftp_upload(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_user, PyObject *__pyx_v_passwd, PyObject *__pyx_v_upload_dir); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_12ftp_use_epsv___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_use_epsv); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_16cookies_init(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_18cookies_clear(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_20cookies_session_clear(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_22cookies_file_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_file_name); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_16cookies_jar_file___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_cookiejar_file); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_24cookies_jar_write(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_26cookies_ignore_old_session___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_ignore); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_15ssl_verify_peer___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_verify); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_6ssl_ca___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_ca_path); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_5proxy___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_proxy); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_14proxy_username___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_user); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_14proxy_password___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_passwd); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_7timeout___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, double __pyx_v_timeout); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_12http_version___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, Ecore_Con_Url_Http_Version __pyx_v_version); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_11status_code___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_3url___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_3url_2__set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_url); /* proto */
static int __pyx_pf_3efl_9ecore_con_3Url_7verbose___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_verbose); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_26additional_header_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_28additional_headers_clear(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_16response_headers___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_14received_bytes___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_30httpauth_set(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_username, PyObject *__pyx_v_password, int __pyx_v_safe); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_32on_complete_event_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_34on_complete_event_del(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_36on_progress_event_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_38on_progress_event_del(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_40on_data_event_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_3Url_42on_data_event_del(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_4url_pipeline_set(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_enable); /* proto */
static PyObject *__pyx_pf_3efl_9ecore_con_6url_pipeline_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_tp_new_3efl_9ecore_con_Url(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_3efl_9ecore_con_Lookup(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_3efl_9ecore_con_EventUrlComplete(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_3efl_9ecore_con_EventUrlProgress(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_3efl_9ecore_con_EventUrlData(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_3efl_9ecore_con_ConEventFilter(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static char __pyx_k_get[] = "get";
static char __pyx_k_key[] = "key";
static char __pyx_k_pop[] = "pop";
static char __pyx_k_url[] = "url";
static char __pyx_k_data[] = "data";
static char __pyx_k_func[] = "func";
static char __pyx_k_init[] = "init";
static char __pyx_k_main[] = "__main__";
static char __pyx_k_name[] = "name";
static char __pyx_k_safe[] = "safe";
static char __pyx_k_test[] = "__test__";
static char __pyx_k_user[] = "user";
static char __pyx_k_class[] = "__class__";
static char __pyx_k_value[] = "value";
static char __pyx_k_append[] = "append";
static char __pyx_k_atexit[] = "atexit";
static char __pyx_k_enable[] = "enable";
static char __pyx_k_import[] = "__import__";
static char __pyx_k_name_2[] = "__name__";
static char __pyx_k_passwd[] = "passwd";
static char __pyx_k_remove[] = "remove";
static char __pyx_k_done_cb[] = "done_cb";
static char __pyx_k_s_url_s[] = "%s(url=%s)";
static char __pyx_k_filename[] = "filename";
static char __pyx_k_password[] = "password";
static char __pyx_k_register[] = "register";
static char __pyx_k_shutdown[] = "shutdown";
static char __pyx_k_username[] = "username";
static char __pyx_k_Exception[] = "Exception";
static char __pyx_k_TypeError[] = "TypeError";
static char __pyx_k_print_exc[] = "print_exc";
static char __pyx_k_timestamp[] = "timestamp";
static char __pyx_k_traceback[] = "traceback";
static char __pyx_k_ValueError[] = "ValueError";
static char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
static char __pyx_k_upload_dir[] = "upload_dir";
static char __pyx_k_content_type[] = "content_type";
static char __pyx_k_efl_ecore_con[] = "efl.ecore_con";
static char __pyx_k_custom_request[] = "custom_request";
static char __pyx_k_time_condition[] = "time_condition";
static char __pyx_k_url_pipeline_get[] = "url_pipeline_get";
static char __pyx_k_url_pipeline_set[] = "url_pipeline_set";
static char __pyx_k_Control_whether_session_cookies[] = "Control whether session cookies from previous sessions shall be loaded. \n\n        Session cookies are cookies with no expire date set, which usually\n        means they are removed after the current session is closed.\n\n        By default, when Ecore_Con_Url loads cookies from a file, all cookies\n        are loaded, including session cookies, which, most of the time, were\n        supposed to be loaded and valid only for that session.\n\n        If ignore is set to ``True``, when Ecore_Con_Url loads cookies from\n        the files passed to :func:`cookies_file_add`, session cookies\n        will not be loaded.\n\n        :type: bool (**writeonly**)\n\n        ";
static char __pyx_k_Toggle_libcurl_s_verbose_output[] = "Toggle libcurl's verbose output. \n\n        If set to ``True``, libcurl will output a lot of verbose\n        information about its operations, which is useful for debugging. The\n        verbose information will be sent to stderr.\n\n        :type: bool (**writeonly**)\n\n        ";
static char __pyx_k_home_dave_e_bindings_python_efl[] = "/home/dave/e/bindings/python-efl/efl/ecore_con/efl.ecore_con.pyx";
static char __pyx_k_mod_efl_ecore_con_Module_The_ec[] = "\n\n:mod:`efl.ecore_con` Module\n###########################\n\nThe ecore_con module provide various utilities to perform different network\nrelated tasks. Everything in a full async ecore way. Most notable are the\n:class:`Lookup` class to perform DNS requests, the :class:`Url` class to\nperform HTTP requests and the :class:`Server` class to implement your own\nserver.\n\nDon't forget about the :class:`efl.ecore.FileDownload` class if what you need\nis just to fetch some data to file.\n\n\nClasses\n=======\n\n.. toctree::\n\n   class-lookup.rst\n   class-url.rst\n\n\n\nEnumerations\n============\n\n.. _Ecore_Con_Type:\n\nEcore Con Type\n--------------\n\nTypes for an ecore_con client/server object.\n\nA correct way to set this type is with an ECORE_CON_$TYPE, optionally OR'ed\nwith an ECORE_CON_$USE if encryption is desired, and LOAD_CERT if the\npreviously loaded certificate should be used.\n\n.. data:: ECORE_CON_LOCAL_USER\n\n    Socket in ~/.ecore.\n\n.. data:: ECORE_CON_LOCAL_SYSTEM\n\n   Socket in /tmp.\n\n.. data:: ECORE_CON_LOCAL_ABSTRACT\n\n    Abstract socket.\n\n.. data:: ECORE_CON_REMOTE_TCP\n\n    Remote server using TCP.\n\n\n.. data:: ECORE_CON_REMOTE_MCAST\n\n    Remote multicast server.\n\n\n.. data:: ECORE_CON_REMOTE_UDP\n\n    Remote server using UDP.\n\n.. data:: ECORE_CON_REMOTE_BROADCAST\n\n    Remote broadcast using UDP.\n\n.. data:: ECORE_CON_REMOTE_NODELAY\n\n    Remote connection sending packets immediately.\n\n.. data:: ECORE_CON_REMOTE_CORK\n\n    Remote connection sending data in large chunks. (only on linux)\n\n.. data:: ECORE_CON_USE_SSL2\n\n    Use SSL2: UNSUPPORTED.\n\n.. data:: ECORE_CON_USE_SSL3\n\n    Use SSL3: UNSUPPORTED.\n\n.. data:: ECORE_CON_USE_TLS\n\n    Use TLS.\n\n.. data:: ECORE_CON_USE_MIXED\n\n    Use both TLS and SSL3.\n\n.. data:: ECORE_CON_LOAD_CERT\n\n    Attempt to use the loaded certificate.\n\n.. data:: ECORE_CON_NO_PROXY\n\n    Disable all types of proxy on the server.\n\n\n.. _Ecore_Con_Url_Time:\n\nEcore Con ""Url Time\n------------------\n\nThe type of condition to use when making an HTTP request dependent on time, so\nthat headers such as \"If-Modified-Since\" are used.\n\n.. data:: ECORE_CON_URL_TIME_NONE\n\n    Do not place time restrictions on the HTTP requests. \n\n.. data:: ECORE_CON_URL_TIME_IFMODSINCE\n\n   Add the \"If-Modified-Since\" HTTP header, so that the request is performed by\n   the server only if the target has been modified since the time value passed\n   to it in the request.\n\n.. data:: ECORE_CON_URL_TIME_IFUNMODSINCE\n\n    Add the \"If-Unmodified-Since\" HTTP header, so that the request is performed\n    by the server only if the target has NOT been modified since the time value\n    passed to it in the request.\n\n\n.. _Ecore_Con_Url_Http_Version:\n\nEcore Con Url Http Version\n--------------------------\n\nThe http version to use.\n\n.. data:: ECORE_CON_URL_HTTP_VERSION_1_0\n\n    HTTP version 1.0.\n\n.. data:: ECORE_CON_URL_HTTP_VERSION_1_1\n\n   HTTP version 1.1 (default)\n\n\nModule level functions\n======================\n\n";
static char __pyx_k_transfer_timeout_in_seconds_The[] = "transfer timeout in seconds.\n\n        The maximum time in seconds that you allow the :class:`Url` class\n        transfer operation to take. Normally, name lookups can take a\n        considerable time and limiting operations to less than a few minutes\n        risk aborting perfectly normal operations.\n\n        :type: double (**writeonly**)\n\n        ";
static char __pyx_k_Controls_the_URL_to_send_the_req[] = "Controls the URL to send the request to.\n\n        :type: string\n\n        ";
static char __pyx_k_Enable_or_disable_EPSV_extension[] = "Enable or disable EPSV extension.\n\n        :type: bool (**writeonly**)\n\n        ";
static char __pyx_k_Parameter_done_cb_must_be_callab[] = "Parameter 'done_cb' must be callable";
static char __pyx_k_Password_to_use_for_proxy_If_soc[] = "Password to use for proxy. \n\n        If socks protocol is used for proxy, protocol should be socks5 and\n        above.\n\n        :type: string (**writeonly**)\n\n        ";
static char __pyx_k_Set_a_custom_CA_to_trust_for_SSL[] = "Set a custom CA to trust for SSL/TLS connections. \n\n        Specify the path of a file (in PEM format) containing one or more CA\n        certificate(s) to use for the validation of the server certificate.\n\n        This can also disable CA validation if set to ``None``.\n        However, the server certificate still needs to be valid for the\n        connection to succeed (i.e., the certificate must concern the server\n        the connection is made to).\n\n        :type: string (**writeonly**)\n\n        ";
static char __pyx_k_Set_the_HTTP_proxy_to_use_The_pa[] = "Set the HTTP proxy to use.\n\n        The parameter is the host name or dotted IP address. To specify port\n        number in this string, append :[port] to the end of the host name. The\n        proxy string may be prefixed with [protocol]:// since any such prefix\n        will be ignored. The proxy's port number may optionally be specified\n        with the separate option. If not specified, libcurl will default to\n        using port 1080 for proxies.\n\n        Set this to ``None`` to disable the usage of proxy.\n\n        :type: string (**writeonly**)\n\n        ";
static char __pyx_k_Set_up_a_file_to_have_response_d[] = "Set up a file to have response data written into.\n\n        This attr can be used to easily setup a file where the downloaded data\n        will be saved.\n\n        Note that :class:`EventUrlData` events will not be emitted if a file\n        has been set to receive the response data.\n\n        .. seealso::\n            If you just need to download a file please consider using the\n            simpler :class:`efl.ecore.FileDownload` class instead.\n\n        :type: int (**writeonly**)\n\n        ";
static char __pyx_k_The_HTTP_version_used_for_the_re[] = "The HTTP version used for the request.\n\n        Can be :data:`ECORE_CON_URL_HTTP_VERSION_1_0` or\n        :data:`ECORE_CON_URL_HTTP_VERSION_1_1`\n        \n        :type: :ref:`Ecore_Con_Url_Http_Version` (**writeonly**)\n\n        ";
static char __pyx_k_The_headers_from_last_request_se[] = "The headers from last request sent. \n\n        Retrieve a list containing the response headers. This function should\n        be used after an :class:`EventUrlComplete` event (headers should\n        normally be ready at that time).\n\n        :type: list of strings (**readonly**)\n\n        ";
static char __pyx_k_The_name_of_the_file_to_which_al[] = "The name of the file to which all current cookies will be written\n        when either cookies are flushed or Ecore_Con is shut down.\n\n        Cookies are written following Netscape/Mozilla's data format, also\n        known as cookie-jar.\n\n        Cookies will only be saved to this file. If you need to read cookies\n        from a file, use ecore_con_url_cookies_file_add() instead.\n\n        .. note::\n            This function will initialize the cookie engine if it has not been\n            initialized yet.\n\n        .. seealso:: :func:`cookies_jar_write`\n\n        :type: string (**writeonly**)\n\n        ";
static char __pyx_k_The_number_of_bytes_received_Ret[] = "The number of bytes received. \n\n        Retrieve the number of bytes received on the last request of the\n        :class:`Url` object.\n\n        :type: int (**readonly**)\n\n        ";
static char __pyx_k_The_returned_HTTP_STATUS_code_Th[] = "The returned HTTP STATUS code. \n\n        This is used to, at any time, try to return the status code for a\n        transmission.\n\n        :type: int  (**readonly**)\n\n        ";
static char __pyx_k_Toggle_libcurl_s_verify_peer_s_c[] = "Toggle libcurl's verify peer's certificate option. \n\n        If this is ``True``, libcurl will verify the authenticity of the\n        peer's certificate, otherwise it will not. Default behavior of libcurl\n        is to check peer's certificate.\n\n        :type: bool (**writeonly**)\n\n        ";
static char __pyx_k_Username_to_use_for_proxy_If_soc[] = "Username to use for proxy.\n\n        If socks protocol is used for proxy, protocol should be socks5 and\n        above.\n        \n        :type: string (**writeonly**)\n\n        ";
static char __pyx_k_callback_is_not_registered_s_arg[] = "callback is not registered: %s, args=%s, kargs=%s";
static char __pyx_k_home_dave_e_bindings_python_efl_2[] = "/home/dave/e/bindings/python-efl/efl/ecore_con/efl.ecore_con_url.pxi";
static PyObject *__pyx_n_s_Exception;
static PyObject *__pyx_kp_s_Parameter_done_cb_must_be_callab;
static PyObject *__pyx_n_s_TypeError;
static PyObject *__pyx_n_s_ValueError;
static PyObject *__pyx_n_s_append;
static PyObject *__pyx_n_s_atexit;
static PyObject *__pyx_kp_s_callback_is_not_registered_s_arg;
static PyObject *__pyx_n_s_class;
static PyObject *__pyx_n_s_content_type;
static PyObject *__pyx_n_s_custom_request;
static PyObject *__pyx_n_s_data;
static PyObject *__pyx_n_s_done_cb;
static PyObject *__pyx_n_s_efl_ecore_con;
static PyObject *__pyx_n_s_enable;
static PyObject *__pyx_n_s_filename;
static PyObject *__pyx_n_s_func;
static PyObject *__pyx_n_s_get;
static PyObject *__pyx_kp_s_home_dave_e_bindings_python_efl;
static PyObject *__pyx_kp_s_home_dave_e_bindings_python_efl_2;
static PyObject *__pyx_n_s_import;
static PyObject *__pyx_n_s_init;
static PyObject *__pyx_n_s_key;
static PyObject *__pyx_n_s_main;
static PyObject *__pyx_n_s_name;
static PyObject *__pyx_n_s_name_2;
static PyObject *__pyx_n_s_passwd;
static PyObject *__pyx_n_s_password;
static PyObject *__pyx_n_s_pop;
static PyObject *__pyx_n_s_print_exc;
static PyObject *__pyx_n_s_pyx_vtable;
static PyObject *__pyx_n_s_register;
static PyObject *__pyx_n_s_remove;
static PyObject *__pyx_kp_s_s_url_s;
static PyObject *__pyx_n_s_safe;
static PyObject *__pyx_n_s_shutdown;
static PyObject *__pyx_n_s_test;
static PyObject *__pyx_n_s_time_condition;
static PyObject *__pyx_n_s_timestamp;
static PyObject *__pyx_n_s_traceback;
static PyObject *__pyx_n_s_upload_dir;
static PyObject *__pyx_n_s_url;
static PyObject *__pyx_n_s_url_pipeline_get;
static PyObject *__pyx_n_s_url_pipeline_set;
static PyObject *__pyx_n_s_user;
static PyObject *__pyx_n_s_username;
static PyObject *__pyx_n_s_value;
static PyObject *__pyx_tuple_;
static PyObject *__pyx_tuple__4;
static PyObject *__pyx_codeobj__2;
static PyObject *__pyx_codeobj__3;
static PyObject *__pyx_codeobj__5;
static PyObject *__pyx_codeobj__6;

/* "efl/ecore_con/efl.ecore_con.pyx":180
 * 
 * 
 * def init():             # <<<<<<<<<<<<<<
 *     """Initialize the Ecore Con library
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_1init(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_init[] = "init()\nInitialize the Ecore Con library\n\n    .. note::\n        You never need to call this function, it is automatically called when\n        the module is imported.\n\n    .. versionadded:: 1.17\n\n    ";
static PyMethodDef __pyx_mdef_3efl_9ecore_con_1init = {"init", (PyCFunction)__pyx_pw_3efl_9ecore_con_1init, METH_NOARGS, __pyx_doc_3efl_9ecore_con_init};
static PyObject *__pyx_pw_3efl_9ecore_con_1init(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("init (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_init(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_init(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("init", 0);

  /* "efl/ecore_con/efl.ecore_con.pyx":191
 *     """
 * 
 *     ecore_con_init()             # <<<<<<<<<<<<<<
 *     ecore_con_url_init()
 * 
 */
  ecore_con_init();

  /* "efl/ecore_con/efl.ecore_con.pyx":192
 * 
 *     ecore_con_init()
 *     ecore_con_url_init()             # <<<<<<<<<<<<<<
 * 
 *     global _con_events_registered
 */
  ecore_con_url_init();

  /* "efl/ecore_con/efl.ecore_con.pyx":195
 * 
 *     global _con_events_registered
 *     if _con_events_registered == 0:             # <<<<<<<<<<<<<<
 *         _event_mapping_register(ECORE_CON_EVENT_URL_COMPLETE, EventUrlComplete)
 *         _event_mapping_register(ECORE_CON_EVENT_URL_PROGRESS, EventUrlProgress)
 */
  __pyx_t_1 = ((__pyx_v_3efl_9ecore_con__con_events_registered == 0) != 0);
  if (__pyx_t_1) {

    /* "efl/ecore_con/efl.ecore_con.pyx":196
 *     global _con_events_registered
 *     if _con_events_registered == 0:
 *         _event_mapping_register(ECORE_CON_EVENT_URL_COMPLETE, EventUrlComplete)             # <<<<<<<<<<<<<<
 *         _event_mapping_register(ECORE_CON_EVENT_URL_PROGRESS, EventUrlProgress)
 *         _event_mapping_register(ECORE_CON_EVENT_URL_DATA, EventUrlData)
 */
    __pyx_t_2 = __pyx_f_3efl_5ecore__event_mapping_register(ECORE_CON_EVENT_URL_COMPLETE, ((PyObject *)((PyObject*)__pyx_ptype_3efl_9ecore_con_EventUrlComplete))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "efl/ecore_con/efl.ecore_con.pyx":197
 *     if _con_events_registered == 0:
 *         _event_mapping_register(ECORE_CON_EVENT_URL_COMPLETE, EventUrlComplete)
 *         _event_mapping_register(ECORE_CON_EVENT_URL_PROGRESS, EventUrlProgress)             # <<<<<<<<<<<<<<
 *         _event_mapping_register(ECORE_CON_EVENT_URL_DATA, EventUrlData)
 *         _con_events_registered = 1
 */
    __pyx_t_2 = __pyx_f_3efl_5ecore__event_mapping_register(ECORE_CON_EVENT_URL_PROGRESS, ((PyObject *)((PyObject*)__pyx_ptype_3efl_9ecore_con_EventUrlProgress))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "efl/ecore_con/efl.ecore_con.pyx":198
 *         _event_mapping_register(ECORE_CON_EVENT_URL_COMPLETE, EventUrlComplete)
 *         _event_mapping_register(ECORE_CON_EVENT_URL_PROGRESS, EventUrlProgress)
 *         _event_mapping_register(ECORE_CON_EVENT_URL_DATA, EventUrlData)             # <<<<<<<<<<<<<<
 *         _con_events_registered = 1
 * 
 */
    __pyx_t_2 = __pyx_f_3efl_5ecore__event_mapping_register(ECORE_CON_EVENT_URL_DATA, ((PyObject *)((PyObject*)__pyx_ptype_3efl_9ecore_con_EventUrlData))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "efl/ecore_con/efl.ecore_con.pyx":199
 *         _event_mapping_register(ECORE_CON_EVENT_URL_PROGRESS, EventUrlProgress)
 *         _event_mapping_register(ECORE_CON_EVENT_URL_DATA, EventUrlData)
 *         _con_events_registered = 1             # <<<<<<<<<<<<<<
 * 
 * 
 */
    __pyx_v_3efl_9ecore_con__con_events_registered = 1;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con.pyx":180
 * 
 * 
 * def init():             # <<<<<<<<<<<<<<
 *     """Initialize the Ecore Con library
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.ecore_con.init", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pyx":202
 * 
 * 
 * def shutdown():             # <<<<<<<<<<<<<<
 *     """Shuts down the Ecore Con library.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3shutdown(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_2shutdown[] = "shutdown()\nShuts down the Ecore Con library.\n\n    .. note::\n        You never need to call this function, it is automatically called atexit.\n\n    .. versionadded:: 1.17\n\n    ";
static PyMethodDef __pyx_mdef_3efl_9ecore_con_3shutdown = {"shutdown", (PyCFunction)__pyx_pw_3efl_9ecore_con_3shutdown, METH_NOARGS, __pyx_doc_3efl_9ecore_con_2shutdown};
static PyObject *__pyx_pw_3efl_9ecore_con_3shutdown(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("shutdown (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_2shutdown(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_2shutdown(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("shutdown", 0);

  /* "efl/ecore_con/efl.ecore_con.pyx":211
 * 
 *     """
 *     ecore_con_url_shutdown()             # <<<<<<<<<<<<<<
 *     ecore_con_shutdown()
 * 
 */
  ecore_con_url_shutdown();

  /* "efl/ecore_con/efl.ecore_con.pyx":212
 *     """
 *     ecore_con_url_shutdown()
 *     ecore_con_shutdown()             # <<<<<<<<<<<<<<
 * 
 * 
 */
  ecore_con_shutdown();

  /* "efl/ecore_con/efl.ecore_con.pyx":202
 * 
 * 
 * def shutdown():             # <<<<<<<<<<<<<<
 *     """Shuts down the Ecore Con library.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pyx":215
 * 
 * 
 * cdef Eina_Bool _con_event_filter_cb(void *data, int ev_type, void *ev) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         ConEventFilter filter = <ConEventFilter>data
 */

static Eina_Bool __pyx_f_3efl_9ecore_con__con_event_filter_cb(void *__pyx_v_data, int __pyx_v_ev_type, void *__pyx_v_ev) {
  struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_filter = 0;
  PyObject *__pyx_v_event_cls = 0;
  struct __pyx_obj_3efl_5ecore_Event *__pyx_v_py_event = 0;
  PyObject *__pyx_v_cbs = 0;
  struct __pyx_obj_3efl_2eo_Eo *__pyx_v_obj = 0;
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  Eina_Bool __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_t_8;
  PyObject *__pyx_t_9 = NULL;
  Py_ssize_t __pyx_t_10;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *(*__pyx_t_13)(PyObject *);
  PyObject *__pyx_t_14 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_con_event_filter_cb", 0);

  /* "efl/ecore_con/efl.ecore_con.pyx":217
 * cdef Eina_Bool _con_event_filter_cb(void *data, int ev_type, void *ev) with gil:
 *     cdef:
 *         ConEventFilter filter = <ConEventFilter>data             # <<<<<<<<<<<<<<
 *         object event_cls
 *         Event py_event
 */
  __pyx_t_1 = ((PyObject *)__pyx_v_data);
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_filter = ((struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":227
 * 
 *     # create correct "EventAbc" python object, using the global mapping
 *     event_cls = _event_mapping_get(ev_type)             # <<<<<<<<<<<<<<
 *     if event_cls:
 *         py_event = event_cls()
 */
  __pyx_t_1 = __pyx_f_3efl_5ecore__event_mapping_get(__pyx_v_ev_type); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_event_cls = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":228
 *     # create correct "EventAbc" python object, using the global mapping
 *     event_cls = _event_mapping_get(ev_type)
 *     if event_cls:             # <<<<<<<<<<<<<<
 *         py_event = event_cls()
 * 
 */
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_event_cls); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con.pyx":229
 *     event_cls = _event_mapping_get(ev_type)
 *     if event_cls:
 *         py_event = event_cls()             # <<<<<<<<<<<<<<
 * 
 *         # object_from_instance can fail in _set_obj if the event is
 */
    __Pyx_INCREF(__pyx_v_event_cls);
    __pyx_t_3 = __pyx_v_event_cls; __pyx_t_4 = NULL;
    if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_3, function);
      }
    }
    if (__pyx_t_4) {
      __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    } else {
      __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_5ecore_Event))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_v_py_event = ((struct __pyx_obj_3efl_5ecore_Event *)__pyx_t_1);
    __pyx_t_1 = 0;

    /* "efl/ecore_con/efl.ecore_con.pyx":233
 *         # object_from_instance can fail in _set_obj if the event is
 *         # generated from an object not managed by us, so just ignore it.
 *         try:             # <<<<<<<<<<<<<<
 *             py_event._set_obj(ev)
 *         except:
 */
    {
      __Pyx_ExceptionSave(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7);
      __Pyx_XGOTREF(__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_7);
      /*try:*/ {

        /* "efl/ecore_con/efl.ecore_con.pyx":234
 *         # generated from an object not managed by us, so just ignore it.
 *         try:
 *             py_event._set_obj(ev)             # <<<<<<<<<<<<<<
 *         except:
 *             return 1
 */
        __pyx_t_8 = ((struct __pyx_vtabstruct_3efl_5ecore_Event *)__pyx_v_py_event->__pyx_vtab)->_set_obj(__pyx_v_py_event, __pyx_v_ev); if (unlikely(__pyx_t_8 == 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      }
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      goto __pyx_L11_try_end;
      __pyx_L4_error:;
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "efl/ecore_con/efl.ecore_con.pyx":235
 *         try:
 *             py_event._set_obj(ev)
 *         except:             # <<<<<<<<<<<<<<
 *             return 1
 * 
 */
      /*except:*/ {
        __Pyx_AddTraceback("efl.ecore_con._con_event_filter_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
        if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_3, &__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_GOTREF(__pyx_t_3);
        __Pyx_GOTREF(__pyx_t_4);

        /* "efl/ecore_con/efl.ecore_con.pyx":236
 *             py_event._set_obj(ev)
 *         except:
 *             return 1             # <<<<<<<<<<<<<<
 * 
 *         # do we have callbacks for this object/event ?
 */
        __pyx_r = 1;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        goto __pyx_L7_except_return;
      }
      __pyx_L6_except_error:;
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_7);
      __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
      goto __pyx_L1_error;
      __pyx_L7_except_return:;
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_7);
      __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
      goto __pyx_L0;
      __pyx_L11_try_end:;
    }

    /* "efl/ecore_con/efl.ecore_con.pyx":239
 * 
 *         # do we have callbacks for this object/event ?
 *         try:             # <<<<<<<<<<<<<<
 *             obj = py_event._get_obj()
 *             cbs = filter.callbacks.get(ev_type).get(obj)
 */
    {
      __Pyx_ExceptionSave(&__pyx_t_7, &__pyx_t_6, &__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_7);
      __Pyx_XGOTREF(__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_5);
      /*try:*/ {

        /* "efl/ecore_con/efl.ecore_con.pyx":240
 *         # do we have callbacks for this object/event ?
 *         try:
 *             obj = py_event._get_obj()             # <<<<<<<<<<<<<<
 *             cbs = filter.callbacks.get(ev_type).get(obj)
 *         except:
 */
        __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_5ecore_Event *)__pyx_v_py_event->__pyx_vtab)->_get_obj(__pyx_v_py_event); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
        __Pyx_GOTREF(__pyx_t_4);
        if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_ptype_3efl_2eo_Eo))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
        __pyx_v_obj = ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_t_4);
        __pyx_t_4 = 0;

        /* "efl/ecore_con/efl.ecore_con.pyx":241
 *         try:
 *             obj = py_event._get_obj()
 *             cbs = filter.callbacks.get(ev_type).get(obj)             # <<<<<<<<<<<<<<
 *         except:
 *             cbs = None
 */
        if (unlikely(__pyx_v_filter->callbacks == Py_None)) {
          PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "get");
          {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
        }
        __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
        __Pyx_GOTREF(__pyx_t_3);
        __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_filter->callbacks, __pyx_t_3, Py_None); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
        __Pyx_GOTREF(__pyx_t_3);
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __pyx_t_1 = NULL;
        if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_3))) {
          __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_3);
          if (likely(__pyx_t_1)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
            __Pyx_INCREF(__pyx_t_1);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_3, function);
          }
        }
        if (!__pyx_t_1) {
          __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_3, ((PyObject *)__pyx_v_obj)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
          __Pyx_GOTREF(__pyx_t_4);
        } else {
          __pyx_t_9 = PyTuple_New(1+1); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
          __Pyx_GOTREF(__pyx_t_9);
          __Pyx_GIVEREF(__pyx_t_1); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_1); __pyx_t_1 = NULL;
          __Pyx_INCREF(((PyObject *)__pyx_v_obj));
          __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
          PyTuple_SET_ITEM(__pyx_t_9, 0+1, ((PyObject *)__pyx_v_obj));
          __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_9, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
          __Pyx_GOTREF(__pyx_t_4);
          __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        }
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        if (!(likely(PyList_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "list", Py_TYPE(__pyx_t_4)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L14_error;}
        __pyx_v_cbs = ((PyObject*)__pyx_t_4);
        __pyx_t_4 = 0;
      }
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      goto __pyx_L21_try_end;
      __pyx_L14_error:;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;

      /* "efl/ecore_con/efl.ecore_con.pyx":242
 *             obj = py_event._get_obj()
 *             cbs = filter.callbacks.get(ev_type).get(obj)
 *         except:             # <<<<<<<<<<<<<<
 *             cbs = None
 * 
 */
      /*except:*/ {
        __Pyx_AddTraceback("efl.ecore_con._con_event_filter_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
        if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_9) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L16_except_error;}
        __Pyx_GOTREF(__pyx_t_4);
        __Pyx_GOTREF(__pyx_t_3);
        __Pyx_GOTREF(__pyx_t_9);

        /* "efl/ecore_con/efl.ecore_con.pyx":243
 *             cbs = filter.callbacks.get(ev_type).get(obj)
 *         except:
 *             cbs = None             # <<<<<<<<<<<<<<
 * 
 *         if cbs:
 */
        __Pyx_INCREF(Py_None);
        __Pyx_XDECREF_SET(__pyx_v_cbs, ((PyObject*)Py_None));
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        goto __pyx_L15_exception_handled;
      }
      __pyx_L16_except_error:;
      __Pyx_XGIVEREF(__pyx_t_7);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_ExceptionReset(__pyx_t_7, __pyx_t_6, __pyx_t_5);
      goto __pyx_L1_error;
      __pyx_L15_exception_handled:;
      __Pyx_XGIVEREF(__pyx_t_7);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_ExceptionReset(__pyx_t_7, __pyx_t_6, __pyx_t_5);
      __pyx_L21_try_end:;
    }

    /* "efl/ecore_con/efl.ecore_con.pyx":245
 *             cbs = None
 * 
 *         if cbs:             # <<<<<<<<<<<<<<
 *             cbs = cbs[:] # copy, so we can change filter.callbacks
 *             for func, args, kargs in cbs:
 */
    __pyx_t_2 = (__pyx_v_cbs != Py_None) && (PyList_GET_SIZE(__pyx_v_cbs) != 0);
    if (__pyx_t_2) {

      /* "efl/ecore_con/efl.ecore_con.pyx":246
 * 
 *         if cbs:
 *             cbs = cbs[:] # copy, so we can change filter.callbacks             # <<<<<<<<<<<<<<
 *             for func, args, kargs in cbs:
 *                 try:
 */
      if (unlikely(__pyx_v_cbs == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      }
      __pyx_t_9 = __Pyx_PyList_GetSlice(__pyx_v_cbs, 0, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_9);
      __Pyx_DECREF_SET(__pyx_v_cbs, ((PyObject*)__pyx_t_9));
      __pyx_t_9 = 0;

      /* "efl/ecore_con/efl.ecore_con.pyx":247
 *         if cbs:
 *             cbs = cbs[:] # copy, so we can change filter.callbacks
 *             for func, args, kargs in cbs:             # <<<<<<<<<<<<<<
 *                 try:
 *                     func(py_event, *args, **kargs)
 */
      __pyx_t_9 = __pyx_v_cbs; __Pyx_INCREF(__pyx_t_9); __pyx_t_10 = 0;
      for (;;) {
        if (__pyx_t_10 >= PyList_GET_SIZE(__pyx_t_9)) break;
        #if CYTHON_COMPILING_IN_CPYTHON
        __pyx_t_3 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_10); __Pyx_INCREF(__pyx_t_3); __pyx_t_10++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        #else
        __pyx_t_3 = PySequence_ITEM(__pyx_t_9, __pyx_t_10); __pyx_t_10++; if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_3);
        #endif
        if ((likely(PyTuple_CheckExact(__pyx_t_3))) || (PyList_CheckExact(__pyx_t_3))) {
          PyObject* sequence = __pyx_t_3;
          #if CYTHON_COMPILING_IN_CPYTHON
          Py_ssize_t size = Py_SIZE(sequence);
          #else
          Py_ssize_t size = PySequence_Size(sequence);
          #endif
          if (unlikely(size != 3)) {
            if (size > 3) __Pyx_RaiseTooManyValuesError(3);
            else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
            {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          }
          #if CYTHON_COMPILING_IN_CPYTHON
          if (likely(PyTuple_CheckExact(sequence))) {
            __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); 
            __pyx_t_1 = PyTuple_GET_ITEM(sequence, 1); 
            __pyx_t_11 = PyTuple_GET_ITEM(sequence, 2); 
          } else {
            __pyx_t_4 = PyList_GET_ITEM(sequence, 0); 
            __pyx_t_1 = PyList_GET_ITEM(sequence, 1); 
            __pyx_t_11 = PyList_GET_ITEM(sequence, 2); 
          }
          __Pyx_INCREF(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_1);
          __Pyx_INCREF(__pyx_t_11);
          #else
          __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __Pyx_GOTREF(__pyx_t_4);
          __pyx_t_1 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __Pyx_GOTREF(__pyx_t_1);
          __pyx_t_11 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __Pyx_GOTREF(__pyx_t_11);
          #endif
          __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        } else {
          Py_ssize_t index = -1;
          __pyx_t_12 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __Pyx_GOTREF(__pyx_t_12);
          __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
          __pyx_t_13 = Py_TYPE(__pyx_t_12)->tp_iternext;
          index = 0; __pyx_t_4 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_4)) goto __pyx_L27_unpacking_failed;
          __Pyx_GOTREF(__pyx_t_4);
          index = 1; __pyx_t_1 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_1)) goto __pyx_L27_unpacking_failed;
          __Pyx_GOTREF(__pyx_t_1);
          index = 2; __pyx_t_11 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_11)) goto __pyx_L27_unpacking_failed;
          __Pyx_GOTREF(__pyx_t_11);
          if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_12), 3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __pyx_t_13 = NULL;
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
          goto __pyx_L28_unpacking_done;
          __pyx_L27_unpacking_failed:;
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
          __pyx_t_13 = NULL;
          if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
          {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __pyx_L28_unpacking_done:;
        }
        if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        if (!(likely(PyDict_CheckExact(__pyx_t_11))||((__pyx_t_11) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_t_11)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_XDECREF_SET(__pyx_v_func, __pyx_t_4);
        __pyx_t_4 = 0;
        __Pyx_XDECREF_SET(__pyx_v_args, ((PyObject*)__pyx_t_1));
        __pyx_t_1 = 0;
        __Pyx_XDECREF_SET(__pyx_v_kargs, ((PyObject*)__pyx_t_11));
        __pyx_t_11 = 0;

        /* "efl/ecore_con/efl.ecore_con.pyx":248
 *             cbs = cbs[:] # copy, so we can change filter.callbacks
 *             for func, args, kargs in cbs:
 *                 try:             # <<<<<<<<<<<<<<
 *                     func(py_event, *args, **kargs)
 *                 except Exception:
 */
        {
          __Pyx_ExceptionSave(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7);
          __Pyx_XGOTREF(__pyx_t_5);
          __Pyx_XGOTREF(__pyx_t_6);
          __Pyx_XGOTREF(__pyx_t_7);
          /*try:*/ {

            /* "efl/ecore_con/efl.ecore_con.pyx":249
 *             for func, args, kargs in cbs:
 *                 try:
 *                     func(py_event, *args, **kargs)             # <<<<<<<<<<<<<<
 *                 except Exception:
 *                     traceback.print_exc()
 */
            __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L29_error;}
            __Pyx_GOTREF(__pyx_t_3);
            __Pyx_INCREF(((PyObject *)__pyx_v_py_event));
            __Pyx_GIVEREF(((PyObject *)__pyx_v_py_event));
            PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_py_event));
            __pyx_t_11 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L29_error;}
            __Pyx_GOTREF(__pyx_t_11);
            __pyx_t_1 = PyNumber_Add(__pyx_t_3, __pyx_t_11); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L29_error;}
            __Pyx_GOTREF(__pyx_t_1);
            __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
            __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
            if (unlikely(__pyx_v_kargs == Py_None)) {
              PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType");
              {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L29_error;}
            }
            __pyx_t_11 = __pyx_v_kargs;
            __Pyx_INCREF(__pyx_t_11);
            __pyx_t_3 = __Pyx_PyObject_Call(__pyx_v_func, __pyx_t_1, __pyx_t_11); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L29_error;}
            __Pyx_GOTREF(__pyx_t_3);
            __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
            __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
            __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
          }
          __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
          __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
          __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
          goto __pyx_L36_try_end;
          __pyx_L29_error:;
          __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
          __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
          __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
          __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;

          /* "efl/ecore_con/efl.ecore_con.pyx":250
 *                 try:
 *                     func(py_event, *args, **kargs)
 *                 except Exception:             # <<<<<<<<<<<<<<
 *                     traceback.print_exc()
 * 
 */
          __pyx_t_8 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
          if (__pyx_t_8) {
            __Pyx_AddTraceback("efl.ecore_con._con_event_filter_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
            if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_11, &__pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L31_except_error;}
            __Pyx_GOTREF(__pyx_t_3);
            __Pyx_GOTREF(__pyx_t_11);
            __Pyx_GOTREF(__pyx_t_1);

            /* "efl/ecore_con/efl.ecore_con.pyx":251
 *                     func(py_event, *args, **kargs)
 *                 except Exception:
 *                     traceback.print_exc()             # <<<<<<<<<<<<<<
 * 
 *     return 1 # always return true, no matter what
 */
            __pyx_t_12 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L31_except_error;}
            __Pyx_GOTREF(__pyx_t_12);
            __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L31_except_error;}
            __Pyx_GOTREF(__pyx_t_14);
            __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
            __pyx_t_12 = NULL;
            if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_14))) {
              __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_14);
              if (likely(__pyx_t_12)) {
                PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_14);
                __Pyx_INCREF(__pyx_t_12);
                __Pyx_INCREF(function);
                __Pyx_DECREF_SET(__pyx_t_14, function);
              }
            }
            if (__pyx_t_12) {
              __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_14, __pyx_t_12); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L31_except_error;}
              __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
            } else {
              __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_14); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L31_except_error;}
            }
            __Pyx_GOTREF(__pyx_t_4);
            __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
            __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
            __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
            __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
            __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
            goto __pyx_L30_exception_handled;
          }
          goto __pyx_L31_except_error;
          __pyx_L31_except_error:;
          __Pyx_XGIVEREF(__pyx_t_5);
          __Pyx_XGIVEREF(__pyx_t_6);
          __Pyx_XGIVEREF(__pyx_t_7);
          __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
          goto __pyx_L1_error;
          __pyx_L30_exception_handled:;
          __Pyx_XGIVEREF(__pyx_t_5);
          __Pyx_XGIVEREF(__pyx_t_6);
          __Pyx_XGIVEREF(__pyx_t_7);
          __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
          __pyx_L36_try_end:;
        }

        /* "efl/ecore_con/efl.ecore_con.pyx":247
 *         if cbs:
 *             cbs = cbs[:] # copy, so we can change filter.callbacks
 *             for func, args, kargs in cbs:             # <<<<<<<<<<<<<<
 *                 try:
 *                     func(py_event, *args, **kargs)
 */
      }
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      goto __pyx_L24;
    }
    __pyx_L24:;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con.pyx":253
 *                     traceback.print_exc()
 * 
 *     return 1 # always return true, no matter what             # <<<<<<<<<<<<<<
 * 
 * cdef class ConEventFilter(object):
 */
  __pyx_r = 1;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con.pyx":215
 * 
 * 
 * cdef Eina_Bool _con_event_filter_cb(void *data, int ev_type, void *ev) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         ConEventFilter filter = <ConEventFilter>data
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_WriteUnraisable("efl.ecore_con._con_event_filter_cb", __pyx_clineno, __pyx_lineno, __pyx_filename, 0, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_filter);
  __Pyx_XDECREF(__pyx_v_event_cls);
  __Pyx_XDECREF((PyObject *)__pyx_v_py_event);
  __Pyx_XDECREF(__pyx_v_cbs);
  __Pyx_XDECREF((PyObject *)__pyx_v_obj);
  __Pyx_XDECREF(__pyx_v_func);
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pyx":267
 *     """
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.callbacks = {}
 *         self.handlers = {}
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_14ConEventFilter_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_3efl_9ecore_con_14ConEventFilter_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
    __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args)); return -1;}
  if (unlikely(__pyx_kwds) && unlikely(PyDict_Size(__pyx_kwds) > 0) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__cinit__", 0))) return -1;
  __pyx_r = __pyx_pf_3efl_9ecore_con_14ConEventFilter___cinit__(((struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_14ConEventFilter___cinit__(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__cinit__", 0);

  /* "efl/ecore_con/efl.ecore_con.pyx":268
 * 
 *     def __cinit__(self):
 *         self.callbacks = {}             # <<<<<<<<<<<<<<
 *         self.handlers = {}
 * 
 */
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->callbacks);
  __Pyx_DECREF(__pyx_v_self->callbacks);
  __pyx_v_self->callbacks = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":269
 *     def __cinit__(self):
 *         self.callbacks = {}
 *         self.handlers = {}             # <<<<<<<<<<<<<<
 * 
 *     cdef callback_add(self, int ev_type, Eo obj, object func, tuple args, dict kargs):
 */
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->handlers);
  __Pyx_DECREF(__pyx_v_self->handlers);
  __pyx_v_self->handlers = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":267
 *     """
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.callbacks = {}
 *         self.handlers = {}
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.ConEventFilter.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pyx":271
 *         self.handlers = {}
 * 
 *     cdef callback_add(self, int ev_type, Eo obj, object func, tuple args, dict kargs):             # <<<<<<<<<<<<<<
 *         # store the function in the callbacks dict
 *         if not ev_type in self.callbacks:
 */

static PyObject *__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_add(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self, int __pyx_v_ev_type, struct __pyx_obj_3efl_2eo_Eo *__pyx_v_obj, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  Ecore_Event_Handler *__pyx_v_ee;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_add", 0);

  /* "efl/ecore_con/efl.ecore_con.pyx":273
 *     cdef callback_add(self, int ev_type, Eo obj, object func, tuple args, dict kargs):
 *         # store the function in the callbacks dict
 *         if not ev_type in self.callbacks:             # <<<<<<<<<<<<<<
 *             self.callbacks[ev_type] = {}
 *         if not obj in self.callbacks[ev_type]:
 */
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_v_self->callbacks == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = (__Pyx_PyDict_Contains(__pyx_t_1, __pyx_v_self->callbacks, Py_NE)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/ecore_con/efl.ecore_con.pyx":274
 *         # store the function in the callbacks dict
 *         if not ev_type in self.callbacks:
 *             self.callbacks[ev_type] = {}             # <<<<<<<<<<<<<<
 *         if not obj in self.callbacks[ev_type]:
 *             self.callbacks[ev_type][obj] = []
 */
    __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    if (unlikely(__pyx_v_self->callbacks == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    if (unlikely(PyDict_SetItem(__pyx_v_self->callbacks, __pyx_t_4, __pyx_t_1) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con.pyx":275
 *         if not ev_type in self.callbacks:
 *             self.callbacks[ev_type] = {}
 *         if not obj in self.callbacks[ev_type]:             # <<<<<<<<<<<<<<
 *             self.callbacks[ev_type][obj] = []
 *         self.callbacks[ev_type][obj].append((func,args,kargs))
 */
  if (unlikely(__pyx_v_self->callbacks == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_4 = __Pyx_PyDict_GetItem(__pyx_v_self->callbacks, __pyx_t_1); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_3 = (__Pyx_PySequence_Contains(((PyObject *)__pyx_v_obj), __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_2 = (__pyx_t_3 != 0);
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con.pyx":276
 *             self.callbacks[ev_type] = {}
 *         if not obj in self.callbacks[ev_type]:
 *             self.callbacks[ev_type][obj] = []             # <<<<<<<<<<<<<<
 *         self.callbacks[ev_type][obj].append((func,args,kargs))
 * 
 */
    __pyx_t_4 = PyList_New(0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    if (unlikely(__pyx_v_self->callbacks == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_self->callbacks, __pyx_t_1); if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (unlikely(PyObject_SetItem(__pyx_t_5, ((PyObject *)__pyx_v_obj), __pyx_t_4) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/ecore_con/efl.ecore_con.pyx":277
 *         if not obj in self.callbacks[ev_type]:
 *             self.callbacks[ev_type][obj] = []
 *         self.callbacks[ev_type][obj].append((func,args,kargs))             # <<<<<<<<<<<<<<
 * 
 *         # connect a single ecore signal, one per event_type
 */
  if (unlikely(__pyx_v_self->callbacks == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_self->callbacks, __pyx_t_4); if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = PyObject_GetItem(__pyx_t_5, ((PyObject *)__pyx_v_obj)); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_INCREF(__pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_func);
  __Pyx_INCREF(__pyx_v_args);
  __Pyx_GIVEREF(__pyx_v_args);
  PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_args);
  __Pyx_INCREF(__pyx_v_kargs);
  __Pyx_GIVEREF(__pyx_v_kargs);
  PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_kargs);
  __pyx_t_6 = __Pyx_PyObject_Append(__pyx_t_4, __pyx_t_5); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":281
 *         # connect a single ecore signal, one per event_type
 *         cdef Ecore_Event_Handler* ee
 *         if not ev_type in self.handlers:             # <<<<<<<<<<<<<<
 *             ee = ecore_event_handler_add(ev_type, _con_event_filter_cb,
 *                                          <void *>self)
 */
  __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (unlikely(__pyx_v_self->handlers == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = (__Pyx_PyDict_Contains(__pyx_t_5, __pyx_v_self->handlers, Py_NE)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/ecore_con/efl.ecore_con.pyx":282
 *         cdef Ecore_Event_Handler* ee
 *         if not ev_type in self.handlers:
 *             ee = ecore_event_handler_add(ev_type, _con_event_filter_cb,             # <<<<<<<<<<<<<<
 *                                          <void *>self)
 *             self.handlers[ev_type] = <uintptr_t><void *>ee
 */
    __pyx_v_ee = ecore_event_handler_add(__pyx_v_ev_type, __pyx_f_3efl_9ecore_con__con_event_filter_cb, ((void *)__pyx_v_self));

    /* "efl/ecore_con/efl.ecore_con.pyx":284
 *             ee = ecore_event_handler_add(ev_type, _con_event_filter_cb,
 *                                          <void *>self)
 *             self.handlers[ev_type] = <uintptr_t><void *>ee             # <<<<<<<<<<<<<<
 * 
 *     cdef callback_del(self, int ev_type, Eo obj, object func, tuple args, dict kargs):
 */
    __pyx_t_5 = __Pyx_PyInt_FromSize_t(((uintptr_t)((void *)__pyx_v_ee))); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    if (unlikely(__pyx_v_self->handlers == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    if (unlikely(PyDict_SetItem(__pyx_v_self->handlers, __pyx_t_4, __pyx_t_5) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    goto __pyx_L5;
  }
  __pyx_L5:;

  /* "efl/ecore_con/efl.ecore_con.pyx":271
 *         self.handlers = {}
 * 
 *     cdef callback_add(self, int ev_type, Eo obj, object func, tuple args, dict kargs):             # <<<<<<<<<<<<<<
 *         # store the function in the callbacks dict
 *         if not ev_type in self.callbacks:
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("efl.ecore_con.ConEventFilter.callback_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pyx":286
 *             self.handlers[ev_type] = <uintptr_t><void *>ee
 * 
 *     cdef callback_del(self, int ev_type, Eo obj, object func, tuple args, dict kargs):             # <<<<<<<<<<<<<<
 *         try:
 *             self.callbacks[ev_type][obj].remove((func, args, kargs))
 */

static PyObject *__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_del(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self, int __pyx_v_ev_type, struct __pyx_obj_3efl_2eo_Eo *__pyx_v_obj, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  PyObject *__pyx_v_handler = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  int __pyx_t_9;
  int __pyx_t_10;
  int __pyx_t_11;
  uintptr_t __pyx_t_12;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_del", 0);

  /* "efl/ecore_con/efl.ecore_con.pyx":287
 * 
 *     cdef callback_del(self, int ev_type, Eo obj, object func, tuple args, dict kargs):
 *         try:             # <<<<<<<<<<<<<<
 *             self.callbacks[ev_type][obj].remove((func, args, kargs))
 *         except ValueError:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
    __Pyx_XGOTREF(__pyx_t_1);
    __Pyx_XGOTREF(__pyx_t_2);
    __Pyx_XGOTREF(__pyx_t_3);
    /*try:*/ {

      /* "efl/ecore_con/efl.ecore_con.pyx":288
 *     cdef callback_del(self, int ev_type, Eo obj, object func, tuple args, dict kargs):
 *         try:
 *             self.callbacks[ev_type][obj].remove((func, args, kargs))             # <<<<<<<<<<<<<<
 *         except ValueError:
 *             raise ValueError(
 */
      if (unlikely(__pyx_v_self->callbacks == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
      __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = __Pyx_PyDict_GetItem(__pyx_v_self->callbacks, __pyx_t_5); if (unlikely(__pyx_t_6 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;};
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_5 = PyObject_GetItem(__pyx_t_6, ((PyObject *)__pyx_v_obj)); if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;};
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_remove); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_INCREF(__pyx_v_func);
      __Pyx_GIVEREF(__pyx_v_func);
      PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_func);
      __Pyx_INCREF(__pyx_v_args);
      __Pyx_GIVEREF(__pyx_v_args);
      PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_args);
      __Pyx_INCREF(__pyx_v_kargs);
      __Pyx_GIVEREF(__pyx_v_kargs);
      PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_kargs);
      __pyx_t_7 = NULL;
      if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
        __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
        if (likely(__pyx_t_7)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
          __Pyx_INCREF(__pyx_t_7);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_6, function);
        }
      }
      if (!__pyx_t_7) {
        __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_5); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        __Pyx_GOTREF(__pyx_t_4);
      } else {
        __pyx_t_8 = PyTuple_New(1+1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        __Pyx_GOTREF(__pyx_t_8);
        __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_7); __pyx_t_7 = NULL;
        __Pyx_GIVEREF(__pyx_t_5);
        PyTuple_SET_ITEM(__pyx_t_8, 0+1, __pyx_t_5);
        __pyx_t_5 = 0;
        __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        __Pyx_GOTREF(__pyx_t_4);
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      }
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "efl/ecore_con/efl.ecore_con.pyx":289
 *         try:
 *             self.callbacks[ev_type][obj].remove((func, args, kargs))
 *         except ValueError:             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *                 "callback is not registered: %s, args=%s, kargs=%s" %
 */
    __pyx_t_9 = PyErr_ExceptionMatches(__pyx_builtin_ValueError);
    if (__pyx_t_9) {
      __Pyx_AddTraceback("efl.ecore_con.ConEventFilter.callback_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_8);

      /* "efl/ecore_con/efl.ecore_con.pyx":292
 *             raise ValueError(
 *                 "callback is not registered: %s, args=%s, kargs=%s" %
 *                 (func, args, kargs))             # <<<<<<<<<<<<<<
 * 
 *         # can delete the ecore handler?
 */
      __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_INCREF(__pyx_v_func);
      __Pyx_GIVEREF(__pyx_v_func);
      PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_func);
      __Pyx_INCREF(__pyx_v_args);
      __Pyx_GIVEREF(__pyx_v_args);
      PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_args);
      __Pyx_INCREF(__pyx_v_kargs);
      __Pyx_GIVEREF(__pyx_v_kargs);
      PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_kargs);

      /* "efl/ecore_con/efl.ecore_con.pyx":291
 *         except ValueError:
 *             raise ValueError(
 *                 "callback is not registered: %s, args=%s, kargs=%s" %             # <<<<<<<<<<<<<<
 *                 (func, args, kargs))
 * 
 */
      __pyx_t_7 = __Pyx_PyString_Format(__pyx_kp_s_callback_is_not_registered_s_arg, __pyx_t_5); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 291; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

      /* "efl/ecore_con/efl.ecore_con.pyx":290
 *             self.callbacks[ev_type][obj].remove((func, args, kargs))
 *         except ValueError:
 *             raise ValueError(             # <<<<<<<<<<<<<<
 *                 "callback is not registered: %s, args=%s, kargs=%s" %
 *                 (func, args, kargs))
 */
      __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GIVEREF(__pyx_t_7);
      PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7);
      __pyx_t_7 = 0;
      __pyx_t_7 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_Raise(__pyx_t_7, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L1_error;
    __pyx_L10_try_end:;
  }

  /* "efl/ecore_con/efl.ecore_con.pyx":295
 * 
 *         # can delete the ecore handler?
 *         if self.callbacks.get(ev_type) and self.callbacks.get(ev_type).get(obj):             # <<<<<<<<<<<<<<
 *             return
 *         if ev_type in self.handlers:
 */
  if (unlikely(__pyx_v_self->callbacks == Py_None)) {
    PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "get");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_8 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_8);
  __pyx_t_6 = __Pyx_PyDict_GetItemDefault(__pyx_v_self->callbacks, __pyx_t_8, Py_None); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
  __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely(__pyx_t_11 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  if (__pyx_t_11) {
  } else {
    __pyx_t_10 = __pyx_t_11;
    goto __pyx_L14_bool_binop_done;
  }
  if (unlikely(__pyx_v_self->callbacks == Py_None)) {
    PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "get");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_8 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_8);
  __pyx_t_4 = __Pyx_PyDict_GetItemDefault(__pyx_v_self->callbacks, __pyx_t_8, Py_None); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
  __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_get); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_8);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_8))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_8);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_8, function);
    }
  }
  if (!__pyx_t_4) {
    __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_8, ((PyObject *)__pyx_v_obj)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_6);
  } else {
    __pyx_t_7 = PyTuple_New(1+1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_4); __pyx_t_4 = NULL;
    __Pyx_INCREF(((PyObject *)__pyx_v_obj));
    __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
    PyTuple_SET_ITEM(__pyx_t_7, 0+1, ((PyObject *)__pyx_v_obj));
    __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_t_7, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
  }
  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
  __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely(__pyx_t_11 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __pyx_t_10 = __pyx_t_11;
  __pyx_L14_bool_binop_done:;
  if (__pyx_t_10) {

    /* "efl/ecore_con/efl.ecore_con.pyx":296
 *         # can delete the ecore handler?
 *         if self.callbacks.get(ev_type) and self.callbacks.get(ev_type).get(obj):
 *             return             # <<<<<<<<<<<<<<
 *         if ev_type in self.handlers:
 *             handler = self.handlers.pop(ev_type)
 */
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;
  }

  /* "efl/ecore_con/efl.ecore_con.pyx":297
 *         if self.callbacks.get(ev_type) and self.callbacks.get(ev_type).get(obj):
 *             return
 *         if ev_type in self.handlers:             # <<<<<<<<<<<<<<
 *             handler = self.handlers.pop(ev_type)
 *             ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)
 */
  __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (unlikely(__pyx_v_self->handlers == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_10 = (__Pyx_PyDict_Contains(__pyx_t_6, __pyx_v_self->handlers, Py_EQ)); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __pyx_t_11 = (__pyx_t_10 != 0);
  if (__pyx_t_11) {

    /* "efl/ecore_con/efl.ecore_con.pyx":298
 *             return
 *         if ev_type in self.handlers:
 *             handler = self.handlers.pop(ev_type)             # <<<<<<<<<<<<<<
 *             ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)
 * 
 */
    __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->handlers, __pyx_n_s_pop); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_8);
    __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_ev_type); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_4 = NULL;
    if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_8))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_8);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_8, function);
      }
    }
    if (!__pyx_t_4) {
      __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_8, __pyx_t_7); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_GOTREF(__pyx_t_6);
    } else {
      __pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4); __pyx_t_4 = NULL;
      __Pyx_GIVEREF(__pyx_t_7);
      PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_7);
      __pyx_t_7 = 0;
      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_t_5, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    }
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
    __pyx_v_handler = __pyx_t_6;
    __pyx_t_6 = 0;

    /* "efl/ecore_con/efl.ecore_con.pyx":299
 *         if ev_type in self.handlers:
 *             handler = self.handlers.pop(ev_type)
 *             ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)             # <<<<<<<<<<<<<<
 * 
 *     cdef callback_del_full(self, Eo obj):
 */
    __pyx_t_12 = __Pyx_PyInt_As_size_t(__pyx_v_handler); if (unlikely((__pyx_t_12 == (uintptr_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    ecore_event_handler_del(((Ecore_Event_Handler *)((uintptr_t)__pyx_t_12)));
    goto __pyx_L16;
  }
  __pyx_L16:;

  /* "efl/ecore_con/efl.ecore_con.pyx":286
 *             self.handlers[ev_type] = <uintptr_t><void *>ee
 * 
 *     cdef callback_del(self, int ev_type, Eo obj, object func, tuple args, dict kargs):             # <<<<<<<<<<<<<<
 *         try:
 *             self.callbacks[ev_type][obj].remove((func, args, kargs))
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_AddTraceback("efl.ecore_con.ConEventFilter.callback_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_handler);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pyx":301
 *             ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)
 * 
 *     cdef callback_del_full(self, Eo obj):             # <<<<<<<<<<<<<<
 *         for ev_type in self.callbacks:
 *             if obj in self.callbacks[ev_type]:
 */

static PyObject *__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_del_full(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *__pyx_v_self, struct __pyx_obj_3efl_2eo_Eo *__pyx_v_obj) {
  PyObject *__pyx_v_ev_type = NULL;
  PyObject *__pyx_v_handler = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  Py_ssize_t __pyx_t_2;
  Py_ssize_t __pyx_t_3;
  int __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_t_8;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  Py_ssize_t __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  int __pyx_t_13;
  uintptr_t __pyx_t_14;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_del_full", 0);

  /* "efl/ecore_con/efl.ecore_con.pyx":302
 * 
 *     cdef callback_del_full(self, Eo obj):
 *         for ev_type in self.callbacks:             # <<<<<<<<<<<<<<
 *             if obj in self.callbacks[ev_type]:
 *                 # remove all the cbs for the obj
 */
  __pyx_t_2 = 0;
  if (unlikely(__pyx_v_self->callbacks == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_5 = __Pyx_dict_iterator(__pyx_v_self->callbacks, 1, ((PyObject *)NULL), (&__pyx_t_3), (&__pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_1);
  __pyx_t_1 = __pyx_t_5;
  __pyx_t_5 = 0;
  while (1) {
    __pyx_t_6 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_3, &__pyx_t_2, &__pyx_t_5, NULL, NULL, __pyx_t_4);
    if (unlikely(__pyx_t_6 == 0)) break;
    if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_XDECREF_SET(__pyx_v_ev_type, __pyx_t_5);
    __pyx_t_5 = 0;

    /* "efl/ecore_con/efl.ecore_con.pyx":303
 *     cdef callback_del_full(self, Eo obj):
 *         for ev_type in self.callbacks:
 *             if obj in self.callbacks[ev_type]:             # <<<<<<<<<<<<<<
 *                 # remove all the cbs for the obj
 *                 self.callbacks[ev_type].pop(obj, None)
 */
    if (unlikely(__pyx_v_self->callbacks == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_self->callbacks, __pyx_v_ev_type); if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_7 = (__Pyx_PySequence_Contains(((PyObject *)__pyx_v_obj), __pyx_t_5, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_8 = (__pyx_t_7 != 0);
    if (__pyx_t_8) {

      /* "efl/ecore_con/efl.ecore_con.pyx":305
 *             if obj in self.callbacks[ev_type]:
 *                 # remove all the cbs for the obj
 *                 self.callbacks[ev_type].pop(obj, None)             # <<<<<<<<<<<<<<
 * 
 *                 # can delete the ecore handler?
 */
      if (unlikely(__pyx_v_self->callbacks == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      }
      __pyx_t_9 = __Pyx_PyDict_GetItem(__pyx_v_self->callbacks, __pyx_v_ev_type); if (unlikely(__pyx_t_9 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
      __Pyx_GOTREF(__pyx_t_9);
      __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_pop); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_10);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __pyx_t_9 = NULL;
      __pyx_t_11 = 0;
      if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_10))) {
        __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_10);
        if (likely(__pyx_t_9)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_10);
          __Pyx_INCREF(__pyx_t_9);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_10, function);
          __pyx_t_11 = 1;
        }
      }
      __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_12);
      if (__pyx_t_9) {
        __Pyx_GIVEREF(__pyx_t_9); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_9); __pyx_t_9 = NULL;
      }
      __Pyx_INCREF(((PyObject *)__pyx_v_obj));
      __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
      PyTuple_SET_ITEM(__pyx_t_12, 0+__pyx_t_11, ((PyObject *)__pyx_v_obj));
      __Pyx_INCREF(Py_None);
      __Pyx_GIVEREF(Py_None);
      PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_11, Py_None);
      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_12, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

      /* "efl/ecore_con/efl.ecore_con.pyx":308
 * 
 *                 # can delete the ecore handler?
 *                 if len(self.callbacks[ev_type]) < 1 and ev_type in self.handlers:             # <<<<<<<<<<<<<<
 *                     handler = self.handlers.pop(ev_type)
 *                     ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)
 */
      if (unlikely(__pyx_v_self->callbacks == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      }
      __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_self->callbacks, __pyx_v_ev_type); if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_11 = PyObject_Length(__pyx_t_5); if (unlikely(__pyx_t_11 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_7 = ((__pyx_t_11 < 1) != 0);
      if (__pyx_t_7) {
      } else {
        __pyx_t_8 = __pyx_t_7;
        goto __pyx_L7_bool_binop_done;
      }
      if (unlikely(__pyx_v_self->handlers == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      }
      __pyx_t_7 = (__Pyx_PyDict_Contains(__pyx_v_ev_type, __pyx_v_self->handlers, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __pyx_t_13 = (__pyx_t_7 != 0);
      __pyx_t_8 = __pyx_t_13;
      __pyx_L7_bool_binop_done:;
      if (__pyx_t_8) {

        /* "efl/ecore_con/efl.ecore_con.pyx":309
 *                 # can delete the ecore handler?
 *                 if len(self.callbacks[ev_type]) < 1 and ev_type in self.handlers:
 *                     handler = self.handlers.pop(ev_type)             # <<<<<<<<<<<<<<
 *                     ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)
 * 
 */
        __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->handlers, __pyx_n_s_pop); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_10);
        __pyx_t_12 = NULL;
        if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_10))) {
          __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_10);
          if (likely(__pyx_t_12)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_10);
            __Pyx_INCREF(__pyx_t_12);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_10, function);
          }
        }
        if (!__pyx_t_12) {
          __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_t_10, __pyx_v_ev_type); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __Pyx_GOTREF(__pyx_t_5);
        } else {
          __pyx_t_9 = PyTuple_New(1+1); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __Pyx_GOTREF(__pyx_t_9);
          __Pyx_GIVEREF(__pyx_t_12); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_12); __pyx_t_12 = NULL;
          __Pyx_INCREF(__pyx_v_ev_type);
          __Pyx_GIVEREF(__pyx_v_ev_type);
          PyTuple_SET_ITEM(__pyx_t_9, 0+1, __pyx_v_ev_type);
          __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_9, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
          __Pyx_GOTREF(__pyx_t_5);
          __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        }
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_XDECREF_SET(__pyx_v_handler, __pyx_t_5);
        __pyx_t_5 = 0;

        /* "efl/ecore_con/efl.ecore_con.pyx":310
 *                 if len(self.callbacks[ev_type]) < 1 and ev_type in self.handlers:
 *                     handler = self.handlers.pop(ev_type)
 *                     ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)             # <<<<<<<<<<<<<<
 * 
 * # name suggestions are welcome for this unusual "singleton" instance
 */
        __pyx_t_14 = __Pyx_PyInt_As_size_t(__pyx_v_handler); if (unlikely((__pyx_t_14 == (uintptr_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        ecore_event_handler_del(((Ecore_Event_Handler *)((uintptr_t)__pyx_t_14)));
        goto __pyx_L6;
      }
      __pyx_L6:;
      goto __pyx_L5;
    }
    __pyx_L5:;
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":301
 *             ecore_event_handler_del(<Ecore_Event_Handler *><uintptr_t>handler)
 * 
 *     cdef callback_del_full(self, Eo obj):             # <<<<<<<<<<<<<<
 *         for ev_type in self.callbacks:
 *             if obj in self.callbacks[ev_type]:
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_AddTraceback("efl.ecore_con.ConEventFilter.callback_del_full", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_ev_type);
  __Pyx_XDECREF(__pyx_v_handler);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_lookup.pxi":19
 * 
 * 
 * cdef void _con_dns_lookup_cb(const char *canonname, const char *ip, sockaddr *sockaddr, int addrlen, void *data) with gil:             # <<<<<<<<<<<<<<
 *     cdef Lookup self = <Lookup>data
 * 
 */

static void __pyx_f_3efl_9ecore_con__con_dns_lookup_cb(char const *__pyx_v_canonname, char const *__pyx_v_ip, CYTHON_UNUSED struct sockaddr *__pyx_v_sockaddr, CYTHON_UNUSED int __pyx_v_addrlen, void *__pyx_v_data) {
  struct __pyx_obj_3efl_9ecore_con_Lookup *__pyx_v_self = 0;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_con_dns_lookup_cb", 0);

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":20
 * 
 * cdef void _con_dns_lookup_cb(const char *canonname, const char *ip, sockaddr *sockaddr, int addrlen, void *data) with gil:
 *     cdef Lookup self = <Lookup>data             # <<<<<<<<<<<<<<
 * 
 *     try:
 */
  __pyx_t_1 = ((PyObject *)__pyx_v_data);
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_self = ((struct __pyx_obj_3efl_9ecore_con_Lookup *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":22
 *     cdef Lookup self = <Lookup>data
 * 
 *     try:             # <<<<<<<<<<<<<<
 *         # TODO read sockaddr and replace the placeholder None with something
 *         #      more usefull from the sockaddr struct.
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_2, &__pyx_t_3, &__pyx_t_4);
    __Pyx_XGOTREF(__pyx_t_2);
    __Pyx_XGOTREF(__pyx_t_3);
    __Pyx_XGOTREF(__pyx_t_4);
    /*try:*/ {

      /* "efl/ecore_con/efl.ecore_con_lookup.pxi":25
 *         # TODO read sockaddr and replace the placeholder None with something
 *         #      more usefull from the sockaddr struct.
 *         self.done_cb(_ctouni(canonname), _ctouni(ip), None, *self.args, **self.kargs)             # <<<<<<<<<<<<<<
 *     except Exception:
 *         traceback.print_exc()
 */
      __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(__pyx_v_canonname); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_5 = __pyx_f_3efl_5utils_11conversions__ctouni(__pyx_v_ip); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GIVEREF(__pyx_t_1);
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
      __Pyx_GIVEREF(__pyx_t_5);
      PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_5);
      __Pyx_INCREF(Py_None);
      __Pyx_GIVEREF(Py_None);
      PyTuple_SET_ITEM(__pyx_t_6, 2, Py_None);
      __pyx_t_1 = 0;
      __pyx_t_5 = 0;
      __pyx_t_5 = PySequence_Tuple(__pyx_v_self->args); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_1 = PyNumber_Add(__pyx_t_6, __pyx_t_5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(__pyx_v_self->kargs == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType");
        {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
      __pyx_t_5 = __pyx_v_self->kargs;
      __Pyx_INCREF(__pyx_t_5);
      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_v_self->done_cb, __pyx_t_1, __pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    }
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;

    /* "efl/ecore_con/efl.ecore_con_lookup.pxi":26
 *         #      more usefull from the sockaddr struct.
 *         self.done_cb(_ctouni(canonname), _ctouni(ip), None, *self.args, **self.kargs)
 *     except Exception:             # <<<<<<<<<<<<<<
 *         traceback.print_exc()
 * 
 */
    __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
    if (__pyx_t_7) {
      __Pyx_AddTraceback("efl.ecore_con._con_dns_lookup_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_1) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_1);

      /* "efl/ecore_con/efl.ecore_con_lookup.pxi":27
 *         self.done_cb(_ctouni(canonname), _ctouni(ip), None, *self.args, **self.kargs)
 *     except Exception:
 *         traceback.print_exc()             # <<<<<<<<<<<<<<
 * 
 *     Py_DECREF(self)
 */
      __pyx_t_9 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_9);
      __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_10);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __pyx_t_9 = NULL;
      if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_10))) {
        __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_10);
        if (likely(__pyx_t_9)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_10);
          __Pyx_INCREF(__pyx_t_9);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_10, function);
        }
      }
      if (__pyx_t_9) {
        __pyx_t_8 = __Pyx_PyObject_CallOneArg(__pyx_t_10, __pyx_t_9); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      } else {
        __pyx_t_8 = __Pyx_PyObject_CallNoArg(__pyx_t_10); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      }
      __Pyx_GOTREF(__pyx_t_8);
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
    goto __pyx_L1_error;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
    __pyx_L10_try_end:;
  }

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":29
 *         traceback.print_exc()
 * 
 *     Py_DECREF(self)             # <<<<<<<<<<<<<<
 * 
 * 
 */
  Py_DECREF(((PyObject *)__pyx_v_self));

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":19
 * 
 * 
 * cdef void _con_dns_lookup_cb(const char *canonname, const char *ip, sockaddr *sockaddr, int addrlen, void *data) with gil:             # <<<<<<<<<<<<<<
 *     cdef Lookup self = <Lookup>data
 * 
 */

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_WriteUnraisable("efl.ecore_con._con_dns_lookup_cb", __pyx_clineno, __pyx_lineno, __pyx_filename, 0, 0);
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_self);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
}

/* "efl/ecore_con/efl.ecore_con_lookup.pxi":33
 * 
 * cdef class Lookup(object):
 *     def __init__(self, name, done_cb, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Lookup()
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_6Lookup_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_6Lookup___init__[] = "Lookup()\n\n        A simple class to perform asynchronous DNS lookups.\n\n        :param string name: The hostname to query\n        :param callable done_cb: The function to call when done\n        :param \\*args: Any other arguments will be passed back in ``done_cb``\n        :param \\**kargs: Any other keywords arguments will be passed back in ``done_cb``\n\n        .. versionadded:: 1.17\n\n        Just create an instance and give a callback function to be called\n        when the operation is complete.\n\n        This class performs a DNS lookup on the hostname specified by\n        `name`, then calls `done_cb` with the result and the data given as\n        parameter. The result will be given to the done_cb as follows:\n\n        **expected `done_cb` signature**::\n\n            func(canonname, ip, sockaddr)\n\n        where:\n            * **canonname** (string) is the canonical domain name\n            * **ip** (string) is the recolved ip address\n            * **sockaddr** (None) is a placeholder for future expansion\n\n\n\n        **Usage example**::\n\n            import ecore_con\n\n            def done_cb(canonname, ip, sockaddr):\n                print(canonname)\n                print(ip)\n\n            ecore_con.Lookup('example.com', done_cb)\n\n        \n        ";
#if CYTHON_COMPILING_IN_CPYTHON
struct wrapperbase __pyx_wrapperbase_3efl_9ecore_con_6Lookup___init__;
#endif
static int __pyx_pw_3efl_9ecore_con_6Lookup_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_name = 0;
  PyObject *__pyx_v_done_cb = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
  __Pyx_GOTREF(__pyx_v_kargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 2) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
      __Pyx_RefNannyFinishContext();
      return -1;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name,&__pyx_n_s_done_cb,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_done_cb)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 2, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_name = values[0];
    __pyx_v_done_cb = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Lookup.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_6Lookup___init__(((struct __pyx_obj_3efl_9ecore_con_Lookup *)__pyx_v_self), __pyx_v_name, __pyx_v_done_cb, __pyx_v_args, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_6Lookup___init__(struct __pyx_obj_3efl_9ecore_con_Lookup *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_done_cb, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);
  __Pyx_INCREF(__pyx_v_name);

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":76
 *         """
 * 
 *         if not callable(done_cb):             # <<<<<<<<<<<<<<
 *             raise TypeError("Parameter 'done_cb' must be callable")
 * 
 */
  __pyx_t_1 = __Pyx_PyCallable_Check(__pyx_v_done_cb); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con_lookup.pxi":77
 * 
 *         if not callable(done_cb):
 *             raise TypeError("Parameter 'done_cb' must be callable")             # <<<<<<<<<<<<<<
 * 
 *         self.done_cb = done_cb
 */
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    {__pyx_filename = __pyx_f[1]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":79
 *             raise TypeError("Parameter 'done_cb' must be callable")
 * 
 *         self.done_cb = done_cb             # <<<<<<<<<<<<<<
 *         self.args = args
 *         self.kargs = kargs
 */
  __Pyx_INCREF(__pyx_v_done_cb);
  __Pyx_GIVEREF(__pyx_v_done_cb);
  __Pyx_GOTREF(__pyx_v_self->done_cb);
  __Pyx_DECREF(__pyx_v_self->done_cb);
  __pyx_v_self->done_cb = __pyx_v_done_cb;

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":80
 * 
 *         self.done_cb = done_cb
 *         self.args = args             # <<<<<<<<<<<<<<
 *         self.kargs = kargs
 * 
 */
  __Pyx_INCREF(__pyx_v_args);
  __Pyx_GIVEREF(__pyx_v_args);
  __Pyx_GOTREF(__pyx_v_self->args);
  __Pyx_DECREF(__pyx_v_self->args);
  __pyx_v_self->args = __pyx_v_args;

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":81
 *         self.done_cb = done_cb
 *         self.args = args
 *         self.kargs = kargs             # <<<<<<<<<<<<<<
 * 
 *         if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name)
 */
  __Pyx_INCREF(__pyx_v_kargs);
  __Pyx_GIVEREF(__pyx_v_kargs);
  __Pyx_GOTREF(__pyx_v_self->kargs);
  __Pyx_DECREF(__pyx_v_self->kargs);
  __pyx_v_self->kargs = __pyx_v_kargs;

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":83
 *         self.kargs = kargs
 * 
 *         if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name)             # <<<<<<<<<<<<<<
 *         ecore_con_lookup(<const char *>name if name is not None else NULL,
 *                          _con_dns_lookup_cb, <void*>self)
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_name); 
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_name, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":84
 * 
 *         if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name)
 *         ecore_con_lookup(<const char *>name if name is not None else NULL,             # <<<<<<<<<<<<<<
 *                          _con_dns_lookup_cb, <void*>self)
 * 
 */
  __pyx_t_1 = (__pyx_v_name != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":85
 *         if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name)
 *         ecore_con_lookup(<const char *>name if name is not None else NULL,
 *                          _con_dns_lookup_cb, <void*>self)             # <<<<<<<<<<<<<<
 * 
 *         Py_INCREF(self)
 */
  ecore_con_lookup(__pyx_t_4, __pyx_f_3efl_9ecore_con__con_dns_lookup_cb, ((void *)__pyx_v_self));

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":87
 *                          _con_dns_lookup_cb, <void*>self)
 * 
 *         Py_INCREF(self)             # <<<<<<<<<<<<<<
 * 
 */
  Py_INCREF(((PyObject *)__pyx_v_self));

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":33
 * 
 * cdef class Lookup(object):
 *     def __init__(self, name, done_cb, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Lookup()
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Lookup.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_name);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":36
 * 
 *     """
 *     cdef int _set_obj(self, void *ev) except 0:             # <<<<<<<<<<<<<<
 *         cdef Ecore_Con_Event_Url_Progress *event
 *         event = <Ecore_Con_Event_Url_Progress*>ev
 */

static int __pyx_f_3efl_9ecore_con_16EventUrlProgress__set_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self, void *__pyx_v_ev) {
  Ecore_Con_Event_Url_Progress *__pyx_v_event;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  double __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_set_obj", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":38
 *     cdef int _set_obj(self, void *ev) except 0:
 *         cdef Ecore_Con_Event_Url_Progress *event
 *         event = <Ecore_Con_Event_Url_Progress*>ev             # <<<<<<<<<<<<<<
 * 
 *         self.url = object_from_instance(event.url_con)
 */
  __pyx_v_event = ((Ecore_Con_Event_Url_Progress *)__pyx_v_ev);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":40
 *         event = <Ecore_Con_Event_Url_Progress*>ev
 * 
 *         self.url = object_from_instance(event.url_con)             # <<<<<<<<<<<<<<
 *         self.down_total = event.down.total
 *         self.down_now = event.down.now
 */
  __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_event->url_con); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_9ecore_con_Url))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->url);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->url));
  __pyx_v_self->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":41
 * 
 *         self.url = object_from_instance(event.url_con)
 *         self.down_total = event.down.total             # <<<<<<<<<<<<<<
 *         self.down_now = event.down.now
 *         self.up_total = event.up.total
 */
  __pyx_t_2 = __pyx_v_event->down.total;
  __pyx_v_self->down_total = __pyx_t_2;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":42
 *         self.url = object_from_instance(event.url_con)
 *         self.down_total = event.down.total
 *         self.down_now = event.down.now             # <<<<<<<<<<<<<<
 *         self.up_total = event.up.total
 *         self.up_now = event.up.now
 */
  __pyx_t_2 = __pyx_v_event->down.now;
  __pyx_v_self->down_now = __pyx_t_2;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":43
 *         self.down_total = event.down.total
 *         self.down_now = event.down.now
 *         self.up_total = event.up.total             # <<<<<<<<<<<<<<
 *         self.up_now = event.up.now
 *         return 1
 */
  __pyx_t_2 = __pyx_v_event->up.total;
  __pyx_v_self->up_total = __pyx_t_2;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":44
 *         self.down_now = event.down.now
 *         self.up_total = event.up.total
 *         self.up_now = event.up.now             # <<<<<<<<<<<<<<
 *         return 1
 * 
 */
  __pyx_t_2 = __pyx_v_event->up.now;
  __pyx_v_self->up_now = __pyx_t_2;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":45
 *         self.up_total = event.up.total
 *         self.up_now = event.up.now
 *         return 1             # <<<<<<<<<<<<<<
 * 
 *     cdef object _get_obj(self):
 */
  __pyx_r = 1;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":36
 * 
 *     """
 *     cdef int _set_obj(self, void *ev) except 0:             # <<<<<<<<<<<<<<
 *         cdef Ecore_Con_Event_Url_Progress *event
 *         event = <Ecore_Con_Event_Url_Progress*>ev
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlProgress._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":47
 *         return 1
 * 
 *     cdef object _get_obj(self):             # <<<<<<<<<<<<<<
 *         return self.url
 * 
 */

static PyObject *__pyx_f_3efl_9ecore_con_16EventUrlProgress__get_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_get_obj", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":48
 * 
 *     cdef object _get_obj(self):
 *         return self.url             # <<<<<<<<<<<<<<
 * 
 * cdef class EventUrlComplete(Event):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->url));
  __pyx_r = ((PyObject *)__pyx_v_self->url);
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":47
 *         return 1
 * 
 *     cdef object _get_obj(self):             # <<<<<<<<<<<<<<
 *         return self.url
 * 
 */

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":161
 * 
 * cdef class EventUrlProgress(Event):
 *     cdef readonly Url url             # <<<<<<<<<<<<<<
 *     cdef readonly double down_total
 *     cdef readonly double down_now
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_3url_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_3url_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_16EventUrlProgress_3url___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_3url___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->url));
  __pyx_r = ((PyObject *)__pyx_v_self->url);
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":162
 * cdef class EventUrlProgress(Event):
 *     cdef readonly Url url
 *     cdef readonly double down_total             # <<<<<<<<<<<<<<
 *     cdef readonly double down_now
 *     cdef readonly double up_total
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_10down_total_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_10down_total_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_16EventUrlProgress_10down_total___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_10down_total___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->down_total); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlProgress.down_total.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":163
 *     cdef readonly Url url
 *     cdef readonly double down_total
 *     cdef readonly double down_now             # <<<<<<<<<<<<<<
 *     cdef readonly double up_total
 *     cdef readonly double up_now
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_8down_now_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_8down_now_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_16EventUrlProgress_8down_now___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_8down_now___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->down_now); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlProgress.down_now.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":164
 *     cdef readonly double down_total
 *     cdef readonly double down_now
 *     cdef readonly double up_total             # <<<<<<<<<<<<<<
 *     cdef readonly double up_now
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_8up_total_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_8up_total_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_16EventUrlProgress_8up_total___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_8up_total___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->up_total); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlProgress.up_total.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":165
 *     cdef readonly double down_now
 *     cdef readonly double up_total
 *     cdef readonly double up_now             # <<<<<<<<<<<<<<
 * 
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_6up_now_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlProgress_6up_now_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_16EventUrlProgress_6up_now___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlProgress_6up_now___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->up_now); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlProgress.up_now.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":60
 * 
 *     """
 *     cdef int _set_obj(self, void *ev) except 0:             # <<<<<<<<<<<<<<
 *         cdef Ecore_Con_Event_Url_Complete *event
 *         event = <Ecore_Con_Event_Url_Complete*>ev
 */

static int __pyx_f_3efl_9ecore_con_16EventUrlComplete__set_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self, void *__pyx_v_ev) {
  Ecore_Con_Event_Url_Complete *__pyx_v_event;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_set_obj", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":62
 *     cdef int _set_obj(self, void *ev) except 0:
 *         cdef Ecore_Con_Event_Url_Complete *event
 *         event = <Ecore_Con_Event_Url_Complete*>ev             # <<<<<<<<<<<<<<
 * 
 *         self.url = object_from_instance(event.url_con)
 */
  __pyx_v_event = ((Ecore_Con_Event_Url_Complete *)__pyx_v_ev);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":64
 *         event = <Ecore_Con_Event_Url_Complete*>ev
 * 
 *         self.url = object_from_instance(event.url_con)             # <<<<<<<<<<<<<<
 *         self.status = event.status
 *         return 1
 */
  __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_event->url_con); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_9ecore_con_Url))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->url);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->url));
  __pyx_v_self->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":65
 * 
 *         self.url = object_from_instance(event.url_con)
 *         self.status = event.status             # <<<<<<<<<<<<<<
 *         return 1
 * 
 */
  __pyx_t_2 = __pyx_v_event->status;
  __pyx_v_self->status = __pyx_t_2;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":66
 *         self.url = object_from_instance(event.url_con)
 *         self.status = event.status
 *         return 1             # <<<<<<<<<<<<<<
 * 
 *     cdef object _get_obj(self):
 */
  __pyx_r = 1;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":60
 * 
 *     """
 *     cdef int _set_obj(self, void *ev) except 0:             # <<<<<<<<<<<<<<
 *         cdef Ecore_Con_Event_Url_Complete *event
 *         event = <Ecore_Con_Event_Url_Complete*>ev
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlComplete._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":68
 *         return 1
 * 
 *     cdef object _get_obj(self):             # <<<<<<<<<<<<<<
 *         return self.url
 * 
 */

static PyObject *__pyx_f_3efl_9ecore_con_16EventUrlComplete__get_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_get_obj", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":69
 * 
 *     cdef object _get_obj(self):
 *         return self.url             # <<<<<<<<<<<<<<
 * 
 * cdef class EventUrlData(Event):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->url));
  __pyx_r = ((PyObject *)__pyx_v_self->url);
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":68
 *         return 1
 * 
 *     cdef object _get_obj(self):             # <<<<<<<<<<<<<<
 *         return self.url
 * 
 */

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":156
 * 
 * cdef class EventUrlComplete(Event):
 *     cdef readonly Url url             # <<<<<<<<<<<<<<
 *     cdef readonly int status
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlComplete_3url_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlComplete_3url_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_16EventUrlComplete_3url___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlComplete_3url___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->url));
  __pyx_r = ((PyObject *)__pyx_v_self->url);
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":157
 * cdef class EventUrlComplete(Event):
 *     cdef readonly Url url
 *     cdef readonly int status             # <<<<<<<<<<<<<<
 * 
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlComplete_6status_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_16EventUrlComplete_6status_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_16EventUrlComplete_6status___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_16EventUrlComplete_6status___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->status); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlComplete.status.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":86
 * 
 *     """
 *     cdef int _set_obj(self, void *ev) except 0:             # <<<<<<<<<<<<<<
 *         cdef Ecore_Con_Event_Url_Data *event
 *         event = <Ecore_Con_Event_Url_Data*>ev
 */

static int __pyx_f_3efl_9ecore_con_12EventUrlData__set_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self, void *__pyx_v_ev) {
  Ecore_Con_Event_Url_Data *__pyx_v_event;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_set_obj", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":88
 *     cdef int _set_obj(self, void *ev) except 0:
 *         cdef Ecore_Con_Event_Url_Data *event
 *         event = <Ecore_Con_Event_Url_Data*>ev             # <<<<<<<<<<<<<<
 * 
 *         self.url = object_from_instance(event.url_con)
 */
  __pyx_v_event = ((Ecore_Con_Event_Url_Data *)__pyx_v_ev);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":90
 *         event = <Ecore_Con_Event_Url_Data*>ev
 * 
 *         self.url = object_from_instance(event.url_con)             # <<<<<<<<<<<<<<
 *         self.size = event.size
 *         self.data = event.data[:event.size] #raw string copy
 */
  __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_event->url_con); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_9ecore_con_Url))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->url);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->url));
  __pyx_v_self->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":91
 * 
 *         self.url = object_from_instance(event.url_con)
 *         self.size = event.size             # <<<<<<<<<<<<<<
 *         self.data = event.data[:event.size] #raw string copy
 *         return 1
 */
  __pyx_t_2 = __pyx_v_event->size;
  __pyx_v_self->size = __pyx_t_2;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":92
 *         self.url = object_from_instance(event.url_con)
 *         self.size = event.size
 *         self.data = event.data[:event.size] #raw string copy             # <<<<<<<<<<<<<<
 *         return 1
 * 
 */
  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_event->data) + 0, __pyx_v_event->size - 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->data);
  __Pyx_DECREF(__pyx_v_self->data);
  __pyx_v_self->data = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":93
 *         self.size = event.size
 *         self.data = event.data[:event.size] #raw string copy
 *         return 1             # <<<<<<<<<<<<<<
 * 
 *     cdef object _get_obj(self):
 */
  __pyx_r = 1;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":86
 * 
 *     """
 *     cdef int _set_obj(self, void *ev) except 0:             # <<<<<<<<<<<<<<
 *         cdef Ecore_Con_Event_Url_Data *event
 *         event = <Ecore_Con_Event_Url_Data*>ev
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlData._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":95
 *         return 1
 * 
 *     cdef object _get_obj(self):             # <<<<<<<<<<<<<<
 *         return self.url
 * 
 */

static PyObject *__pyx_f_3efl_9ecore_con_12EventUrlData__get_obj(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_get_obj", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":96
 * 
 *     cdef object _get_obj(self):
 *         return self.url             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->url));
  __pyx_r = ((PyObject *)__pyx_v_self->url);
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":95
 *         return 1
 * 
 *     cdef object _get_obj(self):             # <<<<<<<<<<<<<<
 *         return self.url
 * 
 */

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":169
 * 
 * cdef class EventUrlData(Event):
 *     cdef readonly Url url             # <<<<<<<<<<<<<<
 *     cdef readonly int size
 *     cdef readonly bytes data
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_12EventUrlData_3url_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_12EventUrlData_3url_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_12EventUrlData_3url___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlData *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_12EventUrlData_3url___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->url));
  __pyx_r = ((PyObject *)__pyx_v_self->url);
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":170
 * cdef class EventUrlData(Event):
 *     cdef readonly Url url
 *     cdef readonly int size             # <<<<<<<<<<<<<<
 *     cdef readonly bytes data
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_12EventUrlData_4size_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_12EventUrlData_4size_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_12EventUrlData_4size___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlData *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_12EventUrlData_4size___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.EventUrlData.size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con.pxd":171
 *     cdef readonly Url url
 *     cdef readonly int size
 *     cdef readonly bytes data             # <<<<<<<<<<<<<<
 * 
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_12EventUrlData_4data_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_12EventUrlData_4data_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_12EventUrlData_4data___get__(((struct __pyx_obj_3efl_9ecore_con_EventUrlData *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_12EventUrlData_4data___get__(struct __pyx_obj_3efl_9ecore_con_EventUrlData *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->data);
  __pyx_r = __pyx_v_self->data;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":198
 * 
 *     """
 *     def __init__(self, url, custom_request=None, **kargs):             # <<<<<<<<<<<<<<
 *         """Url(...)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url___init__[] = "Url(...)\n\n        :param url: URL that will receive requests.\n        :type url: string\n        :param custom_request: Custom request (e.g. GET, POST, HEAD, PUT, HEAD,\n                               SUBSCRIBE and other obscure HTTP requests)\n        :type custom_request: string\n        :param \\**kwargs: All the remaining keyword arguments are interpreted\n                          as properties of the instance\n\n        .. versionadded:: 1.17\n\n        ";
#if CYTHON_COMPILING_IN_CPYTHON
struct wrapperbase __pyx_wrapperbase_3efl_9ecore_con_3Url___init__;
#endif
static int __pyx_pw_3efl_9ecore_con_3Url_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_url = 0;
  PyObject *__pyx_v_custom_request = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
  __Pyx_GOTREF(__pyx_v_kargs);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_url,&__pyx_n_s_custom_request,0};
    PyObject* values[2] = {0,0};
    values[1] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_url)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_custom_request);
          if (value) { values[1] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_url = values[0];
    __pyx_v_custom_request = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Url.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url___init__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_url, __pyx_v_custom_request, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url___init__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_url, PyObject *__pyx_v_custom_request, PyObject *__pyx_v_kargs) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_t_6;
  char const *__pyx_t_7;
  char const *__pyx_t_8;
  char const *__pyx_t_9;
  char const *__pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);
  __Pyx_INCREF(__pyx_v_url);
  __Pyx_INCREF(__pyx_v_custom_request);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":212
 * 
 *         """
 *         if isinstance(url, unicode): url = PyUnicode_AsUTF8String(url)             # <<<<<<<<<<<<<<
 *         if custom_request is None:
 *             self._set_obj(ecore_con_url_new(
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_url); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_url); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_url, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":213
 *         """
 *         if isinstance(url, unicode): url = PyUnicode_AsUTF8String(url)
 *         if custom_request is None:             # <<<<<<<<<<<<<<
 *             self._set_obj(ecore_con_url_new(
 *                 <const char *>url if url is not None else NULL))
 */
  __pyx_t_2 = (__pyx_v_custom_request == Py_None);
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":215
 *         if custom_request is None:
 *             self._set_obj(ecore_con_url_new(
 *                 <const char *>url if url is not None else NULL))             # <<<<<<<<<<<<<<
 *         else:
 *             if isinstance(custom_request, unicode):
 */
    __pyx_t_1 = (__pyx_v_url != Py_None);
    if ((__pyx_t_1 != 0)) {
      __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_url); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __pyx_t_4 = ((char const *)__pyx_t_5);
    } else {
      __pyx_t_4 = NULL;
    }

    /* "efl/ecore_con/efl.ecore_con_url.pxi":214
 *         if isinstance(url, unicode): url = PyUnicode_AsUTF8String(url)
 *         if custom_request is None:
 *             self._set_obj(ecore_con_url_new(             # <<<<<<<<<<<<<<
 *                 <const char *>url if url is not None else NULL))
 *         else:
 */
    __pyx_t_6 = ((struct __pyx_vtabstruct_3efl_9ecore_con_Url *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), ecore_con_url_new(__pyx_t_4)); if (unlikely(__pyx_t_6 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    goto __pyx_L4;
  }
  /*else*/ {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":217
 *                 <const char *>url if url is not None else NULL))
 *         else:
 *             if isinstance(custom_request, unicode):             # <<<<<<<<<<<<<<
 *                 custom_request = PyUnicode_AsUTF8String(custom_request)
 *             self._set_obj(ecore_con_url_custom_new(
 */
    __pyx_t_1 = PyUnicode_Check(__pyx_v_custom_request); 
    __pyx_t_2 = (__pyx_t_1 != 0);
    if (__pyx_t_2) {

      /* "efl/ecore_con/efl.ecore_con_url.pxi":218
 *         else:
 *             if isinstance(custom_request, unicode):
 *                 custom_request = PyUnicode_AsUTF8String(custom_request)             # <<<<<<<<<<<<<<
 *             self._set_obj(ecore_con_url_custom_new(
 *                 <const char *>url if url is not None else NULL,
 */
      __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_custom_request); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF_SET(__pyx_v_custom_request, __pyx_t_3);
      __pyx_t_3 = 0;
      goto __pyx_L5;
    }
    __pyx_L5:;

    /* "efl/ecore_con/efl.ecore_con_url.pxi":220
 *                 custom_request = PyUnicode_AsUTF8String(custom_request)
 *             self._set_obj(ecore_con_url_custom_new(
 *                 <const char *>url if url is not None else NULL,             # <<<<<<<<<<<<<<
 *                 <const char *>custom_request if custom_request is not None else NULL))
 * 
 */
    __pyx_t_2 = (__pyx_v_url != Py_None);
    if ((__pyx_t_2 != 0)) {
      __pyx_t_8 = __Pyx_PyObject_AsString(__pyx_v_url); if (unlikely((!__pyx_t_8) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __pyx_t_7 = ((char const *)__pyx_t_8);
    } else {
      __pyx_t_7 = NULL;
    }

    /* "efl/ecore_con/efl.ecore_con_url.pxi":221
 *             self._set_obj(ecore_con_url_custom_new(
 *                 <const char *>url if url is not None else NULL,
 *                 <const char *>custom_request if custom_request is not None else NULL))             # <<<<<<<<<<<<<<
 * 
 *         self._set_properties_from_keyword_args(kargs)
 */
    __pyx_t_2 = (__pyx_v_custom_request != Py_None);
    if ((__pyx_t_2 != 0)) {
      __pyx_t_10 = __Pyx_PyObject_AsString(__pyx_v_custom_request); if (unlikely((!__pyx_t_10) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __pyx_t_9 = ((char const *)__pyx_t_10);
    } else {
      __pyx_t_9 = NULL;
    }

    /* "efl/ecore_con/efl.ecore_con_url.pxi":219
 *             if isinstance(custom_request, unicode):
 *                 custom_request = PyUnicode_AsUTF8String(custom_request)
 *             self._set_obj(ecore_con_url_custom_new(             # <<<<<<<<<<<<<<
 *                 <const char *>url if url is not None else NULL,
 *                 <const char *>custom_request if custom_request is not None else NULL))
 */
    __pyx_t_6 = ((struct __pyx_vtabstruct_3efl_9ecore_con_Url *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), ecore_con_url_custom_new(__pyx_t_7, __pyx_t_9)); if (unlikely(__pyx_t_6 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_L4:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":223
 *                 <const char *>custom_request if custom_request is not None else NULL))
 * 
 *         self._set_properties_from_keyword_args(kargs)             # <<<<<<<<<<<<<<
 * 
 *     def __repr__(self):
 */
  __pyx_t_6 = ((struct __pyx_vtabstruct_3efl_9ecore_con_Url *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_properties_from_keyword_args(((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_kargs); if (unlikely(__pyx_t_6 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/ecore_con/efl.ecore_con_url.pxi":198
 * 
 *     """
 *     def __init__(self, url, custom_request=None, **kargs):             # <<<<<<<<<<<<<<
 *         """Url(...)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_url);
  __Pyx_XDECREF(__pyx_v_custom_request);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":225
 *         self._set_properties_from_keyword_args(kargs)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "%s(url=%s)" % (self.__class__.__name__, self.url)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_3__repr__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_3__repr__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_2__repr__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_2__repr__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__repr__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":226
 * 
 *     def __repr__(self):
 *         return "%s(url=%s)" % (self.__class__.__name__, self.url)             # <<<<<<<<<<<<<<
 * 
 *     def delete(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_name_2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_url); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_2);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1);
  __pyx_t_2 = 0;
  __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_s_url_s, __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":225
 *         self._set_properties_from_keyword_args(kargs)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "%s(url=%s)" % (self.__class__.__name__, self.url)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":228
 *         return "%s(url=%s)" % (self.__class__.__name__, self.url)
 * 
 *     def delete(self):             # <<<<<<<<<<<<<<
 *         """Delete the :class:`Url` object and free all used resources.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_4delete[] = "Url.delete(self)\nDelete the :class:`Url` object and free all used resources.\n\n        .. note::\n            This is **really important** to call as soon as you have finished\n            with your object, as it automatically remove all the registered\n            events. That will otherwise continue to use resources.\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("delete (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_4delete(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_4delete(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("delete", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":237
 * 
 *         """
 *         GEF.callback_del_full(self)             # <<<<<<<<<<<<<<
 *         ecore_con_url_free(self.obj)
 * 
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *)__pyx_v_3efl_9ecore_con_GEF->__pyx_vtab)->callback_del_full(__pyx_v_3efl_9ecore_con_GEF, ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":238
 *         """
 *         GEF.callback_del_full(self)
 *         ecore_con_url_free(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property fd:
 */
  ecore_con_url_free(__pyx_v_self->__pyx_base.obj);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":228
 *         return "%s(url=%s)" % (self.__class__.__name__, self.url)
 * 
 *     def delete(self):             # <<<<<<<<<<<<<<
 *         """Delete the :class:`Url` object and free all used resources.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.delete", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":256
 * 
 *         """
 *         def __set__(self, int fd):             # <<<<<<<<<<<<<<
 *             ecore_con_url_fd_set(self.obj, fd)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_2fd_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_fd); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_2fd_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_fd) {
  int __pyx_v_fd;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_fd); {
    __pyx_v_fd = __Pyx_PyInt_As_int(__pyx_arg_fd); if (unlikely((__pyx_v_fd == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.fd.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_2fd___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((int)__pyx_v_fd));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_2fd___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_fd) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":257
 *         """
 *         def __set__(self, int fd):
 *             ecore_con_url_fd_set(self.obj, fd)             # <<<<<<<<<<<<<<
 * 
 *     def get(self):
 */
  ecore_con_url_fd_set(__pyx_v_self->__pyx_base.obj, __pyx_v_fd);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":256
 * 
 *         """
 *         def __set__(self, int fd):             # <<<<<<<<<<<<<<
 *             ecore_con_url_fd_set(self.obj, fd)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":259
 *             ecore_con_url_fd_set(self.obj, fd)
 * 
 *     def get(self):             # <<<<<<<<<<<<<<
 *         """Send a GET request.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_7get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_6get[] = "Url.get(self)\nSend a GET request.\n\n        The request is performed immediately, but you need to setup event\n        handlers with :func:`on_complete_event_add` or\n        :func:`on_complete_event_add` to get more information about its result.\n\n        :return: ``True`` on success, ``False`` on error.\n        \n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_7get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_6get(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_6get(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":269
 * 
 *         """
 *         return bool(ecore_con_url_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def head(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(ecore_con_url_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":259
 *             ecore_con_url_fd_set(self.obj, fd)
 * 
 *     def get(self):             # <<<<<<<<<<<<<<
 *         """Send a GET request.
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":271
 *         return bool(ecore_con_url_get(self.obj))
 * 
 *     def head(self):             # <<<<<<<<<<<<<<
 *         """Send a HEAD request.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_9head(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_8head[] = "Url.head(self)\nSend a HEAD request.\n\n        The request is performed immediately, but you need to setup event\n        handlers with :func:`on_complete_event_add` or\n        :func:`on_complete_event_add` to get more information about its result.\n\n        :return: ``True`` on success, ``False`` on error.\n        \n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_9head(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("head (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_8head(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_8head(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("head", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":281
 * 
 *         """
 *         return bool(ecore_con_url_head(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def post(self, bytes data, content_type):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(ecore_con_url_head(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":271
 *         return bool(ecore_con_url_get(self.obj))
 * 
 *     def head(self):             # <<<<<<<<<<<<<<
 *         """Send a HEAD request.
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.head", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":283
 *         return bool(ecore_con_url_head(self.obj))
 * 
 *     def post(self, bytes data, content_type):             # <<<<<<<<<<<<<<
 *         """Send a post request.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_11post(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_10post[] = "Url.post(self, bytes data, content_type)\nSend a post request.\n        \n        The request is performed immediately, but you need to setup event\n        handlers with :func:`on_complete_event_add` or\n        :func:`on_complete_event_add` to get more information about its result.\n\n        :param data: Payload (data sent on the request). Can be ``None``.\n        :type data: bytes\n        :param content_type: Content type of the payload (e.g. `text/xml`).\n                             Can be ``None``.\n        :type content_type: string\n\n        :return: ``True`` on success, ``False`` on error.\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_11post(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_data = 0;
  PyObject *__pyx_v_content_type = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("post (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_data,&__pyx_n_s_content_type,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_content_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("post", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "post") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_data = ((PyObject*)values[0]);
    __pyx_v_content_type = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("post", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.post", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_data), (&PyBytes_Type), 1, "data", 1))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_10post(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_data, __pyx_v_content_type);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_10post(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_data, PyObject *__pyx_v_content_type) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  void const *__pyx_t_4;
  char const *__pyx_t_5;
  Py_ssize_t __pyx_t_6;
  char const *__pyx_t_7;
  char const *__pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("post", 0);
  __Pyx_INCREF(__pyx_v_content_type);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":299
 * 
 *         """
 *         if isinstance(content_type, unicode):             # <<<<<<<<<<<<<<
 *             content_type = PyUnicode_AsUTF8String(content_type)
 *         return bool(ecore_con_url_post(self.obj,
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_content_type); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":300
 *         """
 *         if isinstance(content_type, unicode):
 *             content_type = PyUnicode_AsUTF8String(content_type)             # <<<<<<<<<<<<<<
 *         return bool(ecore_con_url_post(self.obj,
 *             <const void*><const char *>data if data is not None else NULL,
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_content_type); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_content_type, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":301
 *         if isinstance(content_type, unicode):
 *             content_type = PyUnicode_AsUTF8String(content_type)
 *         return bool(ecore_con_url_post(self.obj,             # <<<<<<<<<<<<<<
 *             <const void*><const char *>data if data is not None else NULL,
 *             len(data),
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":302
 *             content_type = PyUnicode_AsUTF8String(content_type)
 *         return bool(ecore_con_url_post(self.obj,
 *             <const void*><const char *>data if data is not None else NULL,             # <<<<<<<<<<<<<<
 *             len(data),
 *             <const char *>content_type if content_type is not None else NULL))
 */
  __pyx_t_2 = (__pyx_v_data != ((PyObject*)Py_None));
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_data); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((void const *)((char const *)__pyx_t_5));
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":303
 *         return bool(ecore_con_url_post(self.obj,
 *             <const void*><const char *>data if data is not None else NULL,
 *             len(data),             # <<<<<<<<<<<<<<
 *             <const char *>content_type if content_type is not None else NULL))
 * 
 */
  if (unlikely(__pyx_v_data == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_6 = PyBytes_GET_SIZE(__pyx_v_data); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/ecore_con/efl.ecore_con_url.pxi":304
 *             <const void*><const char *>data if data is not None else NULL,
 *             len(data),
 *             <const char *>content_type if content_type is not None else NULL))             # <<<<<<<<<<<<<<
 * 
 *     def time(self, Ecore_Con_Url_Time time_condition, double timestamp):
 */
  __pyx_t_2 = (__pyx_v_content_type != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_8 = __Pyx_PyObject_AsString(__pyx_v_content_type); if (unlikely((!__pyx_t_8) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_7 = ((char const *)__pyx_t_8);
  } else {
    __pyx_t_7 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":301
 *         if isinstance(content_type, unicode):
 *             content_type = PyUnicode_AsUTF8String(content_type)
 *         return bool(ecore_con_url_post(self.obj,             # <<<<<<<<<<<<<<
 *             <const void*><const char *>data if data is not None else NULL,
 *             len(data),
 */
  __pyx_t_3 = __Pyx_PyInt_From_Eina_Bool(ecore_con_url_post(__pyx_v_self->__pyx_base.obj, __pyx_t_4, __pyx_t_6, __pyx_t_7)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":283
 *         return bool(ecore_con_url_head(self.obj))
 * 
 *     def post(self, bytes data, content_type):             # <<<<<<<<<<<<<<
 *         """Send a post request.
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.post", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_content_type);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":306
 *             <const char *>content_type if content_type is not None else NULL))
 * 
 *     def time(self, Ecore_Con_Url_Time time_condition, double timestamp):             # <<<<<<<<<<<<<<
 *         """Whether HTTP requests should be conditional, dependent on
 *         modification time.
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_13time(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_12time[] = "Url.time(self, Ecore_Con_Url_Time time_condition, double timestamp)\nWhether HTTP requests should be conditional, dependent on\n        modification time.\n\n        This function may set the header `If-Modified-Since` or\n        `If-Unmodified-Since`, depending on the value of time_condition, with\n        the value timestamp.\n\n        :param time_condition: Condition to use for HTTP requests.\n        :type time_condition: :ref:`Ecore_Con_Url_Time`\n        :param timestamp: Time since 1 Jan 1970 to use in the condition.\n        :type timestamp: double\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_13time(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  Ecore_Con_Url_Time __pyx_v_time_condition;
  double __pyx_v_timestamp;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("time (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_time_condition,&__pyx_n_s_timestamp,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_time_condition)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_timestamp)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("time", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "time") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_time_condition = ((Ecore_Con_Url_Time)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
    __pyx_v_timestamp = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_timestamp == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("time", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.time", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_12time(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_time_condition, __pyx_v_timestamp);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_12time(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, Ecore_Con_Url_Time __pyx_v_time_condition, double __pyx_v_timestamp) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("time", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":320
 * 
 *         """
 *         ecore_con_url_time(self.obj, time_condition, timestamp)             # <<<<<<<<<<<<<<
 * 
 *     def ftp_upload(self, filename, user, passwd, upload_dir):
 */
  ecore_con_url_time(__pyx_v_self->__pyx_base.obj, __pyx_v_time_condition, __pyx_v_timestamp);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":306
 *             <const char *>content_type if content_type is not None else NULL))
 * 
 *     def time(self, Ecore_Con_Url_Time time_condition, double timestamp):             # <<<<<<<<<<<<<<
 *         """Whether HTTP requests should be conditional, dependent on
 *         modification time.
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":322
 *         ecore_con_url_time(self.obj, time_condition, timestamp)
 * 
 *     def ftp_upload(self, filename, user, passwd, upload_dir):             # <<<<<<<<<<<<<<
 *         """Upload a file to an ftp site.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_15ftp_upload(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_14ftp_upload[] = "Url.ftp_upload(self, filename, user, passwd, upload_dir)\nUpload a file to an ftp site.\n\n        :param string filename: The path to the file to send\n        :param string user: The username to log in with \n        :param string passwd: The password to log in with \n        :param string upload_dir: The directory to which the file will upload\n\n        :return: ``True`` on success, ``False`` otherwise.\n        :rtype: bool\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_15ftp_upload(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_filename = 0;
  PyObject *__pyx_v_user = 0;
  PyObject *__pyx_v_passwd = 0;
  PyObject *__pyx_v_upload_dir = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("ftp_upload (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_filename,&__pyx_n_s_user,&__pyx_n_s_passwd,&__pyx_n_s_upload_dir,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_filename)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_user)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("ftp_upload", 1, 4, 4, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_passwd)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("ftp_upload", 1, 4, 4, 2); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  3:
        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_upload_dir)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("ftp_upload", 1, 4, 4, 3); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "ftp_upload") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_filename = values[0];
    __pyx_v_user = values[1];
    __pyx_v_passwd = values[2];
    __pyx_v_upload_dir = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("ftp_upload", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.ftp_upload", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_14ftp_upload(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_filename, __pyx_v_user, __pyx_v_passwd, __pyx_v_upload_dir);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_14ftp_upload(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_user, PyObject *__pyx_v_passwd, PyObject *__pyx_v_upload_dir) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  char const *__pyx_t_6;
  char const *__pyx_t_7;
  char const *__pyx_t_8;
  char const *__pyx_t_9;
  char const *__pyx_t_10;
  char const *__pyx_t_11;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("ftp_upload", 0);
  __Pyx_INCREF(__pyx_v_filename);
  __Pyx_INCREF(__pyx_v_user);
  __Pyx_INCREF(__pyx_v_passwd);
  __Pyx_INCREF(__pyx_v_upload_dir);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":334
 * 
 *         """
 *         if isinstance(filename, unicode): filename = PyUnicode_AsUTF8String(filename)             # <<<<<<<<<<<<<<
 *         if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)
 *         if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_filename); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_filename); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_filename, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":335
 *         """
 *         if isinstance(filename, unicode): filename = PyUnicode_AsUTF8String(filename)
 *         if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)             # <<<<<<<<<<<<<<
 *         if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *         if isinstance(upload_dir, unicode): upload_dir = PyUnicode_AsUTF8String(upload_dir)
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_user); 
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_user); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_user, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":336
 *         if isinstance(filename, unicode): filename = PyUnicode_AsUTF8String(filename)
 *         if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)
 *         if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)             # <<<<<<<<<<<<<<
 *         if isinstance(upload_dir, unicode): upload_dir = PyUnicode_AsUTF8String(upload_dir)
 *         return bool(ecore_con_url_ftp_upload(self.obj,
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_passwd); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_passwd); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_passwd, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L5;
  }
  __pyx_L5:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":337
 *         if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)
 *         if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *         if isinstance(upload_dir, unicode): upload_dir = PyUnicode_AsUTF8String(upload_dir)             # <<<<<<<<<<<<<<
 *         return bool(ecore_con_url_ftp_upload(self.obj,
 *                 <const char *>filename if filename is not None else NULL,
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_upload_dir); 
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_upload_dir); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_upload_dir, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L6;
  }
  __pyx_L6:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":338
 *         if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *         if isinstance(upload_dir, unicode): upload_dir = PyUnicode_AsUTF8String(upload_dir)
 *         return bool(ecore_con_url_ftp_upload(self.obj,             # <<<<<<<<<<<<<<
 *                 <const char *>filename if filename is not None else NULL,
 *                 <const char *>user if user is not None else NULL,
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":339
 *         if isinstance(upload_dir, unicode): upload_dir = PyUnicode_AsUTF8String(upload_dir)
 *         return bool(ecore_con_url_ftp_upload(self.obj,
 *                 <const char *>filename if filename is not None else NULL,             # <<<<<<<<<<<<<<
 *                 <const char *>user if user is not None else NULL,
 *                 <const char *>passwd if passwd is not None else NULL,
 */
  __pyx_t_1 = (__pyx_v_filename != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_filename); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":340
 *         return bool(ecore_con_url_ftp_upload(self.obj,
 *                 <const char *>filename if filename is not None else NULL,
 *                 <const char *>user if user is not None else NULL,             # <<<<<<<<<<<<<<
 *                 <const char *>passwd if passwd is not None else NULL,
 *                 <const char *>upload_dir if upload_dir is not None else NULL))
 */
  __pyx_t_1 = (__pyx_v_user != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_7 = __Pyx_PyObject_AsString(__pyx_v_user); if (unlikely((!__pyx_t_7) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_6 = ((char const *)__pyx_t_7);
  } else {
    __pyx_t_6 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":341
 *                 <const char *>filename if filename is not None else NULL,
 *                 <const char *>user if user is not None else NULL,
 *                 <const char *>passwd if passwd is not None else NULL,             # <<<<<<<<<<<<<<
 *                 <const char *>upload_dir if upload_dir is not None else NULL))
 * 
 */
  __pyx_t_1 = (__pyx_v_passwd != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_9 = __Pyx_PyObject_AsString(__pyx_v_passwd); if (unlikely((!__pyx_t_9) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_8 = ((char const *)__pyx_t_9);
  } else {
    __pyx_t_8 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":342
 *                 <const char *>user if user is not None else NULL,
 *                 <const char *>passwd if passwd is not None else NULL,
 *                 <const char *>upload_dir if upload_dir is not None else NULL))             # <<<<<<<<<<<<<<
 * 
 *     property ftp_use_epsv:
 */
  __pyx_t_1 = (__pyx_v_upload_dir != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_11 = __Pyx_PyObject_AsString(__pyx_v_upload_dir); if (unlikely((!__pyx_t_11) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_10 = ((char const *)__pyx_t_11);
  } else {
    __pyx_t_10 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":338
 *         if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *         if isinstance(upload_dir, unicode): upload_dir = PyUnicode_AsUTF8String(upload_dir)
 *         return bool(ecore_con_url_ftp_upload(self.obj,             # <<<<<<<<<<<<<<
 *                 <const char *>filename if filename is not None else NULL,
 *                 <const char *>user if user is not None else NULL,
 */
  __pyx_t_3 = __Pyx_PyInt_From_Eina_Bool(ecore_con_url_ftp_upload(__pyx_v_self->__pyx_base.obj, __pyx_t_4, __pyx_t_6, __pyx_t_8, __pyx_t_10)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_PyBool_FromLong((!(!__pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":322
 *         ecore_con_url_time(self.obj, time_condition, timestamp)
 * 
 *     def ftp_upload(self, filename, user, passwd, upload_dir):             # <<<<<<<<<<<<<<
 *         """Upload a file to an ftp site.
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.ftp_upload", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_filename);
  __Pyx_XDECREF(__pyx_v_user);
  __Pyx_XDECREF(__pyx_v_passwd);
  __Pyx_XDECREF(__pyx_v_upload_dir);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":350
 * 
 *         """
 *         def __set__(self, bint use_epsv):             # <<<<<<<<<<<<<<
 *             ecore_con_url_ftp_use_epsv_set(self.obj, use_epsv)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_12ftp_use_epsv_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_use_epsv); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_12ftp_use_epsv_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_use_epsv) {
  int __pyx_v_use_epsv;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_use_epsv); {
    __pyx_v_use_epsv = __Pyx_PyObject_IsTrue(__pyx_arg_use_epsv); if (unlikely((__pyx_v_use_epsv == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.ftp_use_epsv.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_12ftp_use_epsv___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((int)__pyx_v_use_epsv));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_12ftp_use_epsv___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_use_epsv) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":351
 *         """
 *         def __set__(self, bint use_epsv):
 *             ecore_con_url_ftp_use_epsv_set(self.obj, use_epsv)             # <<<<<<<<<<<<<<
 * 
 *     def cookies_init(self):
 */
  ecore_con_url_ftp_use_epsv_set(__pyx_v_self->__pyx_base.obj, __pyx_v_use_epsv);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":350
 * 
 *         """
 *         def __set__(self, bint use_epsv):             # <<<<<<<<<<<<<<
 *             ecore_con_url_ftp_use_epsv_set(self.obj, use_epsv)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":353
 *             ecore_con_url_ftp_use_epsv_set(self.obj, use_epsv)
 * 
 *     def cookies_init(self):             # <<<<<<<<<<<<<<
 *         """Enable the cookie engine for subsequent HTTP requests.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_17cookies_init(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_16cookies_init[] = "Url.cookies_init(self)\nEnable the cookie engine for subsequent HTTP requests. \n\n        After this function is called, cookies set by the server in HTTP\n        responses will be parsed and stored, as well as sent back to the server\n        in new HTTP requests.\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_17cookies_init(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_init (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_16cookies_init(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_16cookies_init(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_init", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":361
 * 
 *         """
 *         ecore_con_url_cookies_init(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     def cookies_clear(self):
 */
  ecore_con_url_cookies_init(__pyx_v_self->__pyx_base.obj);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":353
 *             ecore_con_url_ftp_use_epsv_set(self.obj, use_epsv)
 * 
 *     def cookies_init(self):             # <<<<<<<<<<<<<<
 *         """Enable the cookie engine for subsequent HTTP requests.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":363
 *         ecore_con_url_cookies_init(self.obj)
 * 
 *     def cookies_clear(self):             # <<<<<<<<<<<<<<
 *         """Clear currently loaded cookies.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_19cookies_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_18cookies_clear[] = "Url.cookies_clear(self)\nClear currently loaded cookies.\n        \n        The cleared cookies are removed and will not be sent in subsequent HTTP\n        requests, nor will they be written to the cookiejar file set via\n        :attr:`cookies_jar_file`.\n\n        .. note::\n            This function will initialize the cookie engine if it has not been\n            initialized yet. The cookie files set by\n            :func:`cookies_file_add` aren't loaded immediately, just\n            when the request is started. Thus, if you ask to clear the cookies,\n            but has a file already set by that function, the cookies will then\n            be loaded and you will have old cookies set. In order to don't have\n            any old cookie set, you need to don't call\n            :func:`cookies_file_add` ever on the :class:`Url` class, and\n            call this function to clear any cookie set by a previous request on\n            this handler.\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_19cookies_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_clear (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_18cookies_clear(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_18cookies_clear(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_clear", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":383
 * 
 *         """
 *         ecore_con_url_cookies_clear(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     def cookies_session_clear(self):
 */
  ecore_con_url_cookies_clear(__pyx_v_self->__pyx_base.obj);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":363
 *         ecore_con_url_cookies_init(self.obj)
 * 
 *     def cookies_clear(self):             # <<<<<<<<<<<<<<
 *         """Clear currently loaded cookies.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":385
 *         ecore_con_url_cookies_clear(self.obj)
 * 
 *     def cookies_session_clear(self):             # <<<<<<<<<<<<<<
 *         """Clear currently loaded session cookies.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_21cookies_session_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_20cookies_session_clear[] = "Url.cookies_session_clear(self)\nClear currently loaded session cookies.\n        \n        Session cookies are cookies with no expire date set, which usually\n        means they are removed after the current session is closed.\n\n        The cleared cookies are removed and will not be sent in subsequent HTTP\n        requests, nor will they be written to the cookiejar file set via\n        :attr:`cookies_jar_file`.\n\n        .. note::\n            This function will initialize the cookie engine if it has not been\n            initialized yet. The cookie files set by\n            :func:`cookies_file_add` aren't loaded immediately, just\n            when the request is started. Thus, if you ask to clear the session\n            cookies, but has a file already set by that function, the session\n            cookies will then be loaded and you will have old cookies set. In\n            order to don't have any old session cookie set, you need to don't\n            call :func:`cookies_file_add` ever on the :class:`Url` class, and\n            call this function to clear any session cookie set by a previous\n            request on this handler. An easier way to don't use old session\n            cookies is by using the function\n            :attr:`cookies_ignore_old_session`.\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_21cookies_session_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_session_clear (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_20cookies_session_clear(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_20cookies_session_clear(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_session_clear", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":410
 * 
 *         """
 *         ecore_con_url_cookies_session_clear(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     def cookies_file_add(self, file_name):
 */
  ecore_con_url_cookies_session_clear(__pyx_v_self->__pyx_base.obj);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":385
 *         ecore_con_url_cookies_clear(self.obj)
 * 
 *     def cookies_session_clear(self):             # <<<<<<<<<<<<<<
 *         """Clear currently loaded session cookies.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":412
 *         ecore_con_url_cookies_session_clear(self.obj)
 * 
 *     def cookies_file_add(self, file_name):             # <<<<<<<<<<<<<<
 *         """Add a file to the list of files from which to load cookies.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_23cookies_file_add(PyObject *__pyx_v_self, PyObject *__pyx_v_file_name); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_22cookies_file_add[] = "Url.cookies_file_add(self, file_name)\nAdd a file to the list of files from which to load cookies.\n\n        Files must contain cookies defined according to two possible formats:\n            * HTTP-style header (\"Set-Cookie: ...\").\n            * Netscape/Mozilla cookie data format.\n\n        Cookies will only be read from this file. If you want to save cookies\n        to a file, use :attr:`cookies_jar_file`. Also notice that\n        this function supports the both types of cookie file cited above, while\n        :attr:`cookies_jar_file` will save only in the Netscape/Mozilla's\n        format.\n\n        Please notice that the file will not be read immediately, but rather\n        added to a list of files that will be loaded and parsed at a later\n        time.\n\n        .. note::\n            This function will initialize the cookie engine if it has not been\n            initialized yet.\n\n        :param string file_name: Name of the file that will be added to the list.\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_23cookies_file_add(PyObject *__pyx_v_self, PyObject *__pyx_v_file_name) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_file_add (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_22cookies_file_add(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((PyObject *)__pyx_v_file_name));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_22cookies_file_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_file_name) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("cookies_file_add", 0);
  __Pyx_INCREF(__pyx_v_file_name);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":436
 * 
 *         """
 *         if isinstance(file_name, unicode):             # <<<<<<<<<<<<<<
 *             file_name = PyUnicode_AsUTF8String(file_name)
 *         ecore_con_url_cookies_file_add(self.obj,
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_file_name); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":437
 *         """
 *         if isinstance(file_name, unicode):
 *             file_name = PyUnicode_AsUTF8String(file_name)             # <<<<<<<<<<<<<<
 *         ecore_con_url_cookies_file_add(self.obj,
 *                     <const char *>file_name if file_name is not None else NULL)
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_file_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_file_name, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":439
 *             file_name = PyUnicode_AsUTF8String(file_name)
 *         ecore_con_url_cookies_file_add(self.obj,
 *                     <const char *>file_name if file_name is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     property cookies_jar_file:
 */
  __pyx_t_2 = (__pyx_v_file_name != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_file_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":438
 *         if isinstance(file_name, unicode):
 *             file_name = PyUnicode_AsUTF8String(file_name)
 *         ecore_con_url_cookies_file_add(self.obj,             # <<<<<<<<<<<<<<
 *                     <const char *>file_name if file_name is not None else NULL)
 * 
 */
  ecore_con_url_cookies_file_add(__pyx_v_self->__pyx_base.obj, __pyx_t_4);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":412
 *         ecore_con_url_cookies_session_clear(self.obj)
 * 
 *     def cookies_file_add(self, file_name):             # <<<<<<<<<<<<<<
 *         """Add a file to the list of files from which to load cookies.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.cookies_file_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_file_name);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":460
 * 
 *         """
 *         def __set__(self, cookiejar_file):             # <<<<<<<<<<<<<<
 *             if isinstance(cookiejar_file, unicode):
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_16cookies_jar_file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_cookiejar_file); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_16cookies_jar_file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_cookiejar_file) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_16cookies_jar_file___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((PyObject *)__pyx_v_cookiejar_file));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_16cookies_jar_file___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_cookiejar_file) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  char const *__pyx_t_6;
  char const *__pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_cookiejar_file);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":461
 *         """
 *         def __set__(self, cookiejar_file):
 *             if isinstance(cookiejar_file, unicode):             # <<<<<<<<<<<<<<
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 *             ecore_con_url_cookies_jar_file_set(self.obj,
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_cookiejar_file); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":462
 *         def __set__(self, cookiejar_file):
 *             if isinstance(cookiejar_file, unicode):
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)             # <<<<<<<<<<<<<<
 *             ecore_con_url_cookies_jar_file_set(self.obj,
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_cookiejar_file); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_cookiejar_file, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":464
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 *             ecore_con_url_cookies_jar_file_set(self.obj,
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)             # <<<<<<<<<<<<<<
 *             if isinstance(cookiejar_file, unicode):
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 */
  __pyx_t_2 = (__pyx_v_cookiejar_file != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_cookiejar_file); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":463
 *             if isinstance(cookiejar_file, unicode):
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 *             ecore_con_url_cookies_jar_file_set(self.obj,             # <<<<<<<<<<<<<<
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 *             if isinstance(cookiejar_file, unicode):
 */
  ecore_con_url_cookies_jar_file_set(__pyx_v_self->__pyx_base.obj, __pyx_t_4);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":465
 *             ecore_con_url_cookies_jar_file_set(self.obj,
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 *             if isinstance(cookiejar_file, unicode):             # <<<<<<<<<<<<<<
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 *             ecore_con_url_cookies_jar_file_set(self.obj,
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_cookiejar_file); 
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":466
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 *             if isinstance(cookiejar_file, unicode):
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)             # <<<<<<<<<<<<<<
 *             ecore_con_url_cookies_jar_file_set(self.obj,
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_cookiejar_file); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_cookiejar_file, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":468
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 *             ecore_con_url_cookies_jar_file_set(self.obj,
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     def cookies_jar_write(self):
 */
  __pyx_t_1 = (__pyx_v_cookiejar_file != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_7 = __Pyx_PyObject_AsString(__pyx_v_cookiejar_file); if (unlikely((!__pyx_t_7) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_6 = ((char const *)__pyx_t_7);
  } else {
    __pyx_t_6 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":467
 *             if isinstance(cookiejar_file, unicode):
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 *             ecore_con_url_cookies_jar_file_set(self.obj,             # <<<<<<<<<<<<<<
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 * 
 */
  ecore_con_url_cookies_jar_file_set(__pyx_v_self->__pyx_base.obj, __pyx_t_6);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":460
 * 
 *         """
 *         def __set__(self, cookiejar_file):             # <<<<<<<<<<<<<<
 *             if isinstance(cookiejar_file, unicode):
 *                 cookiejar_file = PyUnicode_AsUTF8String(cookiejar_file)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.cookies_jar_file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_cookiejar_file);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":470
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 * 
 *     def cookies_jar_write(self):             # <<<<<<<<<<<<<<
 *         """Write all current cookies to the cookie jar immediately.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_25cookies_jar_write(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_24cookies_jar_write[] = "Url.cookies_jar_write(self)\nWrite all current cookies to the cookie jar immediately.\n        \n        A cookie-jar file must have been previously set by\n        :attr:`cookies_jar_file`, otherwise nothing will be done.\n\n        .. note::\n            This function will initialize the cookie engine if it has not been\n            initialized yet.\n\n        .. seealso:: :attr:`cookies_jar_file`\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_25cookies_jar_write(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_jar_write (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_24cookies_jar_write(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_24cookies_jar_write(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("cookies_jar_write", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":483
 * 
 *         """
 *         ecore_con_url_cookies_jar_write(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property cookies_ignore_old_session:
 */
  ecore_con_url_cookies_jar_write(__pyx_v_self->__pyx_base.obj);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":470
 *                 <const char *>cookiejar_file if cookiejar_file is not None else NULL)
 * 
 *     def cookies_jar_write(self):             # <<<<<<<<<<<<<<
 *         """Write all current cookies to the cookie jar immediately.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":502
 * 
 *         """
 *         def __set__(self, bint ignore):             # <<<<<<<<<<<<<<
 *             ecore_con_url_cookies_ignore_old_session_set(self.obj, ignore)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_26cookies_ignore_old_session_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_ignore); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_26cookies_ignore_old_session_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_ignore) {
  int __pyx_v_ignore;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_ignore); {
    __pyx_v_ignore = __Pyx_PyObject_IsTrue(__pyx_arg_ignore); if (unlikely((__pyx_v_ignore == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.cookies_ignore_old_session.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_26cookies_ignore_old_session___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((int)__pyx_v_ignore));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_26cookies_ignore_old_session___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_ignore) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":503
 *         """
 *         def __set__(self, bint ignore):
 *             ecore_con_url_cookies_ignore_old_session_set(self.obj, ignore)             # <<<<<<<<<<<<<<
 * 
 *     property ssl_verify_peer:
 */
  ecore_con_url_cookies_ignore_old_session_set(__pyx_v_self->__pyx_base.obj, __pyx_v_ignore);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":502
 * 
 *         """
 *         def __set__(self, bint ignore):             # <<<<<<<<<<<<<<
 *             ecore_con_url_cookies_ignore_old_session_set(self.obj, ignore)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":515
 * 
 *         """
 *         def __set__(self, bint verify):             # <<<<<<<<<<<<<<
 *             ecore_con_url_ssl_verify_peer_set(self.obj, verify)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_15ssl_verify_peer_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_verify); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_15ssl_verify_peer_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_verify) {
  int __pyx_v_verify;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_verify); {
    __pyx_v_verify = __Pyx_PyObject_IsTrue(__pyx_arg_verify); if (unlikely((__pyx_v_verify == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.ssl_verify_peer.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_15ssl_verify_peer___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((int)__pyx_v_verify));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_15ssl_verify_peer___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_verify) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":516
 *         """
 *         def __set__(self, bint verify):
 *             ecore_con_url_ssl_verify_peer_set(self.obj, verify)             # <<<<<<<<<<<<<<
 * 
 *     property ssl_ca:
 */
  ecore_con_url_ssl_verify_peer_set(__pyx_v_self->__pyx_base.obj, __pyx_v_verify);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":515
 * 
 *         """
 *         def __set__(self, bint verify):             # <<<<<<<<<<<<<<
 *             ecore_con_url_ssl_verify_peer_set(self.obj, verify)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":532
 * 
 *         """
 *         def __set__(self, ca_path):             # <<<<<<<<<<<<<<
 *             if isinstance(ca_path, unicode):
 *                 ca_path = PyUnicode_AsUTF8String(ca_path)
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_6ssl_ca_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_ca_path); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_6ssl_ca_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_ca_path) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_6ssl_ca___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((PyObject *)__pyx_v_ca_path));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_6ssl_ca___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_ca_path) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_ca_path);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":533
 *         """
 *         def __set__(self, ca_path):
 *             if isinstance(ca_path, unicode):             # <<<<<<<<<<<<<<
 *                 ca_path = PyUnicode_AsUTF8String(ca_path)
 *             ecore_con_url_ssl_ca_set(self.obj,
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_ca_path); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":534
 *         def __set__(self, ca_path):
 *             if isinstance(ca_path, unicode):
 *                 ca_path = PyUnicode_AsUTF8String(ca_path)             # <<<<<<<<<<<<<<
 *             ecore_con_url_ssl_ca_set(self.obj,
 *                 <const char *>ca_path if ca_path is not None else NULL)
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_ca_path); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_ca_path, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":536
 *                 ca_path = PyUnicode_AsUTF8String(ca_path)
 *             ecore_con_url_ssl_ca_set(self.obj,
 *                 <const char *>ca_path if ca_path is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     property proxy:
 */
  __pyx_t_2 = (__pyx_v_ca_path != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_ca_path); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":535
 *             if isinstance(ca_path, unicode):
 *                 ca_path = PyUnicode_AsUTF8String(ca_path)
 *             ecore_con_url_ssl_ca_set(self.obj,             # <<<<<<<<<<<<<<
 *                 <const char *>ca_path if ca_path is not None else NULL)
 * 
 */
  ecore_con_url_ssl_ca_set(__pyx_v_self->__pyx_base.obj, __pyx_t_4);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":532
 * 
 *         """
 *         def __set__(self, ca_path):             # <<<<<<<<<<<<<<
 *             if isinstance(ca_path, unicode):
 *                 ca_path = PyUnicode_AsUTF8String(ca_path)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.ssl_ca.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_ca_path);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":553
 * 
 *         """
 *         def __set__(self, proxy):             # <<<<<<<<<<<<<<
 *             if isinstance(proxy, unicode): proxy = PyUnicode_AsUTF8String(proxy)
 *             ecore_con_url_proxy_set(self.obj,
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_5proxy_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_proxy); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_5proxy_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_proxy) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_5proxy___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((PyObject *)__pyx_v_proxy));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_5proxy___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_proxy) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_proxy);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":554
 *         """
 *         def __set__(self, proxy):
 *             if isinstance(proxy, unicode): proxy = PyUnicode_AsUTF8String(proxy)             # <<<<<<<<<<<<<<
 *             ecore_con_url_proxy_set(self.obj,
 *                             <const char *>proxy if proxy is not None else NULL)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_proxy); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_proxy); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_proxy, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":556
 *             if isinstance(proxy, unicode): proxy = PyUnicode_AsUTF8String(proxy)
 *             ecore_con_url_proxy_set(self.obj,
 *                             <const char *>proxy if proxy is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     property proxy_username:
 */
  __pyx_t_2 = (__pyx_v_proxy != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_proxy); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":555
 *         def __set__(self, proxy):
 *             if isinstance(proxy, unicode): proxy = PyUnicode_AsUTF8String(proxy)
 *             ecore_con_url_proxy_set(self.obj,             # <<<<<<<<<<<<<<
 *                             <const char *>proxy if proxy is not None else NULL)
 * 
 */
  ecore_con_url_proxy_set(__pyx_v_self->__pyx_base.obj, __pyx_t_4);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":553
 * 
 *         """
 *         def __set__(self, proxy):             # <<<<<<<<<<<<<<
 *             if isinstance(proxy, unicode): proxy = PyUnicode_AsUTF8String(proxy)
 *             ecore_con_url_proxy_set(self.obj,
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.proxy.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_proxy);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":567
 * 
 *         """
 *         def __set__(self, user):             # <<<<<<<<<<<<<<
 *             if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)
 *             ecore_con_url_proxy_username_set(self.obj,
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_14proxy_username_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_user); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_14proxy_username_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_user) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_14proxy_username___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((PyObject *)__pyx_v_user));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_14proxy_username___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_user) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_user);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":568
 *         """
 *         def __set__(self, user):
 *             if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)             # <<<<<<<<<<<<<<
 *             ecore_con_url_proxy_username_set(self.obj,
 *                             <const char *>user if user is not None else NULL)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_user); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_user); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_user, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":570
 *             if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)
 *             ecore_con_url_proxy_username_set(self.obj,
 *                             <const char *>user if user is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     property proxy_password:
 */
  __pyx_t_2 = (__pyx_v_user != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_user); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":569
 *         def __set__(self, user):
 *             if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)
 *             ecore_con_url_proxy_username_set(self.obj,             # <<<<<<<<<<<<<<
 *                             <const char *>user if user is not None else NULL)
 * 
 */
  ecore_con_url_proxy_username_set(__pyx_v_self->__pyx_base.obj, __pyx_t_4);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":567
 * 
 *         """
 *         def __set__(self, user):             # <<<<<<<<<<<<<<
 *             if isinstance(user, unicode): user = PyUnicode_AsUTF8String(user)
 *             ecore_con_url_proxy_username_set(self.obj,
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.proxy_username.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_user);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":581
 * 
 *         """
 *         def __set__(self, passwd):             # <<<<<<<<<<<<<<
 *             if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *             ecore_con_url_proxy_username_set(self.obj,
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_14proxy_password_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_passwd); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_14proxy_password_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_passwd) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_14proxy_password___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((PyObject *)__pyx_v_passwd));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_14proxy_password___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_passwd) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_passwd);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":582
 *         """
 *         def __set__(self, passwd):
 *             if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)             # <<<<<<<<<<<<<<
 *             ecore_con_url_proxy_username_set(self.obj,
 *                             <const char *>passwd if passwd is not None else NULL)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_passwd); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_passwd); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_passwd, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":584
 *             if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *             ecore_con_url_proxy_username_set(self.obj,
 *                             <const char *>passwd if passwd is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     property timeout:
 */
  __pyx_t_2 = (__pyx_v_passwd != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_passwd); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":583
 *         def __set__(self, passwd):
 *             if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *             ecore_con_url_proxy_username_set(self.obj,             # <<<<<<<<<<<<<<
 *                             <const char *>passwd if passwd is not None else NULL)
 * 
 */
  ecore_con_url_proxy_username_set(__pyx_v_self->__pyx_base.obj, __pyx_t_4);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":581
 * 
 *         """
 *         def __set__(self, passwd):             # <<<<<<<<<<<<<<
 *             if isinstance(passwd, unicode): passwd = PyUnicode_AsUTF8String(passwd)
 *             ecore_con_url_proxy_username_set(self.obj,
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.proxy_password.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_passwd);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":597
 * 
 *         """
 *         def __set__(self, double timeout):             # <<<<<<<<<<<<<<
 *             ecore_con_url_timeout_set(self.obj, timeout)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_7timeout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_timeout); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_7timeout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_timeout) {
  double __pyx_v_timeout;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_timeout); {
    __pyx_v_timeout = __pyx_PyFloat_AsDouble(__pyx_arg_timeout); if (unlikely((__pyx_v_timeout == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 597; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_7timeout___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((double)__pyx_v_timeout));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_7timeout___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, double __pyx_v_timeout) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":598
 *         """
 *         def __set__(self, double timeout):
 *             ecore_con_url_timeout_set(self.obj, timeout)             # <<<<<<<<<<<<<<
 * 
 *     property http_version:
 */
  ecore_con_url_timeout_set(__pyx_v_self->__pyx_base.obj, __pyx_v_timeout);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":597
 * 
 *         """
 *         def __set__(self, double timeout):             # <<<<<<<<<<<<<<
 *             ecore_con_url_timeout_set(self.obj, timeout)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":609
 * 
 *         """
 *         def __set__(self, Ecore_Con_Url_Http_Version version):             # <<<<<<<<<<<<<<
 *             ecore_con_url_http_version_set(self.obj, version)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_12http_version_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_version); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_12http_version_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_version) {
  Ecore_Con_Url_Http_Version __pyx_v_version;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_version); {
    __pyx_v_version = ((Ecore_Con_Url_Http_Version)PyInt_AsLong(__pyx_arg_version)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 609; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.http_version.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_12http_version___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((Ecore_Con_Url_Http_Version)__pyx_v_version));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_12http_version___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, Ecore_Con_Url_Http_Version __pyx_v_version) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":610
 *         """
 *         def __set__(self, Ecore_Con_Url_Http_Version version):
 *             ecore_con_url_http_version_set(self.obj, version)             # <<<<<<<<<<<<<<
 * 
 *     property status_code:
 */
  ecore_con_url_http_version_set(__pyx_v_self->__pyx_base.obj, __pyx_v_version);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":609
 * 
 *         """
 *         def __set__(self, Ecore_Con_Url_Http_Version version):             # <<<<<<<<<<<<<<
 *             ecore_con_url_http_version_set(self.obj, version)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":621
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return ecore_con_url_status_code_get(self.obj)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_11status_code_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_11status_code_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_11status_code___get__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_11status_code___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":622
 *         """
 *         def __get__(self):
 *             return ecore_con_url_status_code_get(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property url:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_int(ecore_con_url_status_code_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":621
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return ecore_con_url_status_code_get(self.obj)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.status_code.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":630
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _ctouni(ecore_con_url_url_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_3url_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_3url_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_3url___get__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_3url___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":631
 *         """
 *         def __get__(self):
 *             return _ctouni(ecore_con_url_url_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, url):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(ecore_con_url_url_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":630
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _ctouni(ecore_con_url_url_get(self.obj))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.url.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":633
 *             return _ctouni(ecore_con_url_url_get(self.obj))
 * 
 *         def __set__(self, url):             # <<<<<<<<<<<<<<
 *             if isinstance(url, unicode): url = PyUnicode_AsUTF8String(url)
 *             ecore_con_url_url_set(self.obj, <const char *>url if url is not None else NULL)
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_3url_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_url); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_3url_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_url) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_3url_2__set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((PyObject *)__pyx_v_url));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_3url_2__set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_url) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_url);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":634
 * 
 *         def __set__(self, url):
 *             if isinstance(url, unicode): url = PyUnicode_AsUTF8String(url)             # <<<<<<<<<<<<<<
 *             ecore_con_url_url_set(self.obj, <const char *>url if url is not None else NULL)
 * 
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_url); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_url); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_url, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":635
 *         def __set__(self, url):
 *             if isinstance(url, unicode): url = PyUnicode_AsUTF8String(url)
 *             ecore_con_url_url_set(self.obj, <const char *>url if url is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     property verbose:
 */
  __pyx_t_2 = (__pyx_v_url != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_url); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }
  ecore_con_url_url_set(__pyx_v_self->__pyx_base.obj, __pyx_t_4);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":633
 *             return _ctouni(ecore_con_url_url_get(self.obj))
 * 
 *         def __set__(self, url):             # <<<<<<<<<<<<<<
 *             if isinstance(url, unicode): url = PyUnicode_AsUTF8String(url)
 *             ecore_con_url_url_set(self.obj, <const char *>url if url is not None else NULL)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.url.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_url);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":647
 * 
 *         """
 *         def __set__(self, bint verbose):             # <<<<<<<<<<<<<<
 *             ecore_con_url_verbose_set(self.obj, verbose)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_9ecore_con_3Url_7verbose_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_verbose); /*proto*/
static int __pyx_pw_3efl_9ecore_con_3Url_7verbose_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_verbose) {
  int __pyx_v_verbose;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_verbose); {
    __pyx_v_verbose = __Pyx_PyObject_IsTrue(__pyx_arg_verbose); if (unlikely((__pyx_v_verbose == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 647; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.verbose.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_7verbose___set__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), ((int)__pyx_v_verbose));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_9ecore_con_3Url_7verbose___set__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, int __pyx_v_verbose) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":648
 *         """
 *         def __set__(self, bint verbose):
 *             ecore_con_url_verbose_set(self.obj, verbose)             # <<<<<<<<<<<<<<
 * 
 *     def additional_header_add(self, key, value):
 */
  ecore_con_url_verbose_set(__pyx_v_self->__pyx_base.obj, __pyx_v_verbose);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":647
 * 
 *         """
 *         def __set__(self, bint verbose):             # <<<<<<<<<<<<<<
 *             ecore_con_url_verbose_set(self.obj, verbose)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":650
 *             ecore_con_url_verbose_set(self.obj, verbose)
 * 
 *     def additional_header_add(self, key, value):             # <<<<<<<<<<<<<<
 *         """Add an additional header to the request connection object.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_27additional_header_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_26additional_header_add[] = "Url.additional_header_add(self, key, value)\nAdd an additional header to the request connection object. \n\n        Add an additional header (User-Agent, Content-Type, etc.) to the\n        request connection object. This addition will be valid for only one\n        :func:`get` or :func:`post` call.\n\n        :param string key: Header key \n        :param string value: Header value\n\n        Some functions like :func:`time` also add headers to the request. \n        \n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_27additional_header_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_key = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("additional_header_add (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_key,&__pyx_n_s_value,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_key)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("additional_header_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 650; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "additional_header_add") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 650; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_key = values[0];
    __pyx_v_value = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("additional_header_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 650; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.additional_header_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_26additional_header_add(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_key, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_26additional_header_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  char const *__pyx_t_6;
  char const *__pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("additional_header_add", 0);
  __Pyx_INCREF(__pyx_v_key);
  __Pyx_INCREF(__pyx_v_value);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":663
 * 
 *         """
 *         if isinstance(key, unicode): key = PyUnicode_AsUTF8String(key)             # <<<<<<<<<<<<<<
 *         if isinstance(value, unicode): value = PyUnicode_AsUTF8String(value)
 *         ecore_con_url_additional_header_add(self.obj,
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_key); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_key); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_key, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":664
 *         """
 *         if isinstance(key, unicode): key = PyUnicode_AsUTF8String(key)
 *         if isinstance(value, unicode): value = PyUnicode_AsUTF8String(value)             # <<<<<<<<<<<<<<
 *         ecore_con_url_additional_header_add(self.obj,
 *                            <const char *>key if key is not None else NULL,
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_value); 
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":666
 *         if isinstance(value, unicode): value = PyUnicode_AsUTF8String(value)
 *         ecore_con_url_additional_header_add(self.obj,
 *                            <const char *>key if key is not None else NULL,             # <<<<<<<<<<<<<<
 *                            <const char *>value if value is not None else NULL)
 * 
 */
  __pyx_t_1 = (__pyx_v_key != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_key); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":667
 *         ecore_con_url_additional_header_add(self.obj,
 *                            <const char *>key if key is not None else NULL,
 *                            <const char *>value if value is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     def additional_headers_clear(self):
 */
  __pyx_t_1 = (__pyx_v_value != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_7 = __Pyx_PyObject_AsString(__pyx_v_value); if (unlikely((!__pyx_t_7) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_6 = ((char const *)__pyx_t_7);
  } else {
    __pyx_t_6 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":665
 *         if isinstance(key, unicode): key = PyUnicode_AsUTF8String(key)
 *         if isinstance(value, unicode): value = PyUnicode_AsUTF8String(value)
 *         ecore_con_url_additional_header_add(self.obj,             # <<<<<<<<<<<<<<
 *                            <const char *>key if key is not None else NULL,
 *                            <const char *>value if value is not None else NULL)
 */
  ecore_con_url_additional_header_add(__pyx_v_self->__pyx_base.obj, __pyx_t_4, __pyx_t_6);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":650
 *             ecore_con_url_verbose_set(self.obj, verbose)
 * 
 *     def additional_header_add(self, key, value):             # <<<<<<<<<<<<<<
 *         """Add an additional header to the request connection object.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.additional_header_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_key);
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":669
 *                            <const char *>value if value is not None else NULL)
 * 
 *     def additional_headers_clear(self):             # <<<<<<<<<<<<<<
 *         """Clean additional headers.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_29additional_headers_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_28additional_headers_clear[] = "Url.additional_headers_clear(self)\nClean additional headers.\n        \n        Clean additional headers associated with a connection object\n        (previously added with :func:additional_header_add`).\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_29additional_headers_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("additional_headers_clear (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_28additional_headers_clear(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_28additional_headers_clear(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("additional_headers_clear", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":676
 * 
 *         """
 *         ecore_con_url_additional_headers_clear(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property response_headers:
 */
  ecore_con_url_additional_headers_clear(__pyx_v_self->__pyx_base.obj);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":669
 *                            <const char *>value if value is not None else NULL)
 * 
 *     def additional_headers_clear(self):             # <<<<<<<<<<<<<<
 *         """Clean additional headers.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":688
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return eina_list_strings_to_python_list(
 *                         ecore_con_url_response_headers_get(self.obj))
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_16response_headers_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_16response_headers_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_16response_headers___get__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_16response_headers___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":689
 *         """
 *         def __get__(self):
 *             return eina_list_strings_to_python_list(             # <<<<<<<<<<<<<<
 *                         ecore_con_url_response_headers_get(self.obj))
 * 
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":690
 *         def __get__(self):
 *             return eina_list_strings_to_python_list(
 *                         ecore_con_url_response_headers_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property received_bytes:
 */
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(ecore_con_url_response_headers_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 689; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":688
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return eina_list_strings_to_python_list(
 *                         ecore_con_url_response_headers_get(self.obj))
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.response_headers.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":701
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return ecore_con_url_received_bytes_get(self.obj)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_14received_bytes_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_14received_bytes_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_14received_bytes___get__(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_14received_bytes___get__(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":702
 *         """
 *         def __get__(self):
 *             return ecore_con_url_received_bytes_get(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     def httpauth_set(self, username, password, bint safe):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_int(ecore_con_url_received_bytes_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":701
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return ecore_con_url_received_bytes_get(self.obj)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.received_bytes.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":704
 *             return ecore_con_url_received_bytes_get(self.obj)
 * 
 *     def httpauth_set(self, username, password, bint safe):             # <<<<<<<<<<<<<<
 *         """Set to use http auth, with given username and password
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_31httpauth_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_30httpauth_set[] = "Url.httpauth_set(self, username, password, bool safe)\nSet to use http auth, with given username and password\n        \n        :param string username: Username to use in authentication \n        :param string password: Password to use in authentication\n        :param bool safe: Whether to use \"safer\" methods (eg, NOT http basic auth)\n\n        :return: ``True`` on success, ``False`` on error.\n        :rtype: bool\n\n        .. warning:: Require libcurl >= 7.19.1 to work, otherwise will\n                     always return ``False``.\n        \n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_31httpauth_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_username = 0;
  PyObject *__pyx_v_password = 0;
  int __pyx_v_safe;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("httpauth_set (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_username,&__pyx_n_s_password,&__pyx_n_s_safe,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_username)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_password)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("httpauth_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_safe)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("httpauth_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "httpauth_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_username = values[0];
    __pyx_v_password = values[1];
    __pyx_v_safe = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_safe == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("httpauth_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.Url.httpauth_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_30httpauth_set(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_username, __pyx_v_password, __pyx_v_safe);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_30httpauth_set(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_username, PyObject *__pyx_v_password, int __pyx_v_safe) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  char const *__pyx_t_6;
  char const *__pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("httpauth_set", 0);
  __Pyx_INCREF(__pyx_v_username);
  __Pyx_INCREF(__pyx_v_password);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":718
 * 
 *         """
 *         if isinstance(username, unicode):             # <<<<<<<<<<<<<<
 *             username = PyUnicode_AsUTF8String(username)
 *         if isinstance(password, unicode):
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_username); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":719
 *         """
 *         if isinstance(username, unicode):
 *             username = PyUnicode_AsUTF8String(username)             # <<<<<<<<<<<<<<
 *         if isinstance(password, unicode):
 *             password = PyUnicode_AsUTF8String(password)
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_username); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 719; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_username, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":720
 *         if isinstance(username, unicode):
 *             username = PyUnicode_AsUTF8String(username)
 *         if isinstance(password, unicode):             # <<<<<<<<<<<<<<
 *             password = PyUnicode_AsUTF8String(password)
 *         return bool(ecore_con_url_httpauth_set(self.obj,
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_password); 
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {

    /* "efl/ecore_con/efl.ecore_con_url.pxi":721
 *             username = PyUnicode_AsUTF8String(username)
 *         if isinstance(password, unicode):
 *             password = PyUnicode_AsUTF8String(password)             # <<<<<<<<<<<<<<
 *         return bool(ecore_con_url_httpauth_set(self.obj,
 *                     <const char *>username if username is not None else NULL,
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_password); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 721; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_password, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":722
 *         if isinstance(password, unicode):
 *             password = PyUnicode_AsUTF8String(password)
 *         return bool(ecore_con_url_httpauth_set(self.obj,             # <<<<<<<<<<<<<<
 *                     <const char *>username if username is not None else NULL,
 *                     <const char *>password if password is not None else NULL,
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":723
 *             password = PyUnicode_AsUTF8String(password)
 *         return bool(ecore_con_url_httpauth_set(self.obj,
 *                     <const char *>username if username is not None else NULL,             # <<<<<<<<<<<<<<
 *                     <const char *>password if password is not None else NULL,
 *                     safe))
 */
  __pyx_t_1 = (__pyx_v_username != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_username); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":724
 *         return bool(ecore_con_url_httpauth_set(self.obj,
 *                     <const char *>username if username is not None else NULL,
 *                     <const char *>password if password is not None else NULL,             # <<<<<<<<<<<<<<
 *                     safe))
 * 
 */
  __pyx_t_1 = (__pyx_v_password != Py_None);
  if ((__pyx_t_1 != 0)) {
    __pyx_t_7 = __Pyx_PyObject_AsString(__pyx_v_password); if (unlikely((!__pyx_t_7) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_6 = ((char const *)__pyx_t_7);
  } else {
    __pyx_t_6 = NULL;
  }

  /* "efl/ecore_con/efl.ecore_con_url.pxi":722
 *         if isinstance(password, unicode):
 *             password = PyUnicode_AsUTF8String(password)
 *         return bool(ecore_con_url_httpauth_set(self.obj,             # <<<<<<<<<<<<<<
 *                     <const char *>username if username is not None else NULL,
 *                     <const char *>password if password is not None else NULL,
 */
  __pyx_t_3 = __Pyx_PyInt_From_Eina_Bool(ecore_con_url_httpauth_set(__pyx_v_self->__pyx_base.obj, __pyx_t_4, __pyx_t_6, __pyx_v_safe)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 722; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 722; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_PyBool_FromLong((!(!__pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 722; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":704
 *             return ecore_con_url_received_bytes_get(self.obj)
 * 
 *     def httpauth_set(self, username, password, bint safe):             # <<<<<<<<<<<<<<
 *         """Set to use http auth, with given username and password
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.ecore_con.Url.httpauth_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_username);
  __Pyx_XDECREF(__pyx_v_password);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":727
 *                     safe))
 * 
 *     def on_complete_event_add(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Adds event listener to know when the Url operation is completed.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_33on_complete_event_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_32on_complete_event_add[] = "Url.on_complete_event_add(self, func, *args, **kargs)\nAdds event listener to know when the Url operation is completed.\n\n        The given function will be called with the following signature::\n\n            func(event, *args, **kargs)\n\n        The ``event`` parameter is an :class:`EventUrlComplete` instance.\n\n        :see: :func:`on_complete_event_del`\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_33on_complete_event_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("on_complete_event_add (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "on_complete_event_add") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 727; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("on_complete_event_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 727; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Url.on_complete_event_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_32on_complete_event_add(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_32on_complete_event_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("on_complete_event_add", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":739
 * 
 *         """
 *         GEF.callback_add(ECORE_CON_EVENT_URL_COMPLETE, self, func, args, kargs)             # <<<<<<<<<<<<<<
 * 
 *     def on_complete_event_del(self, func, *args, **kargs):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *)__pyx_v_3efl_9ecore_con_GEF->__pyx_vtab)->callback_add(__pyx_v_3efl_9ecore_con_GEF, ECORE_CON_EVENT_URL_COMPLETE, ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":727
 *                     safe))
 * 
 *     def on_complete_event_add(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Adds event listener to know when the Url operation is completed.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.on_complete_event_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":741
 *         GEF.callback_add(ECORE_CON_EVENT_URL_COMPLETE, self, func, args, kargs)
 * 
 *     def on_complete_event_del(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Removes an event listener previously registered
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_35on_complete_event_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_34on_complete_event_del[] = "Url.on_complete_event_del(self, func, *args, **kargs)\nRemoves an event listener previously registered \n\n        Parameters must match exactly the ones given in the\n        :func:`on_complete_event_add` call\n\n        :raise ValueError: if parameters don't match an already\n                           registered callback.\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_35on_complete_event_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("on_complete_event_del (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "on_complete_event_del") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("on_complete_event_del", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Url.on_complete_event_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_34on_complete_event_del(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_34on_complete_event_del(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("on_complete_event_del", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":750
 *                            registered callback.
 *         """
 *         GEF.callback_del(ECORE_CON_EVENT_URL_COMPLETE, self, func, args, kargs)             # <<<<<<<<<<<<<<
 * 
 *     def on_progress_event_add(self, func, *args, **kargs):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *)__pyx_v_3efl_9ecore_con_GEF->__pyx_vtab)->callback_del(__pyx_v_3efl_9ecore_con_GEF, ECORE_CON_EVENT_URL_COMPLETE, ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":741
 *         GEF.callback_add(ECORE_CON_EVENT_URL_COMPLETE, self, func, args, kargs)
 * 
 *     def on_complete_event_del(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Removes an event listener previously registered
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.on_complete_event_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":752
 *         GEF.callback_del(ECORE_CON_EVENT_URL_COMPLETE, self, func, args, kargs)
 * 
 *     def on_progress_event_add(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Adds event listener to know the operation status progress.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_37on_progress_event_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_36on_progress_event_add[] = "Url.on_progress_event_add(self, func, *args, **kargs)\nAdds event listener to know the operation status progress.\n\n        The given function will be called with the following signature::\n\n            func(event, *args, **kargs)\n\n        The ``event`` parameter is an :class:`EventUrlProgress` instance.\n\n        :see: :func:`on_progress_event_del`\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_37on_progress_event_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("on_progress_event_add (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "on_progress_event_add") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("on_progress_event_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Url.on_progress_event_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_36on_progress_event_add(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_36on_progress_event_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("on_progress_event_add", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":764
 * 
 *         """
 *         GEF.callback_add(ECORE_CON_EVENT_URL_PROGRESS, self, func, args, kargs)             # <<<<<<<<<<<<<<
 * 
 *     def on_progress_event_del(self, func, *args, **kargs):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *)__pyx_v_3efl_9ecore_con_GEF->__pyx_vtab)->callback_add(__pyx_v_3efl_9ecore_con_GEF, ECORE_CON_EVENT_URL_PROGRESS, ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":752
 *         GEF.callback_del(ECORE_CON_EVENT_URL_COMPLETE, self, func, args, kargs)
 * 
 *     def on_progress_event_add(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Adds event listener to know the operation status progress.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.on_progress_event_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":766
 *         GEF.callback_add(ECORE_CON_EVENT_URL_PROGRESS, self, func, args, kargs)
 * 
 *     def on_progress_event_del(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Removes an event listener previously registered
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_39on_progress_event_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_38on_progress_event_del[] = "Url.on_progress_event_del(self, func, *args, **kargs)\nRemoves an event listener previously registered \n\n        Parameters must match exactly the ones given in the\n        :func:`on_progress_event_add` call\n\n        :raise ValueError: if parameters don't match an already\n                           registered callback.\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_39on_progress_event_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("on_progress_event_del (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "on_progress_event_del") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("on_progress_event_del", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Url.on_progress_event_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_38on_progress_event_del(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_38on_progress_event_del(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("on_progress_event_del", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":775
 *                            registered callback.
 *         """
 *         GEF.callback_del(ECORE_CON_EVENT_URL_PROGRESS, self, func, args, kargs)             # <<<<<<<<<<<<<<
 * 
 *     def on_data_event_add(self, func, *args, **kargs):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *)__pyx_v_3efl_9ecore_con_GEF->__pyx_vtab)->callback_del(__pyx_v_3efl_9ecore_con_GEF, ECORE_CON_EVENT_URL_PROGRESS, ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 775; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":766
 *         GEF.callback_add(ECORE_CON_EVENT_URL_PROGRESS, self, func, args, kargs)
 * 
 *     def on_progress_event_del(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Removes an event listener previously registered
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.on_progress_event_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":777
 *         GEF.callback_del(ECORE_CON_EVENT_URL_PROGRESS, self, func, args, kargs)
 * 
 *     def on_data_event_add(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Adds event listener to collect the data while they are received.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_41on_data_event_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_40on_data_event_add[] = "Url.on_data_event_add(self, func, *args, **kargs)\nAdds event listener to collect the data while they are received.\n\n        The given function will be called with the following signature::\n\n            func(event, *args, **kargs)\n\n        The ``event`` parameter is an :class:`EventUrlData` instance.\n\n        :see: :func:`on_data_event_del`\n\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_41on_data_event_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("on_data_event_add (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "on_data_event_add") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 777; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("on_data_event_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 777; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Url.on_data_event_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_40on_data_event_add(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_40on_data_event_add(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("on_data_event_add", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":789
 * 
 *         """
 *         GEF.callback_add(ECORE_CON_EVENT_URL_DATA, self, func, args, kargs)             # <<<<<<<<<<<<<<
 * 
 *     def on_data_event_del(self, func, *args, **kargs):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *)__pyx_v_3efl_9ecore_con_GEF->__pyx_vtab)->callback_add(__pyx_v_3efl_9ecore_con_GEF, ECORE_CON_EVENT_URL_DATA, ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":777
 *         GEF.callback_del(ECORE_CON_EVENT_URL_PROGRESS, self, func, args, kargs)
 * 
 *     def on_data_event_add(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Adds event listener to collect the data while they are received.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.on_data_event_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":791
 *         GEF.callback_add(ECORE_CON_EVENT_URL_DATA, self, func, args, kargs)
 * 
 *     def on_data_event_del(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Removes an event listener previously registered
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_43on_data_event_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_9ecore_con_3Url_42on_data_event_del[] = "Url.on_data_event_del(self, func, *args, **kargs)\nRemoves an event listener previously registered \n\n        Parameters must match exactly the ones given in the\n        :func:`on_data_event_add` call\n\n        :raise ValueError: if parameters don't match an already\n                           registered callback.\n        ";
static PyObject *__pyx_pw_3efl_9ecore_con_3Url_43on_data_event_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("on_data_event_del (wrapper)", 0);
  __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "on_data_event_del") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 791; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("on_data_event_del", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 791; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
  __Pyx_AddTraceback("efl.ecore_con.Url.on_data_event_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_3Url_42on_data_event_del(((struct __pyx_obj_3efl_9ecore_con_Url *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_args);
  __Pyx_XDECREF(__pyx_v_kargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_3Url_42on_data_event_del(struct __pyx_obj_3efl_9ecore_con_Url *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("on_data_event_del", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":800
 *                            registered callback.
 *         """
 *         GEF.callback_del(ECORE_CON_EVENT_URL_DATA, self, func, args, kargs)             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter *)__pyx_v_3efl_9ecore_con_GEF->__pyx_vtab)->callback_del(__pyx_v_3efl_9ecore_con_GEF, ECORE_CON_EVENT_URL_DATA, ((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":791
 *         GEF.callback_add(ECORE_CON_EVENT_URL_DATA, self, func, args, kargs)
 * 
 *     def on_data_event_del(self, func, *args, **kargs):             # <<<<<<<<<<<<<<
 *         """Removes an event listener previously registered
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.Url.on_data_event_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":803
 * 
 * 
 * def url_pipeline_set(bint enable):             # <<<<<<<<<<<<<<
 *     """Enable or disable HTTP 1.1 pipelining.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_5url_pipeline_set(PyObject *__pyx_self, PyObject *__pyx_arg_enable); /*proto*/
static char __pyx_doc_3efl_9ecore_con_4url_pipeline_set[] = "url_pipeline_set(bool enable)\nEnable or disable HTTP 1.1 pipelining.\n\n    Pipelining allows to send one request after another one, without having to\n    wait for the reply of the first request. The respective replies are\n    received in the order that the requests were sent.\n\n    .. warning:: Enabling this feature will be valid for all requests done\n                 using ecore_con_url.\n\n    .. versionadded:: 1.17\n\n    ";
static PyMethodDef __pyx_mdef_3efl_9ecore_con_5url_pipeline_set = {"url_pipeline_set", (PyCFunction)__pyx_pw_3efl_9ecore_con_5url_pipeline_set, METH_O, __pyx_doc_3efl_9ecore_con_4url_pipeline_set};
static PyObject *__pyx_pw_3efl_9ecore_con_5url_pipeline_set(PyObject *__pyx_self, PyObject *__pyx_arg_enable) {
  int __pyx_v_enable;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("url_pipeline_set (wrapper)", 0);
  assert(__pyx_arg_enable); {
    __pyx_v_enable = __Pyx_PyObject_IsTrue(__pyx_arg_enable); if (unlikely((__pyx_v_enable == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.ecore_con.url_pipeline_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_9ecore_con_4url_pipeline_set(__pyx_self, ((int)__pyx_v_enable));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_4url_pipeline_set(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_enable) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("url_pipeline_set", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":816
 * 
 *     """
 *     ecore_con_url_pipeline_set(enable)             # <<<<<<<<<<<<<<
 * 
 * def url_pipeline_get():
 */
  ecore_con_url_pipeline_set(__pyx_v_enable);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":803
 * 
 * 
 * def url_pipeline_set(bint enable):             # <<<<<<<<<<<<<<
 *     """Enable or disable HTTP 1.1 pipelining.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/ecore_con/efl.ecore_con_url.pxi":818
 *     ecore_con_url_pipeline_set(enable)
 * 
 * def url_pipeline_get():             # <<<<<<<<<<<<<<
 *     """Is HTTP 1.1 pipelining enable ?
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_9ecore_con_7url_pipeline_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_9ecore_con_6url_pipeline_get[] = "url_pipeline_get()\nIs HTTP 1.1 pipelining enable ? \n\n    :return: ``True`` if enable\n\n    .. versionadded:: 1.17\n\n    ";
static PyMethodDef __pyx_mdef_3efl_9ecore_con_7url_pipeline_get = {"url_pipeline_get", (PyCFunction)__pyx_pw_3efl_9ecore_con_7url_pipeline_get, METH_NOARGS, __pyx_doc_3efl_9ecore_con_6url_pipeline_get};
static PyObject *__pyx_pw_3efl_9ecore_con_7url_pipeline_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("url_pipeline_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_9ecore_con_6url_pipeline_get(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_9ecore_con_6url_pipeline_get(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("url_pipeline_get", 0);

  /* "efl/ecore_con/efl.ecore_con_url.pxi":826
 * 
 *     """
 *     return bool(ecore_con_url_pipeline_get())             # <<<<<<<<<<<<<<
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(ecore_con_url_pipeline_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":818
 *     ecore_con_url_pipeline_set(enable)
 * 
 * def url_pipeline_get():             # <<<<<<<<<<<<<<
 *     """Is HTTP 1.1 pipelining enable ?
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.ecore_con.url_pipeline_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "include/efl.eo.pxd":35
 *         cdef Eina_Iterator *itr
 *         @staticmethod
 *         cdef inline create(Eina_Iterator *itr):             # <<<<<<<<<<<<<<
 *             cdef EoIterator obj = EoIterator.__new__(EoIterator)
 *             obj.itr = itr
 */

static CYTHON_INLINE PyObject *__pyx_f_3efl_2eo_10EoIterator_create(Eina_Iterator *__pyx_v_itr) {
  struct __pyx_obj_3efl_2eo_EoIterator *__pyx_v_obj = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("create", 0);

  /* "include/efl.eo.pxd":36
 *         @staticmethod
 *         cdef inline create(Eina_Iterator *itr):
 *             cdef EoIterator obj = EoIterator.__new__(EoIterator)             # <<<<<<<<<<<<<<
 *             obj.itr = itr
 *             return obj
 */
  __pyx_t_1 = __Pyx_tp_new(((PyObject *)((PyObject*)__pyx_ptype_3efl_2eo_EoIterator)), __pyx_empty_tuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_2eo_EoIterator)))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_obj = ((struct __pyx_obj_3efl_2eo_EoIterator *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "include/efl.eo.pxd":37
 *         cdef inline create(Eina_Iterator *itr):
 *             cdef EoIterator obj = EoIterator.__new__(EoIterator)
 *             obj.itr = itr             # <<<<<<<<<<<<<<
 *             return obj
 * 
 */
  __pyx_v_obj->itr = __pyx_v_itr;

  /* "include/efl.eo.pxd":38
 *             cdef EoIterator obj = EoIterator.__new__(EoIterator)
 *             obj.itr = itr
 *             return obj             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_obj));
  __pyx_r = ((PyObject *)__pyx_v_obj);
  goto __pyx_L0;

  /* "include/efl.eo.pxd":35
 *         cdef Eina_Iterator *itr
 *         @staticmethod
 *         cdef inline create(Eina_Iterator *itr):             # <<<<<<<<<<<<<<
 *             cdef EoIterator obj = EoIterator.__new__(EoIterator)
 *             obj.itr = itr
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.eo.EoIterator.create", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_obj);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}
static struct __pyx_vtabstruct_3efl_9ecore_con_Url __pyx_vtable_3efl_9ecore_con_Url;

static PyObject *__pyx_tp_new_3efl_9ecore_con_Url(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_3efl_9ecore_con_Url *p;
  PyObject *o = __pyx_ptype_3efl_2eo_Eo->tp_new(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_9ecore_con_Url *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_3efl_2eo_Eo*)__pyx_vtabptr_3efl_9ecore_con_Url;
  return o;
}

static void __pyx_tp_dealloc_3efl_9ecore_con_Url(PyObject *o) {
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  PyObject_GC_Track(o);
  if (likely(__pyx_ptype_3efl_2eo_Eo)) __pyx_ptype_3efl_2eo_Eo->tp_dealloc(o); else __Pyx_call_next_tp_dealloc(o, __pyx_tp_dealloc_3efl_9ecore_con_Url);
}

static int __pyx_tp_traverse_3efl_9ecore_con_Url(PyObject *o, visitproc v, void *a) {
  int e;
  e = ((likely(__pyx_ptype_3efl_2eo_Eo)) ? ((__pyx_ptype_3efl_2eo_Eo->tp_traverse) ? __pyx_ptype_3efl_2eo_Eo->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_3efl_9ecore_con_Url)); if (e) return e;
  return 0;
}

static int __pyx_tp_clear_3efl_9ecore_con_Url(PyObject *o) {
  if (likely(__pyx_ptype_3efl_2eo_Eo)) { if (__pyx_ptype_3efl_2eo_Eo->tp_clear) __pyx_ptype_3efl_2eo_Eo->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_3efl_9ecore_con_Url);
  return 0;
}

static int __pyx_setprop_3efl_9ecore_con_3Url_fd(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_2fd_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_ftp_use_epsv(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_12ftp_use_epsv_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_cookies_jar_file(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_16cookies_jar_file_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_cookies_ignore_old_session(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_26cookies_ignore_old_session_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_ssl_verify_peer(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_15ssl_verify_peer_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_ssl_ca(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_6ssl_ca_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_proxy(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_5proxy_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_proxy_username(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_14proxy_username_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_proxy_password(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_14proxy_password_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_timeout(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_7timeout_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_http_version(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_12http_version_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_3efl_9ecore_con_3Url_status_code(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_3Url_11status_code_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_3Url_url(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_3Url_3url_1__get__(o);
}

static int __pyx_setprop_3efl_9ecore_con_3Url_url(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_3url_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static int __pyx_setprop_3efl_9ecore_con_3Url_verbose(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_9ecore_con_3Url_7verbose_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_3efl_9ecore_con_3Url_response_headers(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_3Url_16response_headers_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_3Url_received_bytes(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_3Url_14received_bytes_1__get__(o);
}

static PyMethodDef __pyx_methods_3efl_9ecore_con_Url[] = {
  {"delete", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_5delete, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_4delete},
  {"get", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_7get, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_6get},
  {"head", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_9head, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_8head},
  {"post", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_11post, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_10post},
  {"time", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_13time, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_12time},
  {"ftp_upload", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_15ftp_upload, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_14ftp_upload},
  {"cookies_init", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_17cookies_init, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_16cookies_init},
  {"cookies_clear", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_19cookies_clear, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_18cookies_clear},
  {"cookies_session_clear", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_21cookies_session_clear, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_20cookies_session_clear},
  {"cookies_file_add", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_23cookies_file_add, METH_O, __pyx_doc_3efl_9ecore_con_3Url_22cookies_file_add},
  {"cookies_jar_write", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_25cookies_jar_write, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_24cookies_jar_write},
  {"additional_header_add", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_27additional_header_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_26additional_header_add},
  {"additional_headers_clear", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_29additional_headers_clear, METH_NOARGS, __pyx_doc_3efl_9ecore_con_3Url_28additional_headers_clear},
  {"httpauth_set", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_31httpauth_set, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_30httpauth_set},
  {"on_complete_event_add", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_33on_complete_event_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_32on_complete_event_add},
  {"on_complete_event_del", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_35on_complete_event_del, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_34on_complete_event_del},
  {"on_progress_event_add", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_37on_progress_event_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_36on_progress_event_add},
  {"on_progress_event_del", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_39on_progress_event_del, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_38on_progress_event_del},
  {"on_data_event_add", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_41on_data_event_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_40on_data_event_add},
  {"on_data_event_del", (PyCFunction)__pyx_pw_3efl_9ecore_con_3Url_43on_data_event_del, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_9ecore_con_3Url_42on_data_event_del},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_3efl_9ecore_con_Url[] = {
  {(char *)"fd", 0, __pyx_setprop_3efl_9ecore_con_3Url_fd, __pyx_k_Set_up_a_file_to_have_response_d, 0},
  {(char *)"ftp_use_epsv", 0, __pyx_setprop_3efl_9ecore_con_3Url_ftp_use_epsv, __pyx_k_Enable_or_disable_EPSV_extension, 0},
  {(char *)"cookies_jar_file", 0, __pyx_setprop_3efl_9ecore_con_3Url_cookies_jar_file, __pyx_k_The_name_of_the_file_to_which_al, 0},
  {(char *)"cookies_ignore_old_session", 0, __pyx_setprop_3efl_9ecore_con_3Url_cookies_ignore_old_session, __pyx_k_Control_whether_session_cookies, 0},
  {(char *)"ssl_verify_peer", 0, __pyx_setprop_3efl_9ecore_con_3Url_ssl_verify_peer, __pyx_k_Toggle_libcurl_s_verify_peer_s_c, 0},
  {(char *)"ssl_ca", 0, __pyx_setprop_3efl_9ecore_con_3Url_ssl_ca, __pyx_k_Set_a_custom_CA_to_trust_for_SSL, 0},
  {(char *)"proxy", 0, __pyx_setprop_3efl_9ecore_con_3Url_proxy, __pyx_k_Set_the_HTTP_proxy_to_use_The_pa, 0},
  {(char *)"proxy_username", 0, __pyx_setprop_3efl_9ecore_con_3Url_proxy_username, __pyx_k_Username_to_use_for_proxy_If_soc, 0},
  {(char *)"proxy_password", 0, __pyx_setprop_3efl_9ecore_con_3Url_proxy_password, __pyx_k_Password_to_use_for_proxy_If_soc, 0},
  {(char *)"timeout", 0, __pyx_setprop_3efl_9ecore_con_3Url_timeout, __pyx_k_transfer_timeout_in_seconds_The, 0},
  {(char *)"http_version", 0, __pyx_setprop_3efl_9ecore_con_3Url_http_version, __pyx_k_The_HTTP_version_used_for_the_re, 0},
  {(char *)"status_code", __pyx_getprop_3efl_9ecore_con_3Url_status_code, 0, __pyx_k_The_returned_HTTP_STATUS_code_Th, 0},
  {(char *)"url", __pyx_getprop_3efl_9ecore_con_3Url_url, __pyx_setprop_3efl_9ecore_con_3Url_url, __pyx_k_Controls_the_URL_to_send_the_req, 0},
  {(char *)"verbose", 0, __pyx_setprop_3efl_9ecore_con_3Url_verbose, __pyx_k_Toggle_libcurl_s_verbose_output, 0},
  {(char *)"response_headers", __pyx_getprop_3efl_9ecore_con_3Url_response_headers, 0, __pyx_k_The_headers_from_last_request_se, 0},
  {(char *)"received_bytes", __pyx_getprop_3efl_9ecore_con_3Url_received_bytes, 0, __pyx_k_The_number_of_bytes_received_Ret, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_9ecore_con_Url = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.ecore_con.Url", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_9ecore_con_Url), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_9ecore_con_Url, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  __pyx_pw_3efl_9ecore_con_3Url_3__repr__, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "Url(url, custom_request=None, **kargs)\n\n\n    Utility class to make it easy to perform http requests (POST, GET, etc).\n\n    .. versionadded:: 1.17\n\n    Brief usage:\n        1. Create an :class:`Url` object with ecore_con.Url('myurl')\n        2. Register object callbacks using :func:`on_complete_event_add`,\n           :func:`on_progress_event_add` and :func:`on_data_event_add` to\n           receive the response, e.g. for HTTP/FTP downloads.\n        3. Perform the operation with :func:`get`, :func:`head` and :func:`post`\n\n    If it's necessary use the :attr:`url` property. to change the object url. \n\n    .. note::\n        It is good practice to reuse :class:`Url` objects wherever possible,\n        but bear in mind that each one can only perform one operation at a\n        time. You need to wait for the complete event before re-using or\n        destroying the object.\n\n    .. warning::\n        It is **really important** to call the :func:`delete()` method as soon\n        as you have finished with your object, as it automatically remove all\n        the registered events for you, that will otherwise continue to use\n        resources.\n\n    Basic usage examples::\n\n        # HTTP GET\n        u = ecore.Url(\"http://www.google.com\")\n        u.get()\n\n        # HTTP POST\n        u = ecore.Url('https://httpbin.org/post')\n        u.post(b'my data to post', 'text/txt')\n\n        # FTP download\n        u = ecore.Url(\"ftp://ftp.example.com/pub/myfile\")\n        u.get()\n\n        # FTP upload as ftp://ftp.example.com/file\n        u = ecore.Url(\"ftp://ftp.example.com\")\n        u.ftp_upload(\"/tmp/file\", \"user\", \"pass\", None)\n\n        # FTP upload as ftp://ftp.example.com/dir/file\n        u = ecore.Url(\"ftp://ftp.example.com\")\n        u.ftp_upload(\"/tmp/file\", \"user\", \"pass\", \"dir\")\n\n    To actually make something usefull with your request you will need to\n    connect the :class:`EventUrlComplete`, :class:`EventUrlProgress` and\n    :class:`EventUrlData` events using the :func:`on_complete_event_add` and\n    friends functions.\n\n    A more complete example::\n\n        from efl import ecore\n\n        def on_data(event):\n            print(\"data: \" + str(event.data[:80]))\n            # do something here with the received data\n\n        def on_progress(event):\n            # print(event)\n            print(\"received %d on a total of %d bytes\" % (\n                   event.down_now, event.down_total))\n\n        def on_complete(event):\n            # print(event)\n            print(\"http result: %d\" % event.status)\n            print(\"Total received bytes: %d\" % event.url.received_bytes)\n\n            u.delete() # don't forget to delete !!\n\n        u = ecore.Url('http://www.google.com', verbose=False)\n        u.on_data_event_add(on_data)\n        u.on_progress_event_add(on_progress)\n        u.on_complete_event_add(on_complete)\n        u.get()\n\n        ecore.main_loop_begin()\n\n    If you need  to save the received data to a file use the :attr:`fd`\n    property, as::\n\n        fd = open('/tmp/tmpMxBtta', 'w')\n        u = ecore.Url('http://example.com', fd=fd.fileno())\n        u.get()\n\n    .. seealso::\n        If you just need to download a file please consider using the\n        simpler :class:`efl.ecore.FileDownload` class instead.\n\n    .. seealso::\n        The ecore module level functions :func:`url_pipeline_set` and\n        :func:`url_pipeline_get` to enable HTTP 1.1 pipelining.\n\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_9ecore_con_Url, /*tp_traverse*/
  __pyx_tp_clear_3efl_9ecore_con_Url, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_3efl_9ecore_con_Url, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_9ecore_con_Url, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_3efl_9ecore_con_3Url_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_9ecore_con_Url, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};

static PyObject *__pyx_tp_new_3efl_9ecore_con_Lookup(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_3efl_9ecore_con_Lookup *p;
  PyObject *o;
  if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
    o = (*t->tp_alloc)(t, 0);
  } else {
    o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
  }
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_9ecore_con_Lookup *)o);
  p->done_cb = Py_None; Py_INCREF(Py_None);
  p->args = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->kargs = ((PyObject*)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_3efl_9ecore_con_Lookup(PyObject *o) {
  struct __pyx_obj_3efl_9ecore_con_Lookup *p = (struct __pyx_obj_3efl_9ecore_con_Lookup *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->done_cb);
  Py_CLEAR(p->args);
  Py_CLEAR(p->kargs);
  (*Py_TYPE(o)->tp_free)(o);
}

static int __pyx_tp_traverse_3efl_9ecore_con_Lookup(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_3efl_9ecore_con_Lookup *p = (struct __pyx_obj_3efl_9ecore_con_Lookup *)o;
  if (p->done_cb) {
    e = (*v)(p->done_cb, a); if (e) return e;
  }
  if (p->args) {
    e = (*v)(p->args, a); if (e) return e;
  }
  if (p->kargs) {
    e = (*v)(p->kargs, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_3efl_9ecore_con_Lookup(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_3efl_9ecore_con_Lookup *p = (struct __pyx_obj_3efl_9ecore_con_Lookup *)o;
  tmp = ((PyObject*)p->done_cb);
  p->done_cb = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->args);
  p->args = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->kargs);
  p->kargs = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyMethodDef __pyx_methods_3efl_9ecore_con_Lookup[] = {
  {0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_9ecore_con_Lookup = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.ecore_con.Lookup", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_9ecore_con_Lookup), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_9ecore_con_Lookup, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "Lookup(name, done_cb, *args, **kargs)", /*tp_doc*/
  __pyx_tp_traverse_3efl_9ecore_con_Lookup, /*tp_traverse*/
  __pyx_tp_clear_3efl_9ecore_con_Lookup, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_3efl_9ecore_con_Lookup, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_3efl_9ecore_con_6Lookup_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_9ecore_con_Lookup, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};
static struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlComplete __pyx_vtable_3efl_9ecore_con_EventUrlComplete;

static PyObject *__pyx_tp_new_3efl_9ecore_con_EventUrlComplete(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *p;
  PyObject *o = __pyx_ptype_3efl_5ecore_Event->tp_new(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_3efl_5ecore_Event*)__pyx_vtabptr_3efl_9ecore_con_EventUrlComplete;
  p->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_3efl_9ecore_con_EventUrlComplete(PyObject *o) {
  struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->url);
  #if CYTHON_COMPILING_IN_CPYTHON
  if (PyType_IS_GC(Py_TYPE(o)->tp_base))
  #endif
  PyObject_GC_Track(o);
  if (likely(__pyx_ptype_3efl_5ecore_Event)) __pyx_ptype_3efl_5ecore_Event->tp_dealloc(o); else __Pyx_call_next_tp_dealloc(o, __pyx_tp_dealloc_3efl_9ecore_con_EventUrlComplete);
}

static int __pyx_tp_traverse_3efl_9ecore_con_EventUrlComplete(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *)o;
  e = ((likely(__pyx_ptype_3efl_5ecore_Event)) ? ((__pyx_ptype_3efl_5ecore_Event->tp_traverse) ? __pyx_ptype_3efl_5ecore_Event->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_3efl_9ecore_con_EventUrlComplete)); if (e) return e;
  if (p->url) {
    e = (*v)(((PyObject*)p->url), a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_3efl_9ecore_con_EventUrlComplete(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlComplete *)o;
  if (likely(__pyx_ptype_3efl_5ecore_Event)) { if (__pyx_ptype_3efl_5ecore_Event->tp_clear) __pyx_ptype_3efl_5ecore_Event->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_3efl_9ecore_con_EventUrlComplete);
  tmp = ((PyObject*)p->url);
  p->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_3efl_9ecore_con_16EventUrlComplete_url(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_16EventUrlComplete_3url_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_16EventUrlComplete_status(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_16EventUrlComplete_6status_1__get__(o);
}

static struct PyGetSetDef __pyx_getsets_3efl_9ecore_con_EventUrlComplete[] = {
  {(char *)"url", __pyx_getprop_3efl_9ecore_con_16EventUrlComplete_url, 0, 0, 0},
  {(char *)"status", __pyx_getprop_3efl_9ecore_con_16EventUrlComplete_status, 0, 0, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_9ecore_con_EventUrlComplete = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.ecore_con.EventUrlComplete", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_9ecore_con_EventUrlComplete), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_9ecore_con_EventUrlComplete, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "Represents Ecore_Con_Event_Url_Complete event from C-api.\n\n    This event notifies the operation is completed.\n\n    attributes:\n        * url (:class:`Url`): the object that generate the event\n        * status(int): HTTP status code of the operation (200, 404, 401, etc.)\n\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_9ecore_con_EventUrlComplete, /*tp_traverse*/
  __pyx_tp_clear_3efl_9ecore_con_EventUrlComplete, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_9ecore_con_EventUrlComplete, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_9ecore_con_EventUrlComplete, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};
static struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlProgress __pyx_vtable_3efl_9ecore_con_EventUrlProgress;

static PyObject *__pyx_tp_new_3efl_9ecore_con_EventUrlProgress(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *p;
  PyObject *o = __pyx_ptype_3efl_5ecore_Event->tp_new(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_3efl_5ecore_Event*)__pyx_vtabptr_3efl_9ecore_con_EventUrlProgress;
  p->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_3efl_9ecore_con_EventUrlProgress(PyObject *o) {
  struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->url);
  #if CYTHON_COMPILING_IN_CPYTHON
  if (PyType_IS_GC(Py_TYPE(o)->tp_base))
  #endif
  PyObject_GC_Track(o);
  if (likely(__pyx_ptype_3efl_5ecore_Event)) __pyx_ptype_3efl_5ecore_Event->tp_dealloc(o); else __Pyx_call_next_tp_dealloc(o, __pyx_tp_dealloc_3efl_9ecore_con_EventUrlProgress);
}

static int __pyx_tp_traverse_3efl_9ecore_con_EventUrlProgress(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)o;
  e = ((likely(__pyx_ptype_3efl_5ecore_Event)) ? ((__pyx_ptype_3efl_5ecore_Event->tp_traverse) ? __pyx_ptype_3efl_5ecore_Event->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_3efl_9ecore_con_EventUrlProgress)); if (e) return e;
  if (p->url) {
    e = (*v)(((PyObject*)p->url), a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_3efl_9ecore_con_EventUrlProgress(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlProgress *)o;
  if (likely(__pyx_ptype_3efl_5ecore_Event)) { if (__pyx_ptype_3efl_5ecore_Event->tp_clear) __pyx_ptype_3efl_5ecore_Event->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_3efl_9ecore_con_EventUrlProgress);
  tmp = ((PyObject*)p->url);
  p->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_3efl_9ecore_con_16EventUrlProgress_url(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_16EventUrlProgress_3url_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_16EventUrlProgress_down_total(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_16EventUrlProgress_10down_total_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_16EventUrlProgress_down_now(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_16EventUrlProgress_8down_now_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_16EventUrlProgress_up_total(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_16EventUrlProgress_8up_total_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_16EventUrlProgress_up_now(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_16EventUrlProgress_6up_now_1__get__(o);
}

static struct PyGetSetDef __pyx_getsets_3efl_9ecore_con_EventUrlProgress[] = {
  {(char *)"url", __pyx_getprop_3efl_9ecore_con_16EventUrlProgress_url, 0, 0, 0},
  {(char *)"down_total", __pyx_getprop_3efl_9ecore_con_16EventUrlProgress_down_total, 0, 0, 0},
  {(char *)"down_now", __pyx_getprop_3efl_9ecore_con_16EventUrlProgress_down_now, 0, 0, 0},
  {(char *)"up_total", __pyx_getprop_3efl_9ecore_con_16EventUrlProgress_up_total, 0, 0, 0},
  {(char *)"up_now", __pyx_getprop_3efl_9ecore_con_16EventUrlProgress_up_now, 0, 0, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_9ecore_con_EventUrlProgress = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.ecore_con.EventUrlProgress", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_9ecore_con_EventUrlProgress), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_9ecore_con_EventUrlProgress, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "Represents Ecore_Con_Event_Url_Progress event from C-api.\n\n    This event notifies the progress of the current operation.\n\n    attributes:\n        * url (:class:`Url`): the object that generate the event\n        * down_total(double): total size of the downloading data (in bytes)\n        * down_now(double): current size of the downloading data (in bytes) \n        * up_total(double): total size of the uploading data (in bytes)\n        * up_now(double): current size of the uploading data (in bytes) \n\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_9ecore_con_EventUrlProgress, /*tp_traverse*/
  __pyx_tp_clear_3efl_9ecore_con_EventUrlProgress, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_9ecore_con_EventUrlProgress, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_9ecore_con_EventUrlProgress, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};
static struct __pyx_vtabstruct_3efl_9ecore_con_EventUrlData __pyx_vtable_3efl_9ecore_con_EventUrlData;

static PyObject *__pyx_tp_new_3efl_9ecore_con_EventUrlData(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_3efl_9ecore_con_EventUrlData *p;
  PyObject *o = __pyx_ptype_3efl_5ecore_Event->tp_new(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_9ecore_con_EventUrlData *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_3efl_5ecore_Event*)__pyx_vtabptr_3efl_9ecore_con_EventUrlData;
  p->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)Py_None); Py_INCREF(Py_None);
  p->data = ((PyObject*)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_3efl_9ecore_con_EventUrlData(PyObject *o) {
  struct __pyx_obj_3efl_9ecore_con_EventUrlData *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlData *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->url);
  Py_CLEAR(p->data);
  #if CYTHON_COMPILING_IN_CPYTHON
  if (PyType_IS_GC(Py_TYPE(o)->tp_base))
  #endif
  PyObject_GC_Track(o);
  if (likely(__pyx_ptype_3efl_5ecore_Event)) __pyx_ptype_3efl_5ecore_Event->tp_dealloc(o); else __Pyx_call_next_tp_dealloc(o, __pyx_tp_dealloc_3efl_9ecore_con_EventUrlData);
}

static int __pyx_tp_traverse_3efl_9ecore_con_EventUrlData(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_3efl_9ecore_con_EventUrlData *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlData *)o;
  e = ((likely(__pyx_ptype_3efl_5ecore_Event)) ? ((__pyx_ptype_3efl_5ecore_Event->tp_traverse) ? __pyx_ptype_3efl_5ecore_Event->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_3efl_9ecore_con_EventUrlData)); if (e) return e;
  if (p->url) {
    e = (*v)(((PyObject*)p->url), a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_3efl_9ecore_con_EventUrlData(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_3efl_9ecore_con_EventUrlData *p = (struct __pyx_obj_3efl_9ecore_con_EventUrlData *)o;
  if (likely(__pyx_ptype_3efl_5ecore_Event)) { if (__pyx_ptype_3efl_5ecore_Event->tp_clear) __pyx_ptype_3efl_5ecore_Event->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_3efl_9ecore_con_EventUrlData);
  tmp = ((PyObject*)p->url);
  p->url = ((struct __pyx_obj_3efl_9ecore_con_Url *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_3efl_9ecore_con_12EventUrlData_url(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_12EventUrlData_3url_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_12EventUrlData_size(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_12EventUrlData_4size_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_9ecore_con_12EventUrlData_data(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_9ecore_con_12EventUrlData_4data_1__get__(o);
}

static struct PyGetSetDef __pyx_getsets_3efl_9ecore_con_EventUrlData[] = {
  {(char *)"url", __pyx_getprop_3efl_9ecore_con_12EventUrlData_url, 0, 0, 0},
  {(char *)"size", __pyx_getprop_3efl_9ecore_con_12EventUrlData_size, 0, 0, 0},
  {(char *)"data", __pyx_getprop_3efl_9ecore_con_12EventUrlData_data, 0, 0, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_9ecore_con_EventUrlData = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.ecore_con.EventUrlData", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_9ecore_con_EventUrlData), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_9ecore_con_EventUrlData, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "Represents Ecore_Con_Event_Url_Data event from C-api.\n\n    This event hold the data while the are received.\n\n    .. note::\n        The data attribute is a raw series of bytes, map to ``str`` in python2\n        and ``bytes`` in python3.\n\n    attributes:\n        * url (:class:`Url`): the object that generate the event\n        * size(int): the size of the current received data (in bytes)\n        * data(bytes): the data received on this event\n\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_9ecore_con_EventUrlData, /*tp_traverse*/
  __pyx_tp_clear_3efl_9ecore_con_EventUrlData, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_9ecore_con_EventUrlData, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_9ecore_con_EventUrlData, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};
static struct __pyx_vtabstruct_3efl_9ecore_con_ConEventFilter __pyx_vtable_3efl_9ecore_con_ConEventFilter;

static PyObject *__pyx_tp_new_3efl_9ecore_con_ConEventFilter(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_3efl_9ecore_con_ConEventFilter *p;
  PyObject *o;
  if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
    o = (*t->tp_alloc)(t, 0);
  } else {
    o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
  }
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)o);
  p->__pyx_vtab = __pyx_vtabptr_3efl_9ecore_con_ConEventFilter;
  p->callbacks = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->handlers = ((PyObject*)Py_None); Py_INCREF(Py_None);
  if (unlikely(__pyx_pw_3efl_9ecore_con_14ConEventFilter_1__cinit__(o, __pyx_empty_tuple, NULL) < 0)) {
    Py_DECREF(o); o = 0;
  }
  return o;
}

static void __pyx_tp_dealloc_3efl_9ecore_con_ConEventFilter(PyObject *o) {
  struct __pyx_obj_3efl_9ecore_con_ConEventFilter *p = (struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->callbacks);
  Py_CLEAR(p->handlers);
  (*Py_TYPE(o)->tp_free)(o);
}

static int __pyx_tp_traverse_3efl_9ecore_con_ConEventFilter(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_3efl_9ecore_con_ConEventFilter *p = (struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)o;
  if (p->callbacks) {
    e = (*v)(p->callbacks, a); if (e) return e;
  }
  if (p->handlers) {
    e = (*v)(p->handlers, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_3efl_9ecore_con_ConEventFilter(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_3efl_9ecore_con_ConEventFilter *p = (struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)o;
  tmp = ((PyObject*)p->callbacks);
  p->callbacks = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->handlers);
  p->handlers = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyMethodDef __pyx_methods_3efl_9ecore_con_ConEventFilter[] = {
  {0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_9ecore_con_ConEventFilter = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.ecore_con.ConEventFilter", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_9ecore_con_ConEventFilter), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_9ecore_con_ConEventFilter, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "\n    self.callbacks = {\n        EV_TYPE: {\n            objX: [(cb,args,kargs), ... ]\n            objY: [(cb,args,kargs), ... ]\n        },\n        ...\n    }\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_9ecore_con_ConEventFilter, /*tp_traverse*/
  __pyx_tp_clear_3efl_9ecore_con_ConEventFilter, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_3efl_9ecore_con_ConEventFilter, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_9ecore_con_ConEventFilter, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};

static PyMethodDef __pyx_methods[] = {
  {0, 0, 0, 0}
};

#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef __pyx_moduledef = {
  #if PY_VERSION_HEX < 0x03020000
    { PyObject_HEAD_INIT(NULL) NULL, 0, NULL },
  #else
    PyModuleDef_HEAD_INIT,
  #endif
    "ecore_con",
    __pyx_k_mod_efl_ecore_con_Module_The_ec, /* m_doc */
    -1, /* m_size */
    __pyx_methods /* m_methods */,
    NULL, /* m_reload */
    NULL, /* m_traverse */
    NULL, /* m_clear */
    NULL /* m_free */
};
#endif

static __Pyx_StringTabEntry __pyx_string_tab[] = {
  {&__pyx_n_s_Exception, __pyx_k_Exception, sizeof(__pyx_k_Exception), 0, 0, 1, 1},
  {&__pyx_kp_s_Parameter_done_cb_must_be_callab, __pyx_k_Parameter_done_cb_must_be_callab, sizeof(__pyx_k_Parameter_done_cb_must_be_callab), 0, 0, 1, 0},
  {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
  {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
  {&__pyx_n_s_append, __pyx_k_append, sizeof(__pyx_k_append), 0, 0, 1, 1},
  {&__pyx_n_s_atexit, __pyx_k_atexit, sizeof(__pyx_k_atexit), 0, 0, 1, 1},
  {&__pyx_kp_s_callback_is_not_registered_s_arg, __pyx_k_callback_is_not_registered_s_arg, sizeof(__pyx_k_callback_is_not_registered_s_arg), 0, 0, 1, 0},
  {&__pyx_n_s_class, __pyx_k_class, sizeof(__pyx_k_class), 0, 0, 1, 1},
  {&__pyx_n_s_content_type, __pyx_k_content_type, sizeof(__pyx_k_content_type), 0, 0, 1, 1},
  {&__pyx_n_s_custom_request, __pyx_k_custom_request, sizeof(__pyx_k_custom_request), 0, 0, 1, 1},
  {&__pyx_n_s_data, __pyx_k_data, sizeof(__pyx_k_data), 0, 0, 1, 1},
  {&__pyx_n_s_done_cb, __pyx_k_done_cb, sizeof(__pyx_k_done_cb), 0, 0, 1, 1},
  {&__pyx_n_s_efl_ecore_con, __pyx_k_efl_ecore_con, sizeof(__pyx_k_efl_ecore_con), 0, 0, 1, 1},
  {&__pyx_n_s_enable, __pyx_k_enable, sizeof(__pyx_k_enable), 0, 0, 1, 1},
  {&__pyx_n_s_filename, __pyx_k_filename, sizeof(__pyx_k_filename), 0, 0, 1, 1},
  {&__pyx_n_s_func, __pyx_k_func, sizeof(__pyx_k_func), 0, 0, 1, 1},
  {&__pyx_n_s_get, __pyx_k_get, sizeof(__pyx_k_get), 0, 0, 1, 1},
  {&__pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_k_home_dave_e_bindings_python_efl, sizeof(__pyx_k_home_dave_e_bindings_python_efl), 0, 0, 1, 0},
  {&__pyx_kp_s_home_dave_e_bindings_python_efl_2, __pyx_k_home_dave_e_bindings_python_efl_2, sizeof(__pyx_k_home_dave_e_bindings_python_efl_2), 0, 0, 1, 0},
  {&__pyx_n_s_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 0, 1, 1},
  {&__pyx_n_s_init, __pyx_k_init, sizeof(__pyx_k_init), 0, 0, 1, 1},
  {&__pyx_n_s_key, __pyx_k_key, sizeof(__pyx_k_key), 0, 0, 1, 1},
  {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
  {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
  {&__pyx_n_s_name_2, __pyx_k_name_2, sizeof(__pyx_k_name_2), 0, 0, 1, 1},
  {&__pyx_n_s_passwd, __pyx_k_passwd, sizeof(__pyx_k_passwd), 0, 0, 1, 1},
  {&__pyx_n_s_password, __pyx_k_password, sizeof(__pyx_k_password), 0, 0, 1, 1},
  {&__pyx_n_s_pop, __pyx_k_pop, sizeof(__pyx_k_pop), 0, 0, 1, 1},
  {&__pyx_n_s_print_exc, __pyx_k_print_exc, sizeof(__pyx_k_print_exc), 0, 0, 1, 1},
  {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
  {&__pyx_n_s_register, __pyx_k_register, sizeof(__pyx_k_register), 0, 0, 1, 1},
  {&__pyx_n_s_remove, __pyx_k_remove, sizeof(__pyx_k_remove), 0, 0, 1, 1},
  {&__pyx_kp_s_s_url_s, __pyx_k_s_url_s, sizeof(__pyx_k_s_url_s), 0, 0, 1, 0},
  {&__pyx_n_s_safe, __pyx_k_safe, sizeof(__pyx_k_safe), 0, 0, 1, 1},
  {&__pyx_n_s_shutdown, __pyx_k_shutdown, sizeof(__pyx_k_shutdown), 0, 0, 1, 1},
  {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
  {&__pyx_n_s_time_condition, __pyx_k_time_condition, sizeof(__pyx_k_time_condition), 0, 0, 1, 1},
  {&__pyx_n_s_timestamp, __pyx_k_timestamp, sizeof(__pyx_k_timestamp), 0, 0, 1, 1},
  {&__pyx_n_s_traceback, __pyx_k_traceback, sizeof(__pyx_k_traceback), 0, 0, 1, 1},
  {&__pyx_n_s_upload_dir, __pyx_k_upload_dir, sizeof(__pyx_k_upload_dir), 0, 0, 1, 1},
  {&__pyx_n_s_url, __pyx_k_url, sizeof(__pyx_k_url), 0, 0, 1, 1},
  {&__pyx_n_s_url_pipeline_get, __pyx_k_url_pipeline_get, sizeof(__pyx_k_url_pipeline_get), 0, 0, 1, 1},
  {&__pyx_n_s_url_pipeline_set, __pyx_k_url_pipeline_set, sizeof(__pyx_k_url_pipeline_set), 0, 0, 1, 1},
  {&__pyx_n_s_user, __pyx_k_user, sizeof(__pyx_k_user), 0, 0, 1, 1},
  {&__pyx_n_s_username, __pyx_k_username, sizeof(__pyx_k_username), 0, 0, 1, 1},
  {&__pyx_n_s_value, __pyx_k_value, sizeof(__pyx_k_value), 0, 0, 1, 1},
  {0, 0, 0, 0, 0, 0, 0}
};
static int __Pyx_InitCachedBuiltins(void) {
  __pyx_builtin_Exception = __Pyx_GetBuiltinName(__pyx_n_s_Exception); if (!__pyx_builtin_Exception) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  return 0;
  __pyx_L1_error:;
  return -1;
}

static int __Pyx_InitCachedConstants(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);

  /* "efl/ecore_con/efl.ecore_con_lookup.pxi":77
 * 
 *         if not callable(done_cb):
 *             raise TypeError("Parameter 'done_cb' must be callable")             # <<<<<<<<<<<<<<
 * 
 *         self.done_cb = done_cb
 */
  __pyx_tuple_ = PyTuple_Pack(1, __pyx_kp_s_Parameter_done_cb_must_be_callab); if (unlikely(!__pyx_tuple_)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple_);
  __Pyx_GIVEREF(__pyx_tuple_);

  /* "efl/ecore_con/efl.ecore_con.pyx":180
 * 
 * 
 * def init():             # <<<<<<<<<<<<<<
 *     """Initialize the Ecore Con library
 * 
 */
  __pyx_codeobj__2 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_init, 180, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/ecore_con/efl.ecore_con.pyx":202
 * 
 * 
 * def shutdown():             # <<<<<<<<<<<<<<
 *     """Shuts down the Ecore Con library.
 * 
 */
  __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_shutdown, 202, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/ecore_con/efl.ecore_con_url.pxi":803
 * 
 * 
 * def url_pipeline_set(bint enable):             # <<<<<<<<<<<<<<
 *     """Enable or disable HTTP 1.1 pipelining.
 * 
 */
  __pyx_tuple__4 = PyTuple_Pack(2, __pyx_n_s_enable, __pyx_n_s_enable); if (unlikely(!__pyx_tuple__4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__4);
  __Pyx_GIVEREF(__pyx_tuple__4);
  __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl_2, __pyx_n_s_url_pipeline_set, 803, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/ecore_con/efl.ecore_con_url.pxi":818
 *     ecore_con_url_pipeline_set(enable)
 * 
 * def url_pipeline_get():             # <<<<<<<<<<<<<<
 *     """Is HTTP 1.1 pipelining enable ?
 * 
 */
  __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl_2, __pyx_n_s_url_pipeline_get, 818, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_InitGlobals(void) {
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  return 0;
  __pyx_L1_error:;
  return -1;
}

#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC initecore_con(void); /*proto*/
PyMODINIT_FUNC initecore_con(void)
#else
PyMODINIT_FUNC PyInit_ecore_con(void); /*proto*/
PyMODINIT_FUNC PyInit_ecore_con(void)
#endif
{
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannyDeclarations
  #if CYTHON_REFNANNY
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
  if (!__Pyx_RefNanny) {
      PyErr_Clear();
      __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
      if (!__Pyx_RefNanny)
          Py_FatalError("failed to import 'refnanny' module");
  }
  #endif
  __Pyx_RefNannySetupContext("PyMODINIT_FUNC PyInit_ecore_con(void)", 0);
  if ( __Pyx_check_binary_version() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #ifdef __Pyx_CyFunction_USED
  if (__Pyx_CyFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  #ifdef __Pyx_FusedFunction_USED
  if (__pyx_FusedFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  #ifdef __Pyx_Generator_USED
  if (__pyx_Generator_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  /*--- Library function declarations ---*/
  /*--- Threads initialization code ---*/
  #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
  #ifdef WITH_THREAD /* Python build with threading support? */
  PyEval_InitThreads();
  #endif
  #endif
  /*--- Module creation code ---*/
  #if PY_MAJOR_VERSION < 3
  __pyx_m = Py_InitModule4("ecore_con", __pyx_methods, __pyx_k_mod_efl_ecore_con_Module_The_ec, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
  #else
  __pyx_m = PyModule_Create(&__pyx_moduledef);
  #endif
  if (unlikely(!__pyx_m)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_INCREF(__pyx_d);
  __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #if CYTHON_COMPILING_IN_PYPY
  Py_INCREF(__pyx_b);
  #endif
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  /*--- Initialize various global constants etc. ---*/
  if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
  if (__Pyx_init_sys_getdefaultencoding_params() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  if (__pyx_module_is_main_efl__ecore_con) {
    if (PyObject_SetAttrString(__pyx_m, "__name__", __pyx_n_s_main) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  #if PY_MAJOR_VERSION >= 3
  {
    PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (!PyDict_GetItemString(modules, "efl.ecore_con")) {
      if (unlikely(PyDict_SetItemString(modules, "efl.ecore_con", __pyx_m) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
  }
  #endif
  /*--- Builtin init code ---*/
  if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Constants init code ---*/
  if (unlikely(__Pyx_InitCachedConstants() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Global init code ---*/
  __pyx_v_3efl_9ecore_con_GEF = ((struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)Py_None); Py_INCREF(Py_None);
  /*--- Variable export code ---*/
  /*--- Function export code ---*/
  /*--- Type init code ---*/
  __pyx_ptype_3efl_2eo_Eo = __Pyx_ImportType("efl.eo", "Eo", sizeof(struct __pyx_obj_3efl_2eo_Eo), 1); if (unlikely(!__pyx_ptype_3efl_2eo_Eo)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_2eo_Eo = (struct __pyx_vtabstruct_3efl_2eo_Eo*)__Pyx_GetVtable(__pyx_ptype_3efl_2eo_Eo->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_2eo_Eo)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_9ecore_con_Url = &__pyx_vtable_3efl_9ecore_con_Url;
  __pyx_vtable_3efl_9ecore_con_Url.__pyx_base = *__pyx_vtabptr_3efl_2eo_Eo;
  __pyx_type_3efl_9ecore_con_Url.tp_base = __pyx_ptype_3efl_2eo_Eo;
  if (PyType_Ready(&__pyx_type_3efl_9ecore_con_Url) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_9ecore_con_Url.tp_print = 0;
  #if CYTHON_COMPILING_IN_CPYTHON
  {
    PyObject *wrapper = PyObject_GetAttrString((PyObject *)&__pyx_type_3efl_9ecore_con_Url, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
      __pyx_wrapperbase_3efl_9ecore_con_3Url___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
      __pyx_wrapperbase_3efl_9ecore_con_3Url___init__.doc = __pyx_doc_3efl_9ecore_con_3Url___init__;
      ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_3efl_9ecore_con_3Url___init__;
    }
  }
  #endif
  if (__Pyx_SetVtable(__pyx_type_3efl_9ecore_con_Url.tp_dict, __pyx_vtabptr_3efl_9ecore_con_Url) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "Url", (PyObject *)&__pyx_type_3efl_9ecore_con_Url) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_9ecore_con_Url = &__pyx_type_3efl_9ecore_con_Url;
  if (PyType_Ready(&__pyx_type_3efl_9ecore_con_Lookup) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_9ecore_con_Lookup.tp_print = 0;
  #if CYTHON_COMPILING_IN_CPYTHON
  {
    PyObject *wrapper = PyObject_GetAttrString((PyObject *)&__pyx_type_3efl_9ecore_con_Lookup, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
      __pyx_wrapperbase_3efl_9ecore_con_6Lookup___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
      __pyx_wrapperbase_3efl_9ecore_con_6Lookup___init__.doc = __pyx_doc_3efl_9ecore_con_6Lookup___init__;
      ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_3efl_9ecore_con_6Lookup___init__;
    }
  }
  #endif
  if (PyObject_SetAttrString(__pyx_m, "Lookup", (PyObject *)&__pyx_type_3efl_9ecore_con_Lookup) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_9ecore_con_Lookup = &__pyx_type_3efl_9ecore_con_Lookup;
  __pyx_ptype_3efl_5ecore_Event = __Pyx_ImportType("efl.ecore", "Event", sizeof(struct __pyx_obj_3efl_5ecore_Event), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Event)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Event = (struct __pyx_vtabstruct_3efl_5ecore_Event*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Event->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Event)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_9ecore_con_EventUrlComplete = &__pyx_vtable_3efl_9ecore_con_EventUrlComplete;
  __pyx_vtable_3efl_9ecore_con_EventUrlComplete.__pyx_base = *__pyx_vtabptr_3efl_5ecore_Event;
  __pyx_vtable_3efl_9ecore_con_EventUrlComplete.__pyx_base._set_obj = (int (*)(struct __pyx_obj_3efl_5ecore_Event *, void *))__pyx_f_3efl_9ecore_con_16EventUrlComplete__set_obj;
  __pyx_vtable_3efl_9ecore_con_EventUrlComplete.__pyx_base._get_obj = (PyObject *(*)(struct __pyx_obj_3efl_5ecore_Event *))__pyx_f_3efl_9ecore_con_16EventUrlComplete__get_obj;
  __pyx_type_3efl_9ecore_con_EventUrlComplete.tp_base = __pyx_ptype_3efl_5ecore_Event;
  if (PyType_Ready(&__pyx_type_3efl_9ecore_con_EventUrlComplete) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_9ecore_con_EventUrlComplete.tp_print = 0;
  if (__Pyx_SetVtable(__pyx_type_3efl_9ecore_con_EventUrlComplete.tp_dict, __pyx_vtabptr_3efl_9ecore_con_EventUrlComplete) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "EventUrlComplete", (PyObject *)&__pyx_type_3efl_9ecore_con_EventUrlComplete) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_9ecore_con_EventUrlComplete = &__pyx_type_3efl_9ecore_con_EventUrlComplete;
  __pyx_vtabptr_3efl_9ecore_con_EventUrlProgress = &__pyx_vtable_3efl_9ecore_con_EventUrlProgress;
  __pyx_vtable_3efl_9ecore_con_EventUrlProgress.__pyx_base = *__pyx_vtabptr_3efl_5ecore_Event;
  __pyx_vtable_3efl_9ecore_con_EventUrlProgress.__pyx_base._set_obj = (int (*)(struct __pyx_obj_3efl_5ecore_Event *, void *))__pyx_f_3efl_9ecore_con_16EventUrlProgress__set_obj;
  __pyx_vtable_3efl_9ecore_con_EventUrlProgress.__pyx_base._get_obj = (PyObject *(*)(struct __pyx_obj_3efl_5ecore_Event *))__pyx_f_3efl_9ecore_con_16EventUrlProgress__get_obj;
  __pyx_type_3efl_9ecore_con_EventUrlProgress.tp_base = __pyx_ptype_3efl_5ecore_Event;
  if (PyType_Ready(&__pyx_type_3efl_9ecore_con_EventUrlProgress) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_9ecore_con_EventUrlProgress.tp_print = 0;
  if (__Pyx_SetVtable(__pyx_type_3efl_9ecore_con_EventUrlProgress.tp_dict, __pyx_vtabptr_3efl_9ecore_con_EventUrlProgress) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "EventUrlProgress", (PyObject *)&__pyx_type_3efl_9ecore_con_EventUrlProgress) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_9ecore_con_EventUrlProgress = &__pyx_type_3efl_9ecore_con_EventUrlProgress;
  __pyx_vtabptr_3efl_9ecore_con_EventUrlData = &__pyx_vtable_3efl_9ecore_con_EventUrlData;
  __pyx_vtable_3efl_9ecore_con_EventUrlData.__pyx_base = *__pyx_vtabptr_3efl_5ecore_Event;
  __pyx_vtable_3efl_9ecore_con_EventUrlData.__pyx_base._set_obj = (int (*)(struct __pyx_obj_3efl_5ecore_Event *, void *))__pyx_f_3efl_9ecore_con_12EventUrlData__set_obj;
  __pyx_vtable_3efl_9ecore_con_EventUrlData.__pyx_base._get_obj = (PyObject *(*)(struct __pyx_obj_3efl_5ecore_Event *))__pyx_f_3efl_9ecore_con_12EventUrlData__get_obj;
  __pyx_type_3efl_9ecore_con_EventUrlData.tp_base = __pyx_ptype_3efl_5ecore_Event;
  if (PyType_Ready(&__pyx_type_3efl_9ecore_con_EventUrlData) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_9ecore_con_EventUrlData.tp_print = 0;
  if (__Pyx_SetVtable(__pyx_type_3efl_9ecore_con_EventUrlData.tp_dict, __pyx_vtabptr_3efl_9ecore_con_EventUrlData) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "EventUrlData", (PyObject *)&__pyx_type_3efl_9ecore_con_EventUrlData) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_9ecore_con_EventUrlData = &__pyx_type_3efl_9ecore_con_EventUrlData;
  __pyx_vtabptr_3efl_9ecore_con_ConEventFilter = &__pyx_vtable_3efl_9ecore_con_ConEventFilter;
  __pyx_vtable_3efl_9ecore_con_ConEventFilter.callback_add = (PyObject *(*)(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *, int, struct __pyx_obj_3efl_2eo_Eo *, PyObject *, PyObject *, PyObject *))__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_add;
  __pyx_vtable_3efl_9ecore_con_ConEventFilter.callback_del = (PyObject *(*)(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *, int, struct __pyx_obj_3efl_2eo_Eo *, PyObject *, PyObject *, PyObject *))__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_del;
  __pyx_vtable_3efl_9ecore_con_ConEventFilter.callback_del_full = (PyObject *(*)(struct __pyx_obj_3efl_9ecore_con_ConEventFilter *, struct __pyx_obj_3efl_2eo_Eo *))__pyx_f_3efl_9ecore_con_14ConEventFilter_callback_del_full;
  if (PyType_Ready(&__pyx_type_3efl_9ecore_con_ConEventFilter) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_9ecore_con_ConEventFilter.tp_print = 0;
  if (__Pyx_SetVtable(__pyx_type_3efl_9ecore_con_ConEventFilter.tp_dict, __pyx_vtabptr_3efl_9ecore_con_ConEventFilter) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "ConEventFilter", (PyObject *)&__pyx_type_3efl_9ecore_con_ConEventFilter) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_9ecore_con_ConEventFilter = &__pyx_type_3efl_9ecore_con_ConEventFilter;
  /*--- Type import code ---*/
  __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "type", 
  #if CYTHON_COMPILING_IN_PYPY
  sizeof(PyTypeObject),
  #else
  sizeof(PyHeapTypeObject),
  #endif
  0); if (unlikely(!__pyx_ptype_7cpython_4type_type)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 9; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), 0); if (unlikely(!__pyx_ptype_7cpython_4bool_bool)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 8; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), 0); if (unlikely(!__pyx_ptype_7cpython_7complex_complex)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_2eo_EoIterator = __Pyx_ImportType("efl.eo", "EoIterator", sizeof(struct __pyx_obj_3efl_2eo_EoIterator), 1); if (unlikely(!__pyx_ptype_3efl_2eo_EoIterator)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_2eo_EoIterator = (struct __pyx_vtabstruct_3efl_2eo_EoIterator*)__Pyx_GetVtable(__pyx_ptype_3efl_2eo_EoIterator->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_2eo_EoIterator)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Timer = __Pyx_ImportType("efl.ecore", "Timer", sizeof(struct __pyx_obj_3efl_5ecore_Timer), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Timer)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Timer = (struct __pyx_vtabstruct_3efl_5ecore_Timer*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Timer->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Timer)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Animator = __Pyx_ImportType("efl.ecore", "Animator", sizeof(struct __pyx_obj_3efl_5ecore_Animator), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Animator)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Animator = (struct __pyx_vtabstruct_3efl_5ecore_Animator*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Animator->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Animator)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Poller = __Pyx_ImportType("efl.ecore", "Poller", sizeof(struct __pyx_obj_3efl_5ecore_Poller), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Poller)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Poller = (struct __pyx_vtabstruct_3efl_5ecore_Poller*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Poller->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Poller)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Idler = __Pyx_ImportType("efl.ecore", "Idler", sizeof(struct __pyx_obj_3efl_5ecore_Idler), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Idler)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Idler = (struct __pyx_vtabstruct_3efl_5ecore_Idler*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Idler->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Idler)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_IdleEnterer = __Pyx_ImportType("efl.ecore", "IdleEnterer", sizeof(struct __pyx_obj_3efl_5ecore_IdleEnterer), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_IdleEnterer)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_IdleEnterer = (struct __pyx_vtabstruct_3efl_5ecore_IdleEnterer*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_IdleEnterer->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_IdleEnterer)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_IdleExiter = __Pyx_ImportType("efl.ecore", "IdleExiter", sizeof(struct __pyx_obj_3efl_5ecore_IdleExiter), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_IdleExiter)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_IdleExiter = (struct __pyx_vtabstruct_3efl_5ecore_IdleExiter*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_IdleExiter->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_IdleExiter)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_FdHandler = __Pyx_ImportType("efl.ecore", "FdHandler", sizeof(struct __pyx_obj_3efl_5ecore_FdHandler), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_FdHandler)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_FdHandler = (struct __pyx_vtabstruct_3efl_5ecore_FdHandler*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_FdHandler->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_FdHandler)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Exe = __Pyx_ImportType("efl.ecore", "Exe", sizeof(struct __pyx_obj_3efl_5ecore_Exe), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Exe)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Exe = (struct __pyx_vtabstruct_3efl_5ecore_Exe*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Exe->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Exe)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_ExeEventFilter = __Pyx_ImportType("efl.ecore", "ExeEventFilter", sizeof(struct __pyx_obj_3efl_5ecore_ExeEventFilter), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_ExeEventFilter)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventHandler = __Pyx_ImportType("efl.ecore", "EventHandler", sizeof(struct __pyx_obj_3efl_5ecore_EventHandler), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventHandler)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventHandler = (struct __pyx_vtabstruct_3efl_5ecore_EventHandler*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventHandler->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventHandler)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalUser = __Pyx_ImportType("efl.ecore", "EventSignalUser", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalUser), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalUser)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalUser = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalUser*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalUser->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalUser)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalHup = __Pyx_ImportType("efl.ecore", "EventSignalHup", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalHup), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalHup)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalHup = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalHup*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalHup->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalHup)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalExit = __Pyx_ImportType("efl.ecore", "EventSignalExit", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalExit), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalExit)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 385; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalExit = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalExit*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalExit->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalExit)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 385; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalPower = __Pyx_ImportType("efl.ecore", "EventSignalPower", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalPower), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalPower)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalPower = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalPower*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalPower->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalPower)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_CustomEvent = __Pyx_ImportType("efl.ecore", "CustomEvent", sizeof(struct __pyx_obj_3efl_5ecore_CustomEvent), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_CustomEvent)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_CustomEvent = (struct __pyx_vtabstruct_3efl_5ecore_CustomEvent*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_CustomEvent->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_CustomEvent)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_QueuedEvent = __Pyx_ImportType("efl.ecore", "QueuedEvent", sizeof(struct __pyx_obj_3efl_5ecore_QueuedEvent), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_QueuedEvent)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_QueuedEvent = (struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_QueuedEvent->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_QueuedEvent)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventExeAdd = __Pyx_ImportType("efl.ecore", "EventExeAdd", sizeof(struct __pyx_obj_3efl_5ecore_EventExeAdd), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventExeAdd)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventExeAdd = (struct __pyx_vtabstruct_3efl_5ecore_EventExeAdd*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventExeAdd->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventExeAdd)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventExeDel = __Pyx_ImportType("efl.ecore", "EventExeDel", sizeof(struct __pyx_obj_3efl_5ecore_EventExeDel), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventExeDel)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventExeDel = (struct __pyx_vtabstruct_3efl_5ecore_EventExeDel*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventExeDel->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventExeDel)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventExeData = __Pyx_ImportType("efl.ecore", "EventExeData", sizeof(struct __pyx_obj_3efl_5ecore_EventExeData), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventExeData)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventExeData = (struct __pyx_vtabstruct_3efl_5ecore_EventExeData*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventExeData->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventExeData)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_FileDownload = __Pyx_ImportType("efl.ecore", "FileDownload", sizeof(struct __pyx_obj_3efl_5ecore_FileDownload), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_FileDownload)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_FileDownload = (struct __pyx_vtabstruct_3efl_5ecore_FileDownload*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_FileDownload->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_FileDownload)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_FileMonitor = __Pyx_ImportType("efl.ecore", "FileMonitor", sizeof(struct __pyx_obj_3efl_5ecore_FileMonitor), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_FileMonitor)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_FileMonitor = (struct __pyx_vtabstruct_3efl_5ecore_FileMonitor*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_FileMonitor->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_FileMonitor)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Variable import code ---*/
  /*--- Function import code ---*/
  __pyx_t_1 = __Pyx_ImportModule("efl.eo"); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_1, "object_from_instance", (void (**)(void))&__pyx_f_3efl_2eo_object_from_instance, "PyObject *(Eo *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_2 = __Pyx_ImportModule("efl.ecore"); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_2, "_event_mapping_register", (void (**)(void))&__pyx_f_3efl_5ecore__event_mapping_register, "PyObject *(int, PyObject *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_2, "_event_mapping_get", (void (**)(void))&__pyx_f_3efl_5ecore__event_mapping_get, "PyObject *(int)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_3 = __Pyx_ImportModule("efl.utils.conversions"); if (!__pyx_t_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_3, "_ctouni", (void (**)(void))&__pyx_f_3efl_5utils_11conversions__ctouni, "PyObject *(char const *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_3, "eina_list_strings_to_python_list", (void (**)(void))&__pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list, "PyObject *(Eina_List const *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  /*--- Execution code ---*/

  /* "efl/ecore_con/efl.ecore_con.pyx":169
 * from cpython cimport PyUnicode_AsUTF8String, Py_INCREF, Py_DECREF
 * 
 * import traceback             # <<<<<<<<<<<<<<
 * import atexit
 * 
 */
  __pyx_t_4 = __Pyx_Import(__pyx_n_s_traceback, 0, -1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_traceback, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":170
 * 
 * import traceback
 * import atexit             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __pyx_t_4 = __Pyx_Import(__pyx_n_s_atexit, 0, -1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_atexit, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":177
 * 
 * 
 * cdef int _con_events_registered = 0             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __pyx_v_3efl_9ecore_con__con_events_registered = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":180
 * 
 * 
 * def init():             # <<<<<<<<<<<<<<
 *     """Initialize the Ecore Con library
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_3efl_9ecore_con_1init, 0, __pyx_n_s_init, NULL, __pyx_n_s_efl_ecore_con, __pyx_d, ((PyObject *)__pyx_codeobj__2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_init, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":202
 * 
 * 
 * def shutdown():             # <<<<<<<<<<<<<<
 *     """Shuts down the Ecore Con library.
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_3efl_9ecore_con_3shutdown, 0, __pyx_n_s_shutdown, NULL, __pyx_n_s_efl_ecore_con, __pyx_d, ((PyObject *)__pyx_codeobj__3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_shutdown, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":313
 * 
 * # name suggestions are welcome for this unusual "singleton" instance
 * cdef ConEventFilter GEF = ConEventFilter()             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_9ecore_con_ConEventFilter)), __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_XGOTREF(((PyObject *)__pyx_v_3efl_9ecore_con_GEF));
  __Pyx_DECREF_SET(__pyx_v_3efl_9ecore_con_GEF, ((struct __pyx_obj_3efl_9ecore_con_ConEventFilter *)__pyx_t_4));
  __Pyx_GIVEREF(__pyx_t_4);
  __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":803
 * 
 * 
 * def url_pipeline_set(bint enable):             # <<<<<<<<<<<<<<
 *     """Enable or disable HTTP 1.1 pipelining.
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_3efl_9ecore_con_5url_pipeline_set, 0, __pyx_n_s_url_pipeline_set, NULL, __pyx_n_s_efl_ecore_con, __pyx_d, ((PyObject *)__pyx_codeobj__5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_url_pipeline_set, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con_url.pxi":818
 *     ecore_con_url_pipeline_set(enable)
 * 
 * def url_pipeline_get():             # <<<<<<<<<<<<<<
 *     """Is HTTP 1.1 pipelining enable ?
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_3efl_9ecore_con_7url_pipeline_get, 0, __pyx_n_s_url_pipeline_get, NULL, __pyx_n_s_efl_ecore_con, __pyx_d, ((PyObject *)__pyx_codeobj__6)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_url_pipeline_get, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":320
 * 
 * 
 * init()             # <<<<<<<<<<<<<<
 * atexit.register(shutdown)
 */
  __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_init); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_6 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_5))) {
    __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_5);
    if (likely(__pyx_t_6)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
      __Pyx_INCREF(__pyx_t_6);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_5, function);
    }
  }
  if (__pyx_t_6) {
    __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_6); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  } else {
    __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_5); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":321
 * 
 * init()
 * atexit.register(shutdown)             # <<<<<<<<<<<<<<
 */
  __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_atexit); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_register); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_shutdown); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_7 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_7)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_7);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
    }
  }
  if (!__pyx_t_7) {
    __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_5); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_GOTREF(__pyx_t_4);
  } else {
    __pyx_t_8 = PyTuple_New(1+1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_8);
    __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_7); __pyx_t_7 = NULL;
    __Pyx_GIVEREF(__pyx_t_5);
    PyTuple_SET_ITEM(__pyx_t_8, 0+1, __pyx_t_5);
    __pyx_t_5 = 0;
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "efl/ecore_con/efl.ecore_con.pyx":1
 * # Copyright (C) 2007-2015 various contributors (see AUTHORS)             # <<<<<<<<<<<<<<
 * #
 * # This file is part of Python-EFL.
 */
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "include/efl.eo.pxd":35
 *         cdef Eina_Iterator *itr
 *         @staticmethod
 *         cdef inline create(Eina_Iterator *itr):             # <<<<<<<<<<<<<<
 *             cdef EoIterator obj = EoIterator.__new__(EoIterator)
 *             obj.itr = itr
 */

  /*--- Wrapped vars code ---*/
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_USE_TLS);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_USE_TLS", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_URL_TIME_IFMODSINCE);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_URL_TIME_IFMODSINCE", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_USE_SSL2);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_USE_SSL2", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_USE_SSL3);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_USE_SSL3", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_REMOTE_UDP);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_REMOTE_UDP", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_LOCAL_ABSTRACT);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_LOCAL_ABSTRACT", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_NO_PROXY);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_NO_PROXY", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_REMOTE_NODELAY);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_REMOTE_NODELAY", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_LOAD_CERT);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_LOAD_CERT", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_URL_TIME_NONE);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_URL_TIME_NONE", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_USE_MIXED);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_USE_MIXED", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_REMOTE_TCP);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_REMOTE_TCP", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_LOCAL_SYSTEM);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_LOCAL_SYSTEM", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_REMOTE_MCAST);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_REMOTE_MCAST", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_URL_TIME_IFUNMODSINCE);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_URL_TIME_IFUNMODSINCE", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_REMOTE_BROADCAST);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_REMOTE_BROADCAST", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_URL_HTTP_VERSION_1_0);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_URL_HTTP_VERSION_1_0", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_LOCAL_USER);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_LOCAL_USER", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_REMOTE_CORK);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_REMOTE_CORK", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_SOCKET_ACTIVATE);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_SOCKET_ACTIVATE", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ECORE_CON_URL_HTTP_VERSION_1_1);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ECORE_CON_URL_HTTP_VERSION_1_1", wrapped) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }

  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  if (__pyx_m) {
    if (__pyx_d) {
      __Pyx_AddTraceback("init efl.ecore_con", __pyx_clineno, __pyx_lineno, __pyx_filename);
    }
    Py_DECREF(__pyx_m); __pyx_m = 0;
  } else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_ImportError, "init efl.ecore_con");
  }
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  #if PY_MAJOR_VERSION < 3
  return;
  #else
  return __pyx_m;
  #endif
}

/* --- Runtime support code --- */
#if CYTHON_REFNANNY
static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) {
    PyObject *m = NULL, *p = NULL;
    void *r = NULL;
    m = PyImport_ImportModule((char *)modname);
    if (!m) goto end;
    p = PyObject_GetAttrString(m, (char *)"RefNannyAPI");
    if (!p) goto end;
    r = PyLong_AsVoidPtr(p);
end:
    Py_XDECREF(p);
    Py_XDECREF(m);
    return (__Pyx_RefNannyAPIStruct *)r;
}
#endif

static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
    PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
    if (unlikely(!result)) {
        PyErr_Format(PyExc_NameError,
#if PY_MAJOR_VERSION >= 3
            "name '%U' is not defined", name);
#else
            "name '%.200s' is not defined", PyString_AS_STRING(name));
#endif
    }
    return result;
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyObject *result;
    ternaryfunc call = func->ob_type->tp_call;
    if (unlikely(!call))
        return PyObject_Call(func, arg, kw);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = (*call)(func, arg, kw);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
    PyObject *self, *result;
    PyCFunction cfunc;
    cfunc = PyCFunction_GET_FUNCTION(func);
    self = PyCFunction_GET_SELF(func);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = cfunc(self, arg);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_New(1);
    if (unlikely(!args)) return NULL;
    Py_INCREF(arg);
    PyTuple_SET_ITEM(args, 0, arg);
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
#ifdef __Pyx_CyFunction_USED
    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
#else
    if (likely(PyCFunction_Check(func))) {
#endif
        if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
            return __Pyx_PyObject_CallMethO(func, arg);
        }
    }
    return __Pyx__PyObject_CallOneArg(func, arg);
}
#else
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject* args = PyTuple_Pack(1, arg);
    return (likely(args)) ? __Pyx_PyObject_Call(func, args, NULL) : NULL;
}
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
#ifdef __Pyx_CyFunction_USED
    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
#else
    if (likely(PyCFunction_Check(func))) {
#endif
        if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
            return __Pyx_PyObject_CallMethO(func, NULL);
        }
    }
    return __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL);
}
#endif

static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (likely(PyObject_TypeCheck(obj, type)))
        return 1;
    PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
                 Py_TYPE(obj)->tp_name, type->tp_name);
    return 0;
}

static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    *type = tstate->exc_type;
    *value = tstate->exc_value;
    *tb = tstate->exc_traceback;
    Py_XINCREF(*type);
    Py_XINCREF(*value);
    Py_XINCREF(*tb);
#else
    PyErr_GetExcInfo(type, value, tb);
#endif
}
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();
    tmp_type = tstate->exc_type;
    tmp_value = tstate->exc_value;
    tmp_tb = tstate->exc_traceback;
    tstate->exc_type = type;
    tstate->exc_value = value;
    tstate->exc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_SetExcInfo(type, value, tb);
#endif
}

static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
    PyObject *local_type, *local_value, *local_tb;
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();
    local_type = tstate->curexc_type;
    local_value = tstate->curexc_value;
    local_tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
#else
    PyErr_Fetch(&local_type, &local_value, &local_tb);
#endif
    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
#if CYTHON_COMPILING_IN_CPYTHON
    if (unlikely(tstate->curexc_type))
#else
    if (unlikely(PyErr_Occurred()))
#endif
        goto bad;
    #if PY_MAJOR_VERSION >= 3
    if (local_tb) {
        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
            goto bad;
    }
    #endif
    Py_XINCREF(local_tb);
    Py_XINCREF(local_type);
    Py_XINCREF(local_value);
    *type = local_type;
    *value = local_value;
    *tb = local_tb;
#if CYTHON_COMPILING_IN_CPYTHON
    tmp_type = tstate->exc_type;
    tmp_value = tstate->exc_value;
    tmp_tb = tstate->exc_traceback;
    tstate->exc_type = local_type;
    tstate->exc_value = local_value;
    tstate->exc_traceback = local_tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_SetExcInfo(local_type, local_value, local_tb);
#endif
    return 0;
bad:
    *type = 0;
    *value = 0;
    *tb = 0;
    Py_XDECREF(local_type);
    Py_XDECREF(local_value);
    Py_XDECREF(local_tb);
    return -1;
}

static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) {
    PyObject* value;
#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
    value = PyDict_GetItemWithError(d, key);
    if (unlikely(!value)) {
        if (unlikely(PyErr_Occurred()))
            return NULL;
        value = default_value;
    }
    Py_INCREF(value);
#else
    if (PyString_CheckExact(key) || PyUnicode_CheckExact(key) || PyInt_CheckExact(key)) {
        value = PyDict_GetItem(d, key);
        if (unlikely(!value)) {
            value = default_value;
        }
        Py_INCREF(value);
    } else {
        if (default_value == Py_None)
            default_value = NULL;
        value = PyObject_CallMethodObjArgs(
            d, __pyx_n_s_get, key, default_value, NULL);
    }
#endif
    return value;
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop, Py_ssize_t* _length) {
    Py_ssize_t start = *_start, stop = *_stop, length = *_length;
    if (start < 0) {
        start += length;
        if (start < 0)
            start = 0;
    }
    if (stop < 0)
        stop += length;
    else if (stop > length)
        stop = length;
    *_length = stop - start;
    *_start = start;
    *_stop = stop;
}
static CYTHON_INLINE void __Pyx_copy_object_array(PyObject** CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length) {
    PyObject *v;
    Py_ssize_t i;
    for (i = 0; i < length; i++) {
        v = dest[i] = src[i];
        Py_INCREF(v);
    }
}
static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(
            PyObject* src, Py_ssize_t start, Py_ssize_t stop) {
    PyObject* dest;
    Py_ssize_t length = PyList_GET_SIZE(src);
    __Pyx_crop_slice(&start, &stop, &length);
    if (unlikely(length <= 0))
        return PyList_New(0);
    dest = PyList_New(length);
    if (unlikely(!dest))
        return NULL;
    __Pyx_copy_object_array(
        ((PyListObject*)src)->ob_item + start,
        ((PyListObject*)dest)->ob_item,
        length);
    return dest;
}
static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(
            PyObject* src, Py_ssize_t start, Py_ssize_t stop) {
    PyObject* dest;
    Py_ssize_t length = PyTuple_GET_SIZE(src);
    __Pyx_crop_slice(&start, &stop, &length);
    if (unlikely(length <= 0))
        return PyTuple_New(0);
    dest = PyTuple_New(length);
    if (unlikely(!dest))
        return NULL;
    __Pyx_copy_object_array(
        ((PyTupleObject*)src)->ob_item + start,
        ((PyTupleObject*)dest)->ob_item,
        length);
    return dest;
}
#endif

static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
    PyErr_Format(PyExc_ValueError,
                 "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected);
}

static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
    PyErr_Format(PyExc_ValueError,
                 "need more than %" CYTHON_FORMAT_SSIZE_T "d value%.1s to unpack",
                 index, (index == 1) ? "" : "s");
}

static CYTHON_INLINE int __Pyx_IterFinish(void) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    PyObject* exc_type = tstate->curexc_type;
    if (unlikely(exc_type)) {
        if (likely(exc_type == PyExc_StopIteration) || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)) {
            PyObject *exc_value, *exc_tb;
            exc_value = tstate->curexc_value;
            exc_tb = tstate->curexc_traceback;
            tstate->curexc_type = 0;
            tstate->curexc_value = 0;
            tstate->curexc_traceback = 0;
            Py_DECREF(exc_type);
            Py_XDECREF(exc_value);
            Py_XDECREF(exc_tb);
            return 0;
        } else {
            return -1;
        }
    }
    return 0;
#else
    if (unlikely(PyErr_Occurred())) {
        if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) {
            PyErr_Clear();
            return 0;
        } else {
            return -1;
        }
    }
    return 0;
#endif
}

static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
    if (unlikely(retval)) {
        Py_DECREF(retval);
        __Pyx_RaiseTooManyValuesError(expected);
        return -1;
    } else {
        return __Pyx_IterFinish();
    }
    return 0;
}

static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
    PyObject *result;
#if CYTHON_COMPILING_IN_CPYTHON
    result = PyDict_GetItem(__pyx_d, name);
    if (likely(result)) {
        Py_INCREF(result);
    } else {
#else
    result = PyObject_GetItem(__pyx_d, name);
    if (!result) {
        PyErr_Clear();
#endif
        result = __Pyx_GetBuiltinName(name);
    }
    return result;
}

static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();
    tmp_type = tstate->curexc_type;
    tmp_value = tstate->curexc_value;
    tmp_tb = tstate->curexc_traceback;
    tstate->curexc_type = type;
    tstate->curexc_value = value;
    tstate->curexc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_Restore(type, value, tb);
#endif
}
static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    *type = tstate->curexc_type;
    *value = tstate->curexc_value;
    *tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
#else
    PyErr_Fetch(type, value, tb);
#endif
}

static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
                                  CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename,
                                  int full_traceback, CYTHON_UNUSED int nogil) {
    PyObject *old_exc, *old_val, *old_tb;
    PyObject *ctx;
#ifdef WITH_THREAD
    PyGILState_STATE state;
    if (nogil)
        state = PyGILState_Ensure();
#endif
    __Pyx_ErrFetch(&old_exc, &old_val, &old_tb);
    if (full_traceback) {
        Py_XINCREF(old_exc);
        Py_XINCREF(old_val);
        Py_XINCREF(old_tb);
        __Pyx_ErrRestore(old_exc, old_val, old_tb);
        PyErr_PrintEx(1);
    }
    #if PY_MAJOR_VERSION < 3
    ctx = PyString_FromString(name);
    #else
    ctx = PyUnicode_FromString(name);
    #endif
    __Pyx_ErrRestore(old_exc, old_val, old_tb);
    if (!ctx) {
        PyErr_WriteUnraisable(Py_None);
    } else {
        PyErr_WriteUnraisable(ctx);
        Py_DECREF(ctx);
    }
#ifdef WITH_THREAD
    if (nogil)
        PyGILState_Release(state);
#endif
}

static void __Pyx_RaiseArgtupleInvalid(
    const char* func_name,
    int exact,
    Py_ssize_t num_min,
    Py_ssize_t num_max,
    Py_ssize_t num_found)
{
    Py_ssize_t num_expected;
    const char *more_or_less;
    if (num_found < num_min) {
        num_expected = num_min;
        more_or_less = "at least";
    } else {
        num_expected = num_max;
        more_or_less = "at most";
    }
    if (exact) {
        more_or_less = "exactly";
    }
    PyErr_Format(PyExc_TypeError,
                 "%.200s() takes %.8s %" CYTHON_FORMAT_SSIZE_T "d positional argument%.1s (%" CYTHON_FORMAT_SSIZE_T "d given)",
                 func_name, more_or_less, num_expected,
                 (num_expected == 1) ? "" : "s", num_found);
}

static CYTHON_INLINE int __Pyx_CheckKeywordStrings(
    PyObject *kwdict,
    const char* function_name,
    int kw_allowed)
{
    PyObject* key = 0;
    Py_ssize_t pos = 0;
#if CYTHON_COMPILING_IN_PYPY
    if (!kw_allowed && PyDict_Next(kwdict, &pos, &key, 0))
        goto invalid_keyword;
    return 1;
#else
    while (PyDict_Next(kwdict, &pos, &key, 0)) {
        #if PY_MAJOR_VERSION < 3
        if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key)))
        #endif
            if (unlikely(!PyUnicode_Check(key)))
                goto invalid_keyword_type;
    }
    if ((!kw_allowed) && unlikely(key))
        goto invalid_keyword;
    return 1;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%.200s() keywords must be strings", function_name);
    return 0;
#endif
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
    #if PY_MAJOR_VERSION < 3
        "%.200s() got an unexpected keyword argument '%.200s'",
        function_name, PyString_AsString(key));
    #else
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    #endif
    return 0;
}

static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
    PyObject *method, *result = NULL;
    method = __Pyx_PyObject_GetAttrStr(obj, method_name);
    if (unlikely(!method)) goto bad;
#if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyMethod_Check(method))) {
        PyObject *self = PyMethod_GET_SELF(method);
        if (likely(self)) {
            PyObject *args;
            PyObject *function = PyMethod_GET_FUNCTION(method);
            args = PyTuple_New(2);
            if (unlikely(!args)) goto bad;
            Py_INCREF(self);
            PyTuple_SET_ITEM(args, 0, self);
            Py_INCREF(arg);
            PyTuple_SET_ITEM(args, 1, arg);
            Py_INCREF(function);
            Py_DECREF(method); method = NULL;
            result = __Pyx_PyObject_Call(function, args, NULL);
            Py_DECREF(args);
            Py_DECREF(function);
            return result;
        }
    }
#endif
    result = __Pyx_PyObject_CallOneArg(method, arg);
bad:
    Py_XDECREF(method);
    return result;
}

static CYTHON_INLINE int __Pyx_PyObject_Append(PyObject* L, PyObject* x) {
    if (likely(PyList_CheckExact(L))) {
        if (unlikely(__Pyx_PyList_Append(L, x) < 0)) return -1;
    } else {
        PyObject* retval = __Pyx_PyObject_CallMethod1(L, __pyx_n_s_append, x);
        if (unlikely(!retval))
            return -1;
        Py_DECREF(retval);
    }
    return 0;
}

#if PY_MAJOR_VERSION < 3
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
                        CYTHON_UNUSED PyObject *cause) {
    Py_XINCREF(type);
    if (!value || value == Py_None)
        value = NULL;
    else
        Py_INCREF(value);
    if (!tb || tb == Py_None)
        tb = NULL;
    else {
        Py_INCREF(tb);
        if (!PyTraceBack_Check(tb)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: arg 3 must be a traceback or None");
            goto raise_error;
        }
    }
    if (PyType_Check(type)) {
#if CYTHON_COMPILING_IN_PYPY
        if (!value) {
            Py_INCREF(Py_None);
            value = Py_None;
        }
#endif
        PyErr_NormalizeException(&type, &value, &tb);
    } else {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto raise_error;
        }
        value = type;
        type = (PyObject*) Py_TYPE(type);
        Py_INCREF(type);
        if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: exception class must be a subclass of BaseException");
            goto raise_error;
        }
    }
    __Pyx_ErrRestore(type, value, tb);
    return;
raise_error:
    Py_XDECREF(value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
    return;
}
#else
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) {
    PyObject* owned_instance = NULL;
    if (tb == Py_None) {
        tb = 0;
    } else if (tb && !PyTraceBack_Check(tb)) {
        PyErr_SetString(PyExc_TypeError,
            "raise: arg 3 must be a traceback or None");
        goto bad;
    }
    if (value == Py_None)
        value = 0;
    if (PyExceptionInstance_Check(type)) {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto bad;
        }
        value = type;
        type = (PyObject*) Py_TYPE(value);
    } else if (PyExceptionClass_Check(type)) {
        PyObject *instance_class = NULL;
        if (value && PyExceptionInstance_Check(value)) {
            instance_class = (PyObject*) Py_TYPE(value);
            if (instance_class != type) {
                int is_subclass = PyObject_IsSubclass(instance_class, type);
                if (!is_subclass) {
                    instance_class = NULL;
                } else if (unlikely(is_subclass == -1)) {
                    goto bad;
                } else {
                    type = instance_class;
                }
            }
        }
        if (!instance_class) {
            PyObject *args;
            if (!value)
                args = PyTuple_New(0);
            else if (PyTuple_Check(value)) {
                Py_INCREF(value);
                args = value;
            } else
                args = PyTuple_Pack(1, value);
            if (!args)
                goto bad;
            owned_instance = PyObject_Call(type, args, NULL);
            Py_DECREF(args);
            if (!owned_instance)
                goto bad;
            value = owned_instance;
            if (!PyExceptionInstance_Check(value)) {
                PyErr_Format(PyExc_TypeError,
                             "calling %R should have returned an instance of "
                             "BaseException, not %R",
                             type, Py_TYPE(value));
                goto bad;
            }
        }
    } else {
        PyErr_SetString(PyExc_TypeError,
            "raise: exception class must be a subclass of BaseException");
        goto bad;
    }
#if PY_VERSION_HEX >= 0x03030000
    if (cause) {
#else
    if (cause && cause != Py_None) {
#endif
        PyObject *fixed_cause;
        if (cause == Py_None) {
            fixed_cause = NULL;
        } else if (PyExceptionClass_Check(cause)) {
            fixed_cause = PyObject_CallObject(cause, NULL);
            if (fixed_cause == NULL)
                goto bad;
        } else if (PyExceptionInstance_Check(cause)) {
            fixed_cause = cause;
            Py_INCREF(fixed_cause);
        } else {
            PyErr_SetString(PyExc_TypeError,
                            "exception causes must derive from "
                            "BaseException");
            goto bad;
        }
        PyException_SetCause(value, fixed_cause);
    }
    PyErr_SetObject(type, value);
    if (tb) {
#if CYTHON_COMPILING_IN_PYPY
        PyObject *tmp_type, *tmp_value, *tmp_tb;
        PyErr_Fetch(&tmp_type, &tmp_value, &tmp_tb);
        Py_INCREF(tb);
        PyErr_Restore(tmp_type, tmp_value, tb);
        Py_XDECREF(tmp_tb);
#else
        PyThreadState *tstate = PyThreadState_GET();
        PyObject* tmp_tb = tstate->curexc_traceback;
        if (tb != tmp_tb) {
            Py_INCREF(tb);
            tstate->curexc_traceback = tb;
            Py_XDECREF(tmp_tb);
        }
#endif
    }
bad:
    Py_XDECREF(owned_instance);
    return;
}
#endif

static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
    PyObject *method, *result = NULL;
    method = __Pyx_PyObject_GetAttrStr(obj, method_name);
    if (unlikely(!method)) goto bad;
#if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyMethod_Check(method))) {
        PyObject *self = PyMethod_GET_SELF(method);
        if (likely(self)) {
            PyObject *function = PyMethod_GET_FUNCTION(method);
            result = __Pyx_PyObject_CallOneArg(function, self);
            Py_DECREF(method);
            return result;
        }
    }
#endif
    result = __Pyx_PyObject_CallNoArg(method);
    Py_DECREF(method);
bad:
    return result;
}

static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
}

static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
    if (t == Py_None) {
      __Pyx_RaiseNoneNotIterableError();
    } else if (PyTuple_GET_SIZE(t) < index) {
      __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(t));
    } else {
      __Pyx_RaiseTooManyValuesError(index);
    }
}

static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2,
                                             int is_tuple, int has_known_size, int decref_tuple) {
    Py_ssize_t index;
    PyObject *value1 = NULL, *value2 = NULL, *iter = NULL;
    if (!is_tuple && unlikely(!PyTuple_Check(tuple))) {
        iternextfunc iternext;
        iter = PyObject_GetIter(tuple);
        if (unlikely(!iter)) goto bad;
        if (decref_tuple) { Py_DECREF(tuple); tuple = NULL; }
        iternext = Py_TYPE(iter)->tp_iternext;
        value1 = iternext(iter); if (unlikely(!value1)) { index = 0; goto unpacking_failed; }
        value2 = iternext(iter); if (unlikely(!value2)) { index = 1; goto unpacking_failed; }
        if (!has_known_size && unlikely(__Pyx_IternextUnpackEndCheck(iternext(iter), 2))) goto bad;
        Py_DECREF(iter);
    } else {
        if (!has_known_size && unlikely(PyTuple_GET_SIZE(tuple) != 2)) {
            __Pyx_UnpackTupleError(tuple, 2);
            goto bad;
        }
#if CYTHON_COMPILING_IN_PYPY
        value1 = PySequence_ITEM(tuple, 0);
        if (unlikely(!value1)) goto bad;
        value2 = PySequence_ITEM(tuple, 1);
        if (unlikely(!value2)) goto bad;
#else
        value1 = PyTuple_GET_ITEM(tuple, 0);
        value2 = PyTuple_GET_ITEM(tuple, 1);
        Py_INCREF(value1);
        Py_INCREF(value2);
#endif
        if (decref_tuple) { Py_DECREF(tuple); }
    }
    *pvalue1 = value1;
    *pvalue2 = value2;
    return 0;
unpacking_failed:
    if (!has_known_size && __Pyx_IterFinish() == 0)
        __Pyx_RaiseNeedMoreValuesError(index);
bad:
    Py_XDECREF(iter);
    Py_XDECREF(value1);
    Py_XDECREF(value2);
    if (decref_tuple) { Py_XDECREF(tuple); }
    return -1;
}

static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name,
                                                   Py_ssize_t* p_orig_length, int* p_source_is_dict) {
    is_dict = is_dict || likely(PyDict_CheckExact(iterable));
    *p_source_is_dict = is_dict;
#if !CYTHON_COMPILING_IN_PYPY
    if (is_dict) {
        *p_orig_length = PyDict_Size(iterable);
        Py_INCREF(iterable);
        return iterable;
    }
#endif
    *p_orig_length = 0;
    if (method_name) {
        PyObject* iter;
        iterable = __Pyx_PyObject_CallMethod0(iterable, method_name);
        if (!iterable)
            return NULL;
#if !CYTHON_COMPILING_IN_PYPY
        if (PyTuple_CheckExact(iterable) || PyList_CheckExact(iterable))
            return iterable;
#endif
        iter = PyObject_GetIter(iterable);
        Py_DECREF(iterable);
        return iter;
    }
    return PyObject_GetIter(iterable);
}
static CYTHON_INLINE int __Pyx_dict_iter_next(
        PyObject* iter_obj, CYTHON_NCP_UNUSED Py_ssize_t orig_length, CYTHON_NCP_UNUSED Py_ssize_t* ppos,
        PyObject** pkey, PyObject** pvalue, PyObject** pitem, int source_is_dict) {
    PyObject* next_item;
#if !CYTHON_COMPILING_IN_PYPY
    if (source_is_dict) {
        PyObject *key, *value;
        if (unlikely(orig_length != PyDict_Size(iter_obj))) {
            PyErr_SetString(PyExc_RuntimeError, "dictionary changed size during iteration");
            return -1;
        }
        if (unlikely(!PyDict_Next(iter_obj, ppos, &key, &value))) {
            return 0;
        }
        if (pitem) {
            PyObject* tuple = PyTuple_New(2);
            if (unlikely(!tuple)) {
                return -1;
            }
            Py_INCREF(key);
            Py_INCREF(value);
            PyTuple_SET_ITEM(tuple, 0, key);
            PyTuple_SET_ITEM(tuple, 1, value);
            *pitem = tuple;
        } else {
            if (pkey) {
                Py_INCREF(key);
                *pkey = key;
            }
            if (pvalue) {
                Py_INCREF(value);
                *pvalue = value;
            }
        }
        return 1;
    } else if (PyTuple_CheckExact(iter_obj)) {
        Py_ssize_t pos = *ppos;
        if (unlikely(pos >= PyTuple_GET_SIZE(iter_obj))) return 0;
        *ppos = pos + 1;
        next_item = PyTuple_GET_ITEM(iter_obj, pos);
        Py_INCREF(next_item);
    } else if (PyList_CheckExact(iter_obj)) {
        Py_ssize_t pos = *ppos;
        if (unlikely(pos >= PyList_GET_SIZE(iter_obj))) return 0;
        *ppos = pos + 1;
        next_item = PyList_GET_ITEM(iter_obj, pos);
        Py_INCREF(next_item);
    } else
#endif
    {
        next_item = PyIter_Next(iter_obj);
        if (unlikely(!next_item)) {
            return __Pyx_IterFinish();
        }
    }
    if (pitem) {
        *pitem = next_item;
    } else if (pkey && pvalue) {
        if (__Pyx_unpack_tuple2(next_item, pkey, pvalue, source_is_dict, source_is_dict, 1))
            return -1;
    } else if (pkey) {
        *pkey = next_item;
    } else {
        *pvalue = next_item;
    }
    return 1;
}

static void __Pyx_RaiseDoubleKeywordsError(
    const char* func_name,
    PyObject* kw_name)
{
    PyErr_Format(PyExc_TypeError,
        #if PY_MAJOR_VERSION >= 3
        "%s() got multiple values for keyword argument '%U'", func_name, kw_name);
        #else
        "%s() got multiple values for keyword argument '%s'", func_name,
        PyString_AsString(kw_name));
        #endif
}

static int __Pyx_ParseOptionalKeywords(
    PyObject *kwds,
    PyObject **argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    const char* function_name)
{
    PyObject *key = 0, *value = 0;
    Py_ssize_t pos = 0;
    PyObject*** name;
    PyObject*** first_kw_arg = argnames + num_pos_args;
    while (PyDict_Next(kwds, &pos, &key, &value)) {
        name = first_kw_arg;
        while (*name && (**name != key)) name++;
        if (*name) {
            values[name-argnames] = value;
            continue;
        }
        name = first_kw_arg;
        #if PY_MAJOR_VERSION < 3
        if (likely(PyString_CheckExact(key)) || likely(PyString_Check(key))) {
            while (*name) {
                if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key))
                        && _PyString_Eq(**name, key)) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    if ((**argname == key) || (
                            (CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**argname) == PyString_GET_SIZE(key))
                             && _PyString_Eq(**argname, key))) {
                        goto arg_passed_twice;
                    }
                    argname++;
                }
            }
        } else
        #endif
        if (likely(PyUnicode_Check(key))) {
            while (*name) {
                int cmp = (**name == key) ? 0 :
                #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                    (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                #endif
                    PyUnicode_Compare(**name, key);
                if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                if (cmp == 0) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    int cmp = (**argname == key) ? 0 :
                    #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                        (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                    #endif
                        PyUnicode_Compare(**argname, key);
                    if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                    if (cmp == 0) goto arg_passed_twice;
                    argname++;
                }
            }
        } else
            goto invalid_keyword_type;
        if (kwds2) {
            if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
        } else {
            goto invalid_keyword;
        }
    }
    return 0;
arg_passed_twice:
    __Pyx_RaiseDoubleKeywordsError(function_name, key);
    goto bad;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%.200s() keywords must be strings", function_name);
    goto bad;
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
    #if PY_MAJOR_VERSION < 3
        "%.200s() got an unexpected keyword argument '%.200s'",
        function_name, PyString_AsString(key));
    #else
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    #endif
bad:
    return -1;
}

static void __Pyx_RaiseArgumentTypeInvalid(const char* name, PyObject *obj, PyTypeObject *type) {
    PyErr_Format(PyExc_TypeError,
        "Argument '%.200s' has incorrect type (expected %.200s, got %.200s)",
        name, type->tp_name, Py_TYPE(obj)->tp_name);
}
static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
    const char *name, int exact)
{
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (none_allowed && obj == Py_None) return 1;
    else if (exact) {
        if (likely(Py_TYPE(obj) == type)) return 1;
        #if PY_MAJOR_VERSION == 2
        else if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1;
        #endif
    }
    else {
        if (likely(PyObject_TypeCheck(obj, type))) return 1;
    }
    __Pyx_RaiseArgumentTypeInvalid(name, obj, type);
    return 0;
}

static void __Pyx_call_next_tp_dealloc(PyObject* obj, destructor current_tp_dealloc) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_dealloc != current_tp_dealloc)
        type = type->tp_base;
    while (type && type->tp_dealloc == current_tp_dealloc)
        type = type->tp_base;
    if (type)
        type->tp_dealloc(obj);
}

static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_traverse != current_tp_traverse)
        type = type->tp_base;
    while (type && type->tp_traverse == current_tp_traverse)
        type = type->tp_base;
    if (type && type->tp_traverse)
        return type->tp_traverse(obj, v, a);
    return 0;
}

static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_clear != current_tp_clear)
        type = type->tp_base;
    while (type && type->tp_clear == current_tp_clear)
        type = type->tp_base;
    if (type && type->tp_clear)
        type->tp_clear(obj);
}

static void* __Pyx_GetVtable(PyObject *dict) {
    void* ptr;
    PyObject *ob = PyObject_GetItem(dict, __pyx_n_s_pyx_vtable);
    if (!ob)
        goto bad;
#if PY_VERSION_HEX >= 0x02070000
    ptr = PyCapsule_GetPointer(ob, 0);
#else
    ptr = PyCObject_AsVoidPtr(ob);
#endif
    if (!ptr && !PyErr_Occurred())
        PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type");
    Py_DECREF(ob);
    return ptr;
bad:
    Py_XDECREF(ob);
    return NULL;
}

static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
#if PY_VERSION_HEX >= 0x02070000
    PyObject *ob = PyCapsule_New(vtable, 0, 0);
#else
    PyObject *ob = PyCObject_FromVoidPtr(vtable, 0);
#endif
    if (!ob)
        goto bad;
    if (PyDict_SetItem(dict, __pyx_n_s_pyx_vtable, ob) < 0)
        goto bad;
    Py_DECREF(ob);
    return 0;
bad:
    Py_XDECREF(ob);
    return -1;
}

static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) {
    PyObject* fake_module;
    PyTypeObject* cached_type = NULL;
    fake_module = PyImport_AddModule((char*) "_cython_" CYTHON_ABI);
    if (!fake_module) return NULL;
    Py_INCREF(fake_module);
    cached_type = (PyTypeObject*) PyObject_GetAttrString(fake_module, type->tp_name);
    if (cached_type) {
        if (!PyType_Check((PyObject*)cached_type)) {
            PyErr_Format(PyExc_TypeError,
                "Shared Cython type %.200s is not a type object",
                type->tp_name);
            goto bad;
        }
        if (cached_type->tp_basicsize != type->tp_basicsize) {
            PyErr_Format(PyExc_TypeError,
                "Shared Cython type %.200s has the wrong size, try recompiling",
                type->tp_name);
            goto bad;
        }
    } else {
        if (!PyErr_ExceptionMatches(PyExc_AttributeError)) goto bad;
        PyErr_Clear();
        if (PyType_Ready(type) < 0) goto bad;
        if (PyObject_SetAttrString(fake_module, type->tp_name, (PyObject*) type) < 0)
            goto bad;
        Py_INCREF(type);
        cached_type = type;
    }
done:
    Py_DECREF(fake_module);
    return cached_type;
bad:
    Py_XDECREF(cached_type);
    cached_type = NULL;
    goto done;
}

static PyObject *
__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *closure)
{
    if (unlikely(op->func_doc == NULL)) {
        if (op->func.m_ml->ml_doc) {
#if PY_MAJOR_VERSION >= 3
            op->func_doc = PyUnicode_FromString(op->func.m_ml->ml_doc);
#else
            op->func_doc = PyString_FromString(op->func.m_ml->ml_doc);
#endif
            if (unlikely(op->func_doc == NULL))
                return NULL;
        } else {
            Py_INCREF(Py_None);
            return Py_None;
        }
    }
    Py_INCREF(op->func_doc);
    return op->func_doc;
}
static int
__Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp = op->func_doc;
    if (value == NULL) {
        value = Py_None;
    }
    Py_INCREF(value);
    op->func_doc = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op)
{
    if (unlikely(op->func_name == NULL)) {
#if PY_MAJOR_VERSION >= 3
        op->func_name = PyUnicode_InternFromString(op->func.m_ml->ml_name);
#else
        op->func_name = PyString_InternFromString(op->func.m_ml->ml_name);
#endif
        if (unlikely(op->func_name == NULL))
            return NULL;
    }
    Py_INCREF(op->func_name);
    return op->func_name;
}
static int
__Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp;
#if PY_MAJOR_VERSION >= 3
    if (unlikely(value == NULL || !PyUnicode_Check(value))) {
#else
    if (unlikely(value == NULL || !PyString_Check(value))) {
#endif
        PyErr_SetString(PyExc_TypeError,
                        "__name__ must be set to a string object");
        return -1;
    }
    tmp = op->func_name;
    Py_INCREF(value);
    op->func_name = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op)
{
    Py_INCREF(op->func_qualname);
    return op->func_qualname;
}
static int
__Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp;
#if PY_MAJOR_VERSION >= 3
    if (unlikely(value == NULL || !PyUnicode_Check(value))) {
#else
    if (unlikely(value == NULL || !PyString_Check(value))) {
#endif
        PyErr_SetString(PyExc_TypeError,
                        "__qualname__ must be set to a string object");
        return -1;
    }
    tmp = op->func_qualname;
    Py_INCREF(value);
    op->func_qualname = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_self(__pyx_CyFunctionObject *m, CYTHON_UNUSED void *closure)
{
    PyObject *self;
    self = m->func_closure;
    if (self == NULL)
        self = Py_None;
    Py_INCREF(self);
    return self;
}
static PyObject *
__Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op)
{
    if (unlikely(op->func_dict == NULL)) {
        op->func_dict = PyDict_New();
        if (unlikely(op->func_dict == NULL))
            return NULL;
    }
    Py_INCREF(op->func_dict);
    return op->func_dict;
}
static int
__Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp;
    if (unlikely(value == NULL)) {
        PyErr_SetString(PyExc_TypeError,
               "function's dictionary may not be deleted");
        return -1;
    }
    if (unlikely(!PyDict_Check(value))) {
        PyErr_SetString(PyExc_TypeError,
               "setting function's dictionary to a non-dict");
        return -1;
    }
    tmp = op->func_dict;
    Py_INCREF(value);
    op->func_dict = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op)
{
    Py_INCREF(op->func_globals);
    return op->func_globals;
}
static PyObject *
__Pyx_CyFunction_get_closure(CYTHON_UNUSED __pyx_CyFunctionObject *op)
{
    Py_INCREF(Py_None);
    return Py_None;
}
static PyObject *
__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op)
{
    PyObject* result = (op->func_code) ? op->func_code : Py_None;
    Py_INCREF(result);
    return result;
}
static int
__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) {
    PyObject *res = op->defaults_getter((PyObject *) op);
    if (unlikely(!res))
        return -1;
    op->defaults_tuple = PyTuple_GET_ITEM(res, 0);
    Py_INCREF(op->defaults_tuple);
    op->defaults_kwdict = PyTuple_GET_ITEM(res, 1);
    Py_INCREF(op->defaults_kwdict);
    Py_DECREF(res);
    return 0;
}
static int
__Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value) {
    PyObject* tmp;
    if (!value) {
        value = Py_None;
    } else if (value != Py_None && !PyTuple_Check(value)) {
        PyErr_SetString(PyExc_TypeError,
                        "__defaults__ must be set to a tuple object");
        return -1;
    }
    Py_INCREF(value);
    tmp = op->defaults_tuple;
    op->defaults_tuple = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op) {
    PyObject* result = op->defaults_tuple;
    if (unlikely(!result)) {
        if (op->defaults_getter) {
            if (__Pyx_CyFunction_init_defaults(op) < 0) return NULL;
            result = op->defaults_tuple;
        } else {
            result = Py_None;
        }
    }
    Py_INCREF(result);
    return result;
}
static int
__Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value) {
    PyObject* tmp;
    if (!value) {
        value = Py_None;
    } else if (value != Py_None && !PyDict_Check(value)) {
        PyErr_SetString(PyExc_TypeError,
                        "__kwdefaults__ must be set to a dict object");
        return -1;
    }
    Py_INCREF(value);
    tmp = op->defaults_kwdict;
    op->defaults_kwdict = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op) {
    PyObject* result = op->defaults_kwdict;
    if (unlikely(!result)) {
        if (op->defaults_getter) {
            if (__Pyx_CyFunction_init_defaults(op) < 0) return NULL;
            result = op->defaults_kwdict;
        } else {
            result = Py_None;
        }
    }
    Py_INCREF(result);
    return result;
}
static int
__Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value) {
    PyObject* tmp;
    if (!value || value == Py_None) {
        value = NULL;
    } else if (!PyDict_Check(value)) {
        PyErr_SetString(PyExc_TypeError,
                        "__annotations__ must be set to a dict object");
        return -1;
    }
    Py_XINCREF(value);
    tmp = op->func_annotations;
    op->func_annotations = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op) {
    PyObject* result = op->func_annotations;
    if (unlikely(!result)) {
        result = PyDict_New();
        if (unlikely(!result)) return NULL;
        op->func_annotations = result;
    }
    Py_INCREF(result);
    return result;
}
static PyGetSetDef __pyx_CyFunction_getsets[] = {
    {(char *) "func_doc", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
    {(char *) "__doc__",  (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
    {(char *) "func_name", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
    {(char *) "__name__", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
    {(char *) "__qualname__", (getter)__Pyx_CyFunction_get_qualname, (setter)__Pyx_CyFunction_set_qualname, 0, 0},
    {(char *) "__self__", (getter)__Pyx_CyFunction_get_self, 0, 0, 0},
    {(char *) "func_dict", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
    {(char *) "__dict__", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
    {(char *) "func_globals", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
    {(char *) "__globals__", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
    {(char *) "func_closure", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
    {(char *) "__closure__", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
    {(char *) "func_code", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
    {(char *) "__code__", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
    {(char *) "func_defaults", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
    {(char *) "__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
    {(char *) "__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0},
    {(char *) "__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0},
    {0, 0, 0, 0, 0}
};
static PyMemberDef __pyx_CyFunction_members[] = {
    {(char *) "__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
    {0, 0, 0,  0, 0}
};
static PyObject *
__Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, CYTHON_UNUSED PyObject *args)
{
#if PY_MAJOR_VERSION >= 3
    return PyUnicode_FromString(m->func.m_ml->ml_name);
#else
    return PyString_FromString(m->func.m_ml->ml_name);
#endif
}
static PyMethodDef __pyx_CyFunction_methods[] = {
    {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0},
    {0, 0, 0, 0}
};
#if PY_VERSION_HEX < 0x030500A0
#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist)
#else
#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func.m_weakreflist)
#endif
static PyObject *__Pyx_CyFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags, PyObject* qualname,
                                      PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) {
    __pyx_CyFunctionObject *op = PyObject_GC_New(__pyx_CyFunctionObject, type);
    if (op == NULL)
        return NULL;
    op->flags = flags;
    __Pyx_CyFunction_weakreflist(op) = NULL;
    op->func.m_ml = ml;
    op->func.m_self = (PyObject *) op;
    Py_XINCREF(closure);
    op->func_closure = closure;
    Py_XINCREF(module);
    op->func.m_module = module;
    op->func_dict = NULL;
    op->func_name = NULL;
    Py_INCREF(qualname);
    op->func_qualname = qualname;
    op->func_doc = NULL;
    op->func_classobj = NULL;
    op->func_globals = globals;
    Py_INCREF(op->func_globals);
    Py_XINCREF(code);
    op->func_code = code;
    op->defaults_pyobjects = 0;
    op->defaults = NULL;
    op->defaults_tuple = NULL;
    op->defaults_kwdict = NULL;
    op->defaults_getter = NULL;
    op->func_annotations = NULL;
    PyObject_GC_Track(op);
    return (PyObject *) op;
}
static int
__Pyx_CyFunction_clear(__pyx_CyFunctionObject *m)
{
    Py_CLEAR(m->func_closure);
    Py_CLEAR(m->func.m_module);
    Py_CLEAR(m->func_dict);
    Py_CLEAR(m->func_name);
    Py_CLEAR(m->func_qualname);
    Py_CLEAR(m->func_doc);
    Py_CLEAR(m->func_globals);
    Py_CLEAR(m->func_code);
    Py_CLEAR(m->func_classobj);
    Py_CLEAR(m->defaults_tuple);
    Py_CLEAR(m->defaults_kwdict);
    Py_CLEAR(m->func_annotations);
    if (m->defaults) {
        PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
        int i;
        for (i = 0; i < m->defaults_pyobjects; i++)
            Py_XDECREF(pydefaults[i]);
        PyMem_Free(m->defaults);
        m->defaults = NULL;
    }
    return 0;
}
static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
{
    PyObject_GC_UnTrack(m);
    if (__Pyx_CyFunction_weakreflist(m) != NULL)
        PyObject_ClearWeakRefs((PyObject *) m);
    __Pyx_CyFunction_clear(m);
    PyObject_GC_Del(m);
}
static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg)
{
    Py_VISIT(m->func_closure);
    Py_VISIT(m->func.m_module);
    Py_VISIT(m->func_dict);
    Py_VISIT(m->func_name);
    Py_VISIT(m->func_qualname);
    Py_VISIT(m->func_doc);
    Py_VISIT(m->func_globals);
    Py_VISIT(m->func_code);
    Py_VISIT(m->func_classobj);
    Py_VISIT(m->defaults_tuple);
    Py_VISIT(m->defaults_kwdict);
    if (m->defaults) {
        PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
        int i;
        for (i = 0; i < m->defaults_pyobjects; i++)
            Py_VISIT(pydefaults[i]);
    }
    return 0;
}
static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type)
{
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) {
        Py_INCREF(func);
        return func;
    }
    if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) {
        if (type == NULL)
            type = (PyObject *)(Py_TYPE(obj));
        return __Pyx_PyMethod_New(func, type, (PyObject *)(Py_TYPE(type)));
    }
    if (obj == Py_None)
        obj = NULL;
    return __Pyx_PyMethod_New(func, obj, type);
}
static PyObject*
__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
{
#if PY_MAJOR_VERSION >= 3
    return PyUnicode_FromFormat("<cyfunction %U at %p>",
                                op->func_qualname, (void *)op);
#else
    return PyString_FromFormat("<cyfunction %s at %p>",
                               PyString_AsString(op->func_qualname), (void *)op);
#endif
}
#if CYTHON_COMPILING_IN_PYPY
static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyCFunctionObject* f = (PyCFunctionObject*)func;
    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
    PyObject *self = PyCFunction_GET_SELF(func);
    Py_ssize_t size;
    switch (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)) {
    case METH_VARARGS:
        if (likely(kw == NULL) || PyDict_Size(kw) == 0)
            return (*meth)(self, arg);
        break;
    case METH_VARARGS | METH_KEYWORDS:
        return (*(PyCFunctionWithKeywords)meth)(self, arg, kw);
    case METH_NOARGS:
        if (likely(kw == NULL) || PyDict_Size(kw) == 0) {
            size = PyTuple_GET_SIZE(arg);
            if (size == 0)
                return (*meth)(self, NULL);
            PyErr_Format(PyExc_TypeError,
                "%.200s() takes no arguments (%" CYTHON_FORMAT_SSIZE_T "d given)",
                f->m_ml->ml_name, size);
            return NULL;
        }
        break;
    case METH_O:
        if (likely(kw == NULL) || PyDict_Size(kw) == 0) {
            size = PyTuple_GET_SIZE(arg);
            if (size == 1)
                return (*meth)(self, PyTuple_GET_ITEM(arg, 0));
            PyErr_Format(PyExc_TypeError,
                "%.200s() takes exactly one argument (%" CYTHON_FORMAT_SSIZE_T "d given)",
                f->m_ml->ml_name, size);
            return NULL;
        }
        break;
    default:
        PyErr_SetString(PyExc_SystemError, "Bad call flags in "
                        "__Pyx_CyFunction_Call. METH_OLDARGS is no "
                        "longer supported!");
        return NULL;
    }
    PyErr_Format(PyExc_TypeError, "%.200s() takes no keyword arguments",
                 f->m_ml->ml_name);
    return NULL;
}
#else
static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
	return PyCFunction_Call(func, arg, kw);
}
#endif
static PyTypeObject __pyx_CyFunctionType_type = {
    PyVarObject_HEAD_INIT(0, 0)
    "cython_function_or_method",
    sizeof(__pyx_CyFunctionObject),
    0,
    (destructor) __Pyx_CyFunction_dealloc,
    0,
    0,
    0,
#if PY_MAJOR_VERSION < 3
    0,
#else
    0,
#endif
    (reprfunc) __Pyx_CyFunction_repr,
    0,
    0,
    0,
    0,
    __Pyx_CyFunction_Call,
    0,
    0,
    0,
    0,
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
    0,
    (traverseproc) __Pyx_CyFunction_traverse,
    (inquiry) __Pyx_CyFunction_clear,
    0,
#if PY_VERSION_HEX < 0x030500A0
    offsetof(__pyx_CyFunctionObject, func_weakreflist),
#else
    offsetof(PyCFunctionObject, m_weakreflist),
#endif
    0,
    0,
    __pyx_CyFunction_methods,
    __pyx_CyFunction_members,
    __pyx_CyFunction_getsets,
    0,
    0,
    __Pyx_CyFunction_descr_get,
    0,
    offsetof(__pyx_CyFunctionObject, func_dict),
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
#if PY_VERSION_HEX >= 0x030400a1
    0,
#endif
};
static int __Pyx_CyFunction_init(void) {
#if !CYTHON_COMPILING_IN_PYPY
    __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
#endif
    __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
    if (__pyx_CyFunctionType == NULL) {
        return -1;
    }
    return 0;
}
static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->defaults = PyMem_Malloc(size);
    if (!m->defaults)
        return PyErr_NoMemory();
    memset(m->defaults, 0, size);
    m->defaults_pyobjects = pyobjects;
    return m->defaults;
}
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->defaults_tuple = tuple;
    Py_INCREF(tuple);
}
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->defaults_kwdict = dict;
    Py_INCREF(dict);
}
static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->func_annotations = dict;
    Py_INCREF(dict);
}

static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
    int start = 0, mid = 0, end = count - 1;
    if (end >= 0 && code_line > entries[end].code_line) {
        return count;
    }
    while (start < end) {
        mid = (start + end) / 2;
        if (code_line < entries[mid].code_line) {
            end = mid;
        } else if (code_line > entries[mid].code_line) {
             start = mid + 1;
        } else {
            return mid;
        }
    }
    if (code_line <= entries[mid].code_line) {
        return mid;
    } else {
        return mid + 1;
    }
}
static PyCodeObject *__pyx_find_code_object(int code_line) {
    PyCodeObject* code_object;
    int pos;
    if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) {
        return NULL;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) {
        return NULL;
    }
    code_object = __pyx_code_cache.entries[pos].code_object;
    Py_INCREF(code_object);
    return code_object;
}
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
    int pos, i;
    __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries;
    if (unlikely(!code_line)) {
        return;
    }
    if (unlikely(!entries)) {
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry));
        if (likely(entries)) {
            __pyx_code_cache.entries = entries;
            __pyx_code_cache.max_count = 64;
            __pyx_code_cache.count = 1;
            entries[0].code_line = code_line;
            entries[0].code_object = code_object;
            Py_INCREF(code_object);
        }
        return;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) {
        PyCodeObject* tmp = entries[pos].code_object;
        entries[pos].code_object = code_object;
        Py_DECREF(tmp);
        return;
    }
    if (__pyx_code_cache.count == __pyx_code_cache.max_count) {
        int new_max = __pyx_code_cache.max_count + 64;
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc(
            __pyx_code_cache.entries, (size_t)new_max*sizeof(__Pyx_CodeObjectCacheEntry));
        if (unlikely(!entries)) {
            return;
        }
        __pyx_code_cache.entries = entries;
        __pyx_code_cache.max_count = new_max;
    }
    for (i=__pyx_code_cache.count; i>pos; i--) {
        entries[i] = entries[i-1];
    }
    entries[pos].code_line = code_line;
    entries[pos].code_object = code_object;
    __pyx_code_cache.count++;
    Py_INCREF(code_object);
}

#include "compile.h"
#include "frameobject.h"
#include "traceback.h"
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
            const char *funcname, int c_line,
            int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyObject *py_srcfile = 0;
    PyObject *py_funcname = 0;
    #if PY_MAJOR_VERSION < 3
    py_srcfile = PyString_FromString(filename);
    #else
    py_srcfile = PyUnicode_FromString(filename);
    #endif
    if (!py_srcfile) goto bad;
    if (c_line) {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #else
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #endif
    }
    else {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromString(funcname);
        #else
        py_funcname = PyUnicode_FromString(funcname);
        #endif
    }
    if (!py_funcname) goto bad;
    py_code = __Pyx_PyCode_New(
        0,
        0,
        0,
        0,
        0,
        __pyx_empty_bytes, /*PyObject *code,*/
        __pyx_empty_tuple, /*PyObject *consts,*/
        __pyx_empty_tuple, /*PyObject *names,*/
        __pyx_empty_tuple, /*PyObject *varnames,*/
        __pyx_empty_tuple, /*PyObject *freevars,*/
        __pyx_empty_tuple, /*PyObject *cellvars,*/
        py_srcfile,   /*PyObject *filename,*/
        py_funcname,  /*PyObject *name,*/
        py_line,
        __pyx_empty_bytes  /*PyObject *lnotab*/
    );
    Py_DECREF(py_srcfile);
    Py_DECREF(py_funcname);
    return py_code;
bad:
    Py_XDECREF(py_srcfile);
    Py_XDECREF(py_funcname);
    return NULL;
}
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyFrameObject *py_frame = 0;
    py_code = __pyx_find_code_object(c_line ? c_line : py_line);
    if (!py_code) {
        py_code = __Pyx_CreateCodeObjectForTraceback(
            funcname, c_line, py_line, filename);
        if (!py_code) goto bad;
        __pyx_insert_code_object(c_line ? c_line : py_line, py_code);
    }
    py_frame = PyFrame_New(
        PyThreadState_GET(), /*PyThreadState *tstate,*/
        py_code,             /*PyCodeObject *code,*/
        __pyx_d,      /*PyObject *globals,*/
        0                    /*PyObject *locals*/
    );
    if (!py_frame) goto bad;
    py_frame->f_lineno = py_line;
    PyTraceBack_Here(py_frame);
bad:
    Py_XDECREF(py_code);
    Py_XDECREF(py_frame);
}

static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
    PyObject *empty_list = 0;
    PyObject *module = 0;
    PyObject *global_dict = 0;
    PyObject *empty_dict = 0;
    PyObject *list;
    #if PY_VERSION_HEX < 0x03030000
    PyObject *py_import;
    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
    if (!py_import)
        goto bad;
    #endif
    if (from_list)
        list = from_list;
    else {
        empty_list = PyList_New(0);
        if (!empty_list)
            goto bad;
        list = empty_list;
    }
    global_dict = PyModule_GetDict(__pyx_m);
    if (!global_dict)
        goto bad;
    empty_dict = PyDict_New();
    if (!empty_dict)
        goto bad;
    {
        #if PY_MAJOR_VERSION >= 3
        if (level == -1) {
            if (strchr(__Pyx_MODULE_NAME, '.')) {
                #if PY_VERSION_HEX < 0x03030000
                PyObject *py_level = PyInt_FromLong(1);
                if (!py_level)
                    goto bad;
                module = PyObject_CallFunctionObjArgs(py_import,
                    name, global_dict, empty_dict, list, py_level, NULL);
                Py_DECREF(py_level);
                #else
                module = PyImport_ImportModuleLevelObject(
                    name, global_dict, empty_dict, list, 1);
                #endif
                if (!module) {
                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
                        goto bad;
                    PyErr_Clear();
                }
            }
            level = 0;
        }
        #endif
        if (!module) {
            #if PY_VERSION_HEX < 0x03030000
            PyObject *py_level = PyInt_FromLong(level);
            if (!py_level)
                goto bad;
            module = PyObject_CallFunctionObjArgs(py_import,
                name, global_dict, empty_dict, list, py_level, NULL);
            Py_DECREF(py_level);
            #else
            module = PyImport_ImportModuleLevelObject(
                name, global_dict, empty_dict, list, level);
            #endif
        }
    }
bad:
    #if PY_VERSION_HEX < 0x03030000
    Py_XDECREF(py_import);
    #endif
    Py_XDECREF(empty_list);
    Py_XDECREF(empty_dict);
    return module;
}

#define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)       \
    {                                                                     \
        func_type value = func_value;                                     \
        if (sizeof(target_type) < sizeof(func_type)) {                    \
            if (unlikely(value != (func_type) (target_type) value)) {     \
                func_type zero = 0;                                       \
                if (is_unsigned && unlikely(value < zero))                \
                    goto raise_neg_overflow;                              \
                else                                                      \
                    goto raise_overflow;                                  \
            }                                                             \
        }                                                                 \
        return (target_type) value;                                       \
    }

#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
 #endif
#endif

static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
    const int neg_one = (int) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(int) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(int, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (int) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(int, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (int) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(int) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(int, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
            }
        } else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(int,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(int, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(int) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(int, long, PyLong_AsLong(x))
            } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT(int, PY_LONG_LONG, PyLong_AsLongLong(x))
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            int val;
            PyObject *v = __Pyx_PyNumber_Int(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (int) -1;
        }
    } else {
        int val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (int) -1;
        val = __Pyx_PyInt_As_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to int");
    return (int) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to int");
    return (int) -1;
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
    const int neg_one = (int) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(int) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
        }
    } else {
        if (sizeof(int) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(int),
                                     little, !is_unsigned);
    }
}

static CYTHON_INLINE size_t __Pyx_PyInt_As_size_t(PyObject *x) {
    const size_t neg_one = (size_t) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(size_t) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(size_t, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (size_t) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(size_t, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (size_t) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(size_t) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(size_t, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(size_t) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT(size_t, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
            }
        } else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(size_t,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(size_t, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(size_t) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(size_t, long, PyLong_AsLong(x))
            } else if (sizeof(size_t) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT(size_t, PY_LONG_LONG, PyLong_AsLongLong(x))
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            size_t val;
            PyObject *v = __Pyx_PyNumber_Int(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (size_t) -1;
        }
    } else {
        size_t val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (size_t) -1;
        val = __Pyx_PyInt_As_size_t(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to size_t");
    return (size_t) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to size_t");
    return (size_t) -1;
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Eina_Bool(Eina_Bool value) {
    const Eina_Bool neg_one = (Eina_Bool) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(Eina_Bool) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(Eina_Bool) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(Eina_Bool) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
        }
    } else {
        if (sizeof(Eina_Bool) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(Eina_Bool) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(Eina_Bool),
                                     little, !is_unsigned);
    }
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
    const long neg_one = (long) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(long) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
        }
    } else {
        if (sizeof(long) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(long),
                                     little, !is_unsigned);
    }
}

static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
    const long neg_one = (long) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(long) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (long) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(long, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (long) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(long) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(long, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
            }
        } else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(long) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(long, long, PyLong_AsLong(x))
            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT(long, PY_LONG_LONG, PyLong_AsLongLong(x))
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            long val;
            PyObject *v = __Pyx_PyNumber_Int(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (long) -1;
        }
    } else {
        long val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (long) -1;
        val = __Pyx_PyInt_As_long(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to long");
    return (long) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to long");
    return (long) -1;
}

static int __Pyx_check_binary_version(void) {
    char ctversion[4], rtversion[4];
    PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
    PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
    if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
        char message[200];
        PyOS_snprintf(message, sizeof(message),
                      "compiletime version %s of module '%.100s' "
                      "does not match runtime version %s",
                      ctversion, __Pyx_MODULE_NAME, rtversion);
        return PyErr_WarnEx(NULL, message, 1);
    }
    return 0;
}

#ifndef __PYX_HAVE_RT_ImportModule
#define __PYX_HAVE_RT_ImportModule
static PyObject *__Pyx_ImportModule(const char *name) {
    PyObject *py_name = 0;
    PyObject *py_module = 0;
    py_name = __Pyx_PyIdentifier_FromString(name);
    if (!py_name)
        goto bad;
    py_module = PyImport_Import(py_name);
    Py_DECREF(py_name);
    return py_module;
bad:
    Py_XDECREF(py_name);
    return 0;
}
#endif

#ifndef __PYX_HAVE_RT_ImportType
#define __PYX_HAVE_RT_ImportType
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name,
    size_t size, int strict)
{
    PyObject *py_module = 0;
    PyObject *result = 0;
    PyObject *py_name = 0;
    char warning[200];
    Py_ssize_t basicsize;
#ifdef Py_LIMITED_API
    PyObject *py_basicsize;
#endif
    py_module = __Pyx_ImportModule(module_name);
    if (!py_module)
        goto bad;
    py_name = __Pyx_PyIdentifier_FromString(class_name);
    if (!py_name)
        goto bad;
    result = PyObject_GetAttr(py_module, py_name);
    Py_DECREF(py_name);
    py_name = 0;
    Py_DECREF(py_module);
    py_module = 0;
    if (!result)
        goto bad;
    if (!PyType_Check(result)) {
        PyErr_Format(PyExc_TypeError,
            "%.200s.%.200s is not a type object",
            module_name, class_name);
        goto bad;
    }
#ifndef Py_LIMITED_API
    basicsize = ((PyTypeObject *)result)->tp_basicsize;
#else
    py_basicsize = PyObject_GetAttrString(result, "__basicsize__");
    if (!py_basicsize)
        goto bad;
    basicsize = PyLong_AsSsize_t(py_basicsize);
    Py_DECREF(py_basicsize);
    py_basicsize = 0;
    if (basicsize == (Py_ssize_t)-1 && PyErr_Occurred())
        goto bad;
#endif
    if (!strict && (size_t)basicsize > size) {
        PyOS_snprintf(warning, sizeof(warning),
            "%s.%s size changed, may indicate binary incompatibility",
            module_name, class_name);
        if (PyErr_WarnEx(NULL, warning, 0) < 0) goto bad;
    }
    else if ((size_t)basicsize != size) {
        PyErr_Format(PyExc_ValueError,
            "%.200s.%.200s has the wrong size, try recompiling",
            module_name, class_name);
        goto bad;
    }
    return (PyTypeObject *)result;
bad:
    Py_XDECREF(py_module);
    Py_XDECREF(result);
    return NULL;
}
#endif

#ifndef __PYX_HAVE_RT_ImportFunction
#define __PYX_HAVE_RT_ImportFunction
static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
    PyObject *d = 0;
    PyObject *cobj = 0;
    union {
        void (*fp)(void);
        void *p;
    } tmp;
    d = PyObject_GetAttrString(module, (char *)"__pyx_capi__");
    if (!d)
        goto bad;
    cobj = PyDict_GetItemString(d, funcname);
    if (!cobj) {
        PyErr_Format(PyExc_ImportError,
            "%.200s does not export expected C function %.200s",
                PyModule_GetName(module), funcname);
        goto bad;
    }
#if PY_VERSION_HEX >= 0x02070000
    if (!PyCapsule_IsValid(cobj, sig)) {
        PyErr_Format(PyExc_TypeError,
            "C function %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), funcname, sig, PyCapsule_GetName(cobj));
        goto bad;
    }
    tmp.p = PyCapsule_GetPointer(cobj, sig);
#else
    {const char *desc, *s1, *s2;
    desc = (const char *)PyCObject_GetDesc(cobj);
    if (!desc)
        goto bad;
    s1 = desc; s2 = sig;
    while (*s1 != '\0' && *s1 == *s2) { s1++; s2++; }
    if (*s1 != *s2) {
        PyErr_Format(PyExc_TypeError,
            "C function %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), funcname, sig, desc);
        goto bad;
    }
    tmp.p = PyCObject_AsVoidPtr(cobj);}
#endif
    *f = tmp.fp;
    if (!(*f))
        goto bad;
    Py_DECREF(d);
    return 0;
bad:
    Py_XDECREF(d);
    return -1;
}
#endif

static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
    while (t->p) {
        #if PY_MAJOR_VERSION < 3
        if (t->is_unicode) {
            *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
        } else if (t->intern) {
            *t->p = PyString_InternFromString(t->s);
        } else {
            *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
        }
        #else
        if (t->is_unicode | t->is_str) {
            if (t->intern) {
                *t->p = PyUnicode_InternFromString(t->s);
            } else if (t->encoding) {
                *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL);
            } else {
                *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
            }
        } else {
            *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
        }
        #endif
        if (!*t->p)
            return -1;
        ++t;
    }
    return 0;
}

static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
    return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
}
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
    Py_ssize_t ignore;
    return __Pyx_PyObject_AsStringAndSize(o, &ignore);
}
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
    if (
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
            __Pyx_sys_getdefaultencoding_not_ascii &&
#endif
            PyUnicode_Check(o)) {
#if PY_VERSION_HEX < 0x03030000
        char* defenc_c;
        PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
        if (!defenc) return NULL;
        defenc_c = PyBytes_AS_STRING(defenc);
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        {
            char* end = defenc_c + PyBytes_GET_SIZE(defenc);
            char* c;
            for (c = defenc_c; c < end; c++) {
                if ((unsigned char) (*c) >= 128) {
                    PyUnicode_AsASCIIString(o);
                    return NULL;
                }
            }
        }
#endif
        *length = PyBytes_GET_SIZE(defenc);
        return defenc_c;
#else
        if (__Pyx_PyUnicode_READY(o) == -1) return NULL;
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        if (PyUnicode_IS_ASCII(o)) {
            *length = PyUnicode_GET_LENGTH(o);
            return PyUnicode_AsUTF8(o);
        } else {
            PyUnicode_AsASCIIString(o);
            return NULL;
        }
#else
        return PyUnicode_AsUTF8AndSize(o, length);
#endif
#endif
    } else
#endif
#if !CYTHON_COMPILING_IN_PYPY
    if (PyByteArray_Check(o)) {
        *length = PyByteArray_GET_SIZE(o);
        return PyByteArray_AS_STRING(o);
    } else
#endif
    {
        char* result;
        int r = PyBytes_AsStringAndSize(o, &result, length);
        if (unlikely(r < 0)) {
            return NULL;
        } else {
            return result;
        }
    }
}
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
   int is_true = x == Py_True;
   if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
   else return PyObject_IsTrue(x);
}
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) {
  PyNumberMethods *m;
  const char *name = NULL;
  PyObject *res = NULL;
#if PY_MAJOR_VERSION < 3
  if (PyInt_Check(x) || PyLong_Check(x))
#else
  if (PyLong_Check(x))
#endif
    return Py_INCREF(x), x;
  m = Py_TYPE(x)->tp_as_number;
#if PY_MAJOR_VERSION < 3
  if (m && m->nb_int) {
    name = "int";
    res = PyNumber_Int(x);
  }
  else if (m && m->nb_long) {
    name = "long";
    res = PyNumber_Long(x);
  }
#else
  if (m && m->nb_int) {
    name = "int";
    res = PyNumber_Long(x);
  }
#endif
  if (res) {
#if PY_MAJOR_VERSION < 3
    if (!PyInt_Check(res) && !PyLong_Check(res)) {
#else
    if (!PyLong_Check(res)) {
#endif
      PyErr_Format(PyExc_TypeError,
                   "__%.4s__ returned non-%.4s (type %.200s)",
                   name, name, Py_TYPE(res)->tp_name);
      Py_DECREF(res);
      return NULL;
    }
  }
  else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_TypeError,
                    "an integer is required");
  }
  return res;
}
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
  Py_ssize_t ival;
  PyObject *x;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_CheckExact(b)))
      return PyInt_AS_LONG(b);
#endif
  if (likely(PyLong_CheckExact(b))) {
    #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
     #if CYTHON_USE_PYLONG_INTERNALS
       switch (Py_SIZE(b)) {
       case -1: return -(sdigit)((PyLongObject*)b)->ob_digit[0];
       case  0: return 0;
       case  1: return ((PyLongObject*)b)->ob_digit[0];
       }
     #endif
    #endif
    return PyLong_AsSsize_t(b);
  }
  x = PyNumber_Index(b);
  if (!x) return -1;
  ival = PyInt_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
    return PyInt_FromSize_t(ival);
}


#endif /* Py_PYTHON_H */
