int main(int argc, char **argv)
{
(void)argc;
(void)argv;
int i;
char *newstr;
printf("v=%d\n", i);
printf("v as string: %s\n", newstr);
free(newstr);
const char *s;
printf("v=%s (pointer: %p)\n", s, s);
printf("v as string: %s (pointer: %p)\n", newstr, newstr);
free(newstr);
printf("otherv=%s\n", s);
printf("v=%d\n", i);
}
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
EINA_API const Eina_Value_Type * EINA_VALUE_TYPE_INT
manages int type.
Definition: eina_value.c:5602
EINA_API const Eina_Value_Type * EINA_VALUE_TYPE_STRING
manages string type.
Definition: eina_value.c:5608
EINA_API char * eina_value_to_string(const Eina_Value *value)
Converts value to string.
Definition: eina_value.c:5719
static Eina_Bool eina_value_get(const Eina_Value *value,...)
Gets the generic value.
static void eina_value_flush(Eina_Value *value)
Empties a generic value storage.
static Eina_Bool eina_value_set(Eina_Value *value,...)
Sets the generic value.
static Eina_Bool eina_value_setup(Eina_Value *value, const Eina_Value_Type *type)
Initializes generic value storage.
EINA_API Eina_Bool eina_value_convert(const Eina_Value *value, Eina_Value *convert)
Converts one value to another type.
Definition: eina_value.c:5688
defines the contents of a value
Definition: eina_value.h:662