From cb402e2a5af7294bda3e895ca45b9ae230bc7749 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 29 Nov 2010 23:16:19 +0000 Subject: [PATCH] * eina: we don't plan to provide ABI compatibility until 1.0. This kind of trick are for after 1.0, if you really need you can just pick that patch. SVN revision: 55075 --- legacy/eina/src/lib/Makefile.am | 3 +- legacy/eina/src/lib/eina_abi.c | 59 --------------------------------- 2 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 legacy/eina/src/lib/eina_abi.c diff --git a/legacy/eina/src/lib/Makefile.am b/legacy/eina/src/lib/Makefile.am index d444dd46b6..fac41ad198 100644 --- a/legacy/eina/src/lib/Makefile.am +++ b/legacy/eina/src/lib/Makefile.am @@ -45,8 +45,7 @@ eina_tiler.c \ eina_unicode.c \ eina_ustrbuf.c \ eina_ustringshare.c \ -eina_value.c \ -eina_abi.c +eina_value.c if EINA_HAVE_WIN32 base_sources += eina_file_win32.c diff --git a/legacy/eina/src/lib/eina_abi.c b/legacy/eina/src/lib/eina_abi.c deleted file mode 100644 index 0155a99df7..0000000000 --- a/legacy/eina/src/lib/eina_abi.c +++ /dev/null @@ -1,59 +0,0 @@ -/* EINA - EFL data type library - * Copyright (C) 2010 Cedric Bail - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; - * if not, see . - */ - -/* This file is here to preserve ABI compatibility, don't touch - it unless you know what you are doing */ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include - -#include "eina_config.h" -#include "eina_private.h" -#include "eina_error.h" -#include "eina_log.h" -#include "eina_safety_checks.h" - -typedef struct _Eina_Array Eina_Array; -struct _Eina_Array -{ -#define EINA_ARRAY_VERSION 1 - int version; - - void **data; - unsigned int total; - unsigned int count; - unsigned int step; - EINA_MAGIC -}; - -EAPI void -eina_array_clean(Eina_Array *array) -{ - EINA_SAFETY_ON_NULL_RETURN(array); - - assert(array->version == EINA_ARRAY_VERSION); - - array->count = 0; -} -