GnuCash
5.6-150-g038405b370+
|
QOF String cache functions. More...
Go to the source code of this file.
Macros | |
#define | QOF_MOD_UTIL "qof.utilities" |
#define | CACHE_INSERT(str) qof_string_cache_insert((str)) |
#define | CACHE_REMOVE(str) qof_string_cache_remove((str)) |
#define | CACHE_REPLACE(dst, src) |
#define | QOF_CACHE_NEW(void) qof_string_cache_insert("") |
Functions | |
void | qof_string_cache_init (void) |
The QOF String Cache: More... | |
void | qof_string_cache_destroy (void) |
Destroy the qof_string_cache. | |
void | qof_string_cache_remove (const char *key) |
You can use this function as a destroy notifier for a GHashTable that uses common strings as keys (or values, for that matter.) | |
const char * | qof_string_cache_insert (const char *key) |
You can use this function with g_hash_table_insert(), for the key (or value), as long as you use the destroy notifier above. | |
const char * | qof_string_cache_replace (const char *dst, const char *src) |
Same as CACHE_REPLACE below, but safe to call from C++. | |
QOF String cache functions.
Definition in file qof-string-cache.h.