#include <stdio.h>
#include <string.h>
{
printf("%s\n", (char *)data);
}
int
{
const char* strings[] = {
"helo", "hera", "starbuck", "kat", "boomer",
"hotdog", "longshot", "jammer", "crashdown", "hardball",
"duck", "racetrack", "apolo", "husker", "freaker",
"skulls", "bulldog", "flat top", "hammerhead", "gonzo"
};
unsigned int i;
for (i = 0; i < 20; i++)
return 0;
}
static void * eina_array_pop(Eina_Array *array)
Removes the last data item in an array.
EINA_API void eina_array_free(Eina_Array *array)
Frees an array.
Definition: eina_array.c:295
static Eina_Bool eina_array_foreach(Eina_Array *array, Eina_Each_Cb cb, void *fdata)
Iterates over an array using a callback function.
static Eina_Bool eina_array_push(Eina_Array *array, const void *data)
Appends a data item to an array.
EINA_API void eina_array_step_set(Eina_Array *array, unsigned int sizeof_eina_array, unsigned int step)
Sets the step of an array.
Definition: eina_array.c:305
static void * eina_array_data_get(const Eina_Array *array, unsigned int idx)
Returns the data at a given position in an array.
EINA_API Eina_Array * eina_array_new(unsigned int step)
Creates a new array.
Definition: eina_array.c:276
static unsigned int eina_array_count(const Eina_Array *array)
Returns the number of elements in an array.
EINA_API int eina_shutdown(void)
Shuts down the Eina library.
Definition: eina_main.c:379
EINA_API int eina_init(void)
Initializes the Eina library.
Definition: eina_main.c:291
#define EINA_TRUE
boolean value TRUE (numerical value 1)
Definition: eina_types.h:539
unsigned char Eina_Bool
Type to mimic a boolean.
Definition: eina_types.h:527
#define EINA_UNUSED
Used to indicate that a function parameter is purposely unused.
Definition: eina_types.h:339
Type for an array of data.
Definition: eina_array.h:229