src/lib/edje_cache.c File Reference

Defines

#define INIT_EMP(Tp, Sz, Ce)

Functions

EAPI void edje_collection_cache_flush (void)
 Clean the collection cache.
EAPI int edje_collection_cache_get (void)
 Return the collection cache size.
EAPI void edje_collection_cache_set (int count)
 Set the collection cache size.
EAPI void edje_file_cache_flush (void)
 Clean the file cache.
EAPI int edje_file_cache_get (void)
 Return the file cache size.
EAPI void edje_file_cache_set (int count)
 Set the file cache size.

Define Documentation

#define INIT_EMP (   Tp,
  Sz,
  Ce 
)
Value:
buffer = alloca(strlen(ce->entry) + strlen(#Tp) + 2);       \
   sprintf(buffer, "%s/%s", ce->entry, #Tp);                \
   Ce->mp.Tp = eina_mempool_add("one_big", buffer, NULL, sizeof (Sz), Ce->count.Tp); \
   _emp_##Tp = Ce->mp.Tp;