#include <g_types.h>
Go to the source code of this file.
#define G_ALLOC_AND_FREE 2 |
#define g_chunk_free | ( | mem, | |||
mem_chunk | ) |
Value:
G_STMT_START { \ g_mem_chunk_free ((mem_chunk), (mem)); \ } G_STMT_END
Value:
( \ (type *) g_mem_chunk_alloc (chunk) \ )
Definition at line 67 of file gmem.h.
Referenced by gdk_color_copy(), and gdk_event_new().
#define g_mem_chunk_create | ( | type, | |||
pre_alloc, | |||||
alloc_type | ) |
Value:
( \ g_mem_chunk_new (#type " mem chunks (" #pre_alloc ")", \ sizeof (type), \ sizeof (type) * (pre_alloc), \ (alloc_type)) \ )
Definition at line 53 of file gmem.h.
Referenced by _gdk_pixmap_create_from_xpm(), _gdk_win32_gc_new(), _gdk_window_alloc(), create_colormap(), gdk_add_client_message_filter(), gdk_arg_context_new(), gdk_color_context_get_pixel(), gdk_color_context_init_dither(), gdk_color_context_new(), gdk_color_context_new_mono(), gdk_colormap_alloc_colors_private(), gdk_colormap_alloc_colors_shared(), gdk_colormap_alloc_colors_writeable(), gdk_colormap_change(), gdk_colormap_free_colors(), gdk_colormap_get_system(), gdk_colormap_new(), gdk_colormap_sync(), gdk_colors_free(), gdk_cursor_new(), gdk_cursor_new_from_pixmap(), gdk_drawable_alloc(), gdk_error_trap_push(), gdk_font_list_new(), gdk_font_load(), gdk_font_load_internal(), gdk_fontset_load(), gdk_gc_alloc(), gdk_image_get(), gdk_image_new_bitmap(), gdk_image_new_with_depth(), gdk_input_add_full(), gdk_input_init(), gdk_input_set_extension_events(), gdk_key_grab(), gdk_keyval_from_name(), gdk_pixmap_extract_color(), gdk_pixmap_read_string(), gdk_region_new(), gdk_region_polygon(), gdk_rgb_cmap_new(), gdk_rgb_colorcube_222(), gdk_rgb_make_colorcube(), gdk_rgb_make_colorcube_d(), gdk_rgb_preprocess_dm_565(), gdk_rgb_set_gray_cmap(), gdk_sel_prop_store(), gdk_syscursor_new(), gdk_text_extents(), gdk_text_extents_wc(), gdk_text_size(), gdk_text_width_wc(), gdk_visual_init(), gdk_win32_draw_lines(), gdk_win32_draw_polygon(), gdk_win32_draw_text(), gdk_win32_draw_text_wc(), gdk_win32_pixmap_alloc(), gdk_win32_window_alloc(), gdk_window_add_filter(), gdk_window_new(), gdk_window_set_title(), init_color(), init_gray(), query_colors(), and QueryTree().
Definition at line 55 of file gmem.h.
Referenced by gdk_color_context_add_palette(), gdk_colormap_get_system(), gdk_colormap_new(), gdk_drag_context_new(), gdk_rgb_init(), source_context_new(), and target_context_new().
typedef typedefG_BEGIN_DECLS struct _GAllocator GAllocator |
void g_allocator_free | ( | GAllocator * | allocato | ) |
GAllocator* g_allocator_new | ( | const gchar * | name, | |
guint | n_preallocs | |||
) |
void g_blow_chunks | ( | void | ) |
void g_free | ( | gpointer | mem | ) |
Referenced by _gdk_colormap_real_destroy(), _gdk_cursor_destroy(), _gdk_font_destroy(), _gdk_pixmap_create_from_xpm(), free_colormap(), free_hash_entry(), gdk_arg_context_destroy(), gdk_bitmap_create_from_data(), gdk_color_context_free(), gdk_color_context_free_dither(), gdk_colormap_alloc_colors_private(), gdk_colormap_alloc_colors_writeable(), gdk_colormap_change(), gdk_colormap_sync(), gdk_cursor_new_from_pixmap(), gdk_drag_context_unref(), gdk_drawable_unref(), gdk_event_free(), gdk_font_full_name_free(), gdk_font_full_name_get(), gdk_font_hash_remove(), gdk_font_list_new(), gdk_font_load_internal(), gdk_fontset_load(), gdk_gc_copy(), gdk_image_get(), gdk_image_new_with_depth(), gdk_init_check(), gdk_input_exit(), gdk_input_set_extension_events(), gdk_input_window_destroy(), gdk_io_destroy(), gdk_key_ungrab(), gdk_pixmap_colormap_create_from_xpm(), gdk_pixmap_new(), gdk_propagate_shapes(), gdk_property_change(), gdk_property_delete(), gdk_region_destroy(), gdk_region_polygon(), gdk_rgb_cmap_free(), gdk_sel_prop_store(), gdk_selection_convert(), gdk_selection_owner_get(), gdk_selection_owner_set(), gdk_selection_property_delete(), gdk_selection_send_notify(), gdk_text_extents(), gdk_text_extents_wc(), gdk_text_size(), gdk_text_width_wc(), gdk_win32_api_failed(), gdk_win32_draw_lines(), gdk_win32_draw_text(), gdk_win32_draw_text_wc(), gdk_win32_gc_destroy(), gdk_win32_image_destroy(), gdk_win32_pixmap_destroy(), gdk_win32_window_destroy(), gdk_window_internal_destroy(), gdk_window_new(), gdk_window_remove_filter(), gdk_window_set_title(), gdk_xpm_destroy_notify(), TGWin32::GetPasteBuffer(), init_gray(), init_palette(), InnerEnumFontFamExProc(), logfont_to_xlfd(), print_event(), and RegisterGdkClass().
Referenced by gdk_cursor_new_from_pixmap().
void g_mem_check | ( | gpointer | mem | ) |
void g_mem_chunk_clean | ( | GMemChunk * | mem_chunk | ) |
void g_mem_chunk_destroy | ( | GMemChunk * | mem_chunk | ) |
Referenced by gdk_color_free(), and gdk_event_free().
void g_mem_chunk_info | ( | void | ) |
Referenced by gdk_color_copy(), and gdk_event_new().
void g_mem_chunk_print | ( | GMemChunk * | mem_chunk | ) |
void g_mem_chunk_reset | ( | GMemChunk * | mem_chunk | ) |
void g_mem_profile | ( | void | ) |