* 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
This commit is contained in:
Cedric BAIL 2010-11-29 23:16:19 +00:00
parent 269a6ab702
commit cb402e2a5a
2 changed files with 1 additions and 61 deletions

View File

@ -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

View File

@ -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 <http://www.gnu.org/licenses/>.
*/
/* 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 <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#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;
}