comparison src/xgccache.h @ 5118:e0db3c197671 ben-lisp-object

merge up to latest default branch, doesn't compile yet
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:18:49 -0600
parents ad2f4ae9895b
children b3ce27ca7647
comparison
equal deleted inserted replaced
5117:3742ea8250b5 5118:e0db3c197671
29 struct gc_cache; 29 struct gc_cache;
30 struct gc_cache *make_gc_cache (Display *, Window); 30 struct gc_cache *make_gc_cache (Display *, Window);
31 void free_gc_cache (struct gc_cache *cache); 31 void free_gc_cache (struct gc_cache *cache);
32 GC gc_cache_lookup (struct gc_cache *, XGCValues *, unsigned long mask); 32 GC gc_cache_lookup (struct gc_cache *, XGCValues *, unsigned long mask);
33 33
34 #define XE_GCONTEXT(cell) (XGContextFromGC(cell->gc))
35
36 #ifdef DEBUG_XEMACS
37
38 void describe_gc_cache (struct gc_cache *cache, int flags);
39
40 #define DGCCFLAG_DISABLE 0
41 #define DGCCFLAG_SUMMARY 1 << 0
42 #define DGCCFLAG_LIST_CELLS 1 << 1
43 #define DGCCFLAG_CELL_DETAILS 1 << 2
44 /* A combination of the flags above. */
45 #define DGCCFLAG_DEFAULT DGCCFLAG_SUMMARY | DGCCFLAG_LIST_CELLS
46 #endif
47
34 #endif /* INCLUDED_xgccache_h_ */ 48 #endif /* INCLUDED_xgccache_h_ */