Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#include <glib.h>
Go to the source code of this file.
Macros | |
#define | VGINTKEY gpointer)(uintptr_t |
#define | v_g_list_foreach(glhead, glcur, elm) |
#define | v_g_list_foreach_safe(glhead, glcur, glnext, elm) |
#define | v_g_list_foreach_remove(glhead, glcur, glnext) |
#define | v_g_slist_foreach(gslhead, gslcur, elm) |
#define | v_g_slist_foreach_dual(gslhead1, gslhead2, gslcur1, gslcur2, elm1, elm2) |
#define | v_g_slist_steal(gslcur) (gslcur)->data = NULL |
#define v_g_list_foreach | ( | glhead, | |
glcur, | |||
elm | |||
) |
This function iterates through the current list. It does not guard against list modifications!
Definition at line 34 of file glib_wrapper.h.
#define v_g_list_foreach_remove | ( | glhead, | |
glcur, | |||
glnext | |||
) |
Definition at line 55 of file glib_wrapper.h.
#define v_g_list_foreach_safe | ( | glhead, | |
glcur, | |||
glnext, | |||
elm | |||
) |
This function is safe and guards against list modifications, as long as anything you call inside it only deletes the current item. Just make sure if you call any of those functions that might delete the item, you don't use it again!
Definition at line 46 of file glib_wrapper.h.
#define v_g_slist_foreach | ( | gslhead, | |
gslcur, | |||
elm | |||
) |
Definition at line 60 of file glib_wrapper.h.
#define v_g_slist_foreach_dual | ( | gslhead1, | |
gslhead2, | |||
gslcur1, | |||
gslcur2, | |||
elm1, | |||
elm2 | |||
) |
Definition at line 66 of file glib_wrapper.h.
#define v_g_slist_steal | ( | gslcur | ) | (gslcur)->data = NULL |
Definition at line 74 of file glib_wrapper.h.
#define VGINTKEY gpointer)(uintptr_t |
Definition at line 28 of file glib_wrapper.h.