Mercurial > hg > xemacs-beta
view src/toolbar-common.h @ 4871:d8d92ad084b8
rewrite check for bad memory in debug_can_save_memory
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-15 Ben Wing <ben@xemacs.org>
* emacs.c:
* emacs.c (debug_can_access_memory):
When checking for bad memory, we need to read all bytes from memory;
try even harder to avoid the possibility that a super-optimizing
compiler will optimize away the memory reads.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 15 Jan 2010 04:47:00 -0600 |
parents | c15f25529e61 |
children |
line wrap: on
line source
/* toolbar-common.h ** ** Description: ** ** Created by: William M. Perry ** Copyright (c) 2001 Free Software Foundation ** */ #ifndef __TOOLBAR_COMMON_H__ #define __TOOLBAR_COMMON_H__ extern void common_output_frame_toolbars (struct frame *f); extern void common_redraw_exposed_toolbars (struct frame *f, int x, int y, int width, int height); extern void common_redraw_frame_toolbars (struct frame *f); extern void common_output_toolbar_button (struct frame *f, Lisp_Object button); extern void common_clear_frame_toolbars (struct frame *f); #endif /* __TOOLBAR_COMMON_H__ */