view src/toolbar-common.h @ 4949:018e13fdeaeb

compile-related functions added, for use in Unicode-internal ws -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2010-01-17 Ben Wing <ben@xemacs.org> * bytecomp-runtime.el: * bytecomp-runtime.el (error-unless-tests-match): New. * bytecomp-runtime.el (byte-compile-file-being-compiled): New. * bytecomp-runtime.el (compiled-if): New. * bytecomp-runtime.el (compiled-when): New. Add functions for dealing with conditional compilation of different code depending on the presence or absence of features. Necessary for some Mule code where code is run during compilation (macros or eval-when-compile) but, depending on how the code is written, the code itself will crash either with or without Unicode-internal. compiled-if and compiled-when are the basic functions for conditional compilation. They automatically trigger an error message upon file loading if, at that time, the test expression that selected which code to compile does not have the same value as at compile time.
author Ben Wing <ben@xemacs.org>
date Sun, 17 Jan 2010 04:52:48 -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__ */