2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
10 // BROKEN in gcc 4 on amd64
11 //# pragma GCC visibility push(hidden)
15 typedef struct _Eet_String Eet_String;
36 unsigned int converted : 1;
37 unsigned int is_float : 1;
40 struct _Eet_Dictionary
56 Eet_Dictionary *eet_dictionary_add(void);
57 void eet_dictionary_free(Eet_Dictionary *ed);
58 int eet_dictionary_string_add(Eet_Dictionary *ed, const char *string);
59 int eet_dictionary_string_get_size(const Eet_Dictionary *ed, int index);
60 const char *eet_dictionary_string_get_char(const Eet_Dictionary *ed, int index);
61 int eet_dictionary_string_get_float(const Eet_Dictionary *ed, int index, float *result);
62 int eet_dictionary_string_get_double(const Eet_Dictionary *ed, int index, double *result);
63 int eet_dictionary_string_get_hash(const Eet_Dictionary *ed, int index);
65 FILE *_eet_memfile_read_open(const void *data, size_t size);
66 void _eet_memfile_read_close(FILE *f);
67 FILE *_eet_memfile_write_open(void **data, size_t *size);
68 void _eet_memfile_write_close(FILE *f);
69 void _eet_memfile_shutdown(void);
70 int _eet_hash_gen(const char *key, int hash_size);
71 int _eet_string_to_double_convert(const char *src, long long *m, long *e);
72 void _eet_double_to_string_convert(char des[128], double d);
79 #define EET_ASSERT(Test, Do) if (Test == 0) Do;
81 #define EET_ASSERT(Test, Do) if (Test == 0) abort();