forked from enlightenment/efl
* 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:
parent
269a6ab702
commit
cb402e2a5a
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue