#ifndef LWLIB_WIDGET_H
#define LWLIB_WIDGET_H
+#include "../src/lisp.h"
+
typedef enum
{
NO_CHANGE = 0,
/* Whether we should free the toolkit data slot when freeing the
widget_value itself. */
bool free_toolkit_data;
-#endif
+#endif
} widget_value;
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_BUFFER_H
+#define EMACS_BUFFER_H
+
#include <sys/types.h>
#include <time.h>
+#include "character.h"
+#include "lisp.h"
+
INLINE_HEADER_BEGIN
/* Accessing the parameters of the current buffer. */
INLINE int upcase (int c) { return uppercasep (c) ? c : upcase1 (c); }
INLINE_HEADER_END
+
+#endif /* EMACS_BUFFER_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_CATEGORY_H
+#define EMACS_CATEGORY_H
/* We introduce here three types of object: category, category set,
and category table.
The second extra slot is a version number of the category table.
But, for the moment, we are not using this slot. */
+#include "lisp.h"
+
INLINE_HEADER_BEGIN
#define CATEGORYP(x) RANGED_INTEGERP (0x20, x, 0x7E)
extern bool word_boundary_p (int, int);
INLINE_HEADER_END
+
+#endif /* EMACS_CATEGORY_H */
#define EMACS_CHARACTER_H
#include <verify.h>
+#include "lisp.h"
INLINE_HEADER_BEGIN
#define EMACS_CHARSET_H
#include <verify.h>
+#include "lisp.h"
INLINE_HEADER_BEGIN
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_CM_H
+#define EMACS_CM_H
+
/* Holds the minimum and maximum costs for the parameterized capabilities. */
struct parmcap
{
extern void cmgoto (struct tty_display_info *, int, int);
extern void Wcm_clear (struct tty_display_info *);
extern int Wcm_init (struct tty_display_info *);
+
+#endif /* EMACS_CM_H */
#ifndef EMACS_CODING_H
#define EMACS_CODING_H
+#include "lisp.h"
+
/* Index to arguments of Fdefine_coding_system_internal. */
enum define_coding_system_arg_index
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_COMMANDS_H
+#define EMACS_COMMANDS_H
+
+#include "lisp.h"
#define Ctl(c) ((c)&037)
/* Nonzero if input is coming from the keyboard. */
#define INTERACTIVE (NILP (Vexecuting_kbd_macro) && !noninteractive)
+
+#endif /* EMACS_COMMANDS_H */
/* Access the slots of a display-table, according to their purpose. */
+#ifndef EMACS_DISPTAB_H
+#define EMACS_DISPTAB_H
+
+#include "lisp.h"
+
#define DISP_TABLE_P(obj) \
(CHAR_TABLE_P (obj) \
&& EQ (XCHAR_TABLE (obj)->purpose, Qdisplay_table) \
#define SET_GLYPH_FROM_CHAR(glyph, c) \
SET_GLYPH (glyph, c, DEFAULT_FACE_ID)
+
+#endif /* EMACS_DISPTAB_H */
#include <gtk/gtk.h>
+struct frame;
+
G_BEGIN_DECLS
extern GtkWidget *emacs_fixed_new (struct frame *f);
#ifndef EMACS_FONTSET_H
#define EMACS_FONTSET_H
+#include "lisp.h"
+
+struct face;
+
extern void free_face_fontset (struct frame *, struct face *);
extern int face_for_char (struct frame *, struct face *, int,
ptrdiff_t, Lisp_Object);
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
+#include "lisp.h"
+
/* This limits the attempts to handshake per process (connection). */
#define GNUTLS_EMACS_HANDSHAKES_LIMIT 100
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_INDENT_H
+#define EMACS_INDENT_H
+
+#include "lisp.h"
+
struct position
{
ptrdiff_t bufpos;
/* Recompute BUF's width table, using the display table DISPTAB. */
void recompute_width_table (struct buffer *buf,
struct Lisp_Char_Table *disptab);
+
+#endif /* EMACS_INDENT_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_INTERVALS_H
+#define EMACS_INTERVALS_H
+
#include "dispextern.h"
INLINE_HEADER_BEGIN
#include "composite.h"
INLINE_HEADER_END
+
+#endif /* EMACS_INTERVALS_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_KEYBOARD_H
+#define EMACS_KEYBOARD_H
+
#include "systime.h" /* for struct timespec, Time */
#include "coding.h" /* for ENCODE_UTF_8 and ENCODE_SYSTEM */
#include "termhooks.h"
#endif
INLINE_HEADER_END
+
+#endif /* EMACS_KEYBOARD_H */
#ifndef KEYMAP_H
#define KEYMAP_H
+#include "lisp.h"
+
/* The maximum byte size consumed by push_key_description.
All callers should assure that at least this size of memory is
allocated at the place pointed by the second argument.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_MACROS_H
+#define EMACS_MACROS_H
+
+#include "lisp.h"
/* Number of successful iterations so far
for innermost keyboard macro.
/* Store a character into kbd macro being defined */
extern void store_kbd_macro_char (Lisp_Object);
+
+#endif /* EMACS_MACROS_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_PROCESS_H
+#define EMACS_PROCESS_H
+
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern Lisp_Object remove_slash_colon (Lisp_Object);
INLINE_HEADER_END
+
+#endif /* EMACS_PROCESS_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_PURESIZE_H
+#define EMACS_PURESIZE_H
+
+#include "lisp.h"
+
INLINE_HEADER_BEGIN
/* Define PURESIZE, the number of bytes of pure Lisp code to leave space for.
}
INLINE_HEADER_END
+
+#endif /* EMACS_PURESIZE_H */
extern reg_syntax_t re_syntax_options;
#ifdef emacs
+# include "lisp.h"
/* In Emacs, this is the string or buffer in which we
are matching. It is used for looking up syntax properties. */
extern Lisp_Object re_match_object;
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_REGION_CACHE_H
+#define EMACS_REGION_CACHE_H
/* This code was written by Jim Blandy <jimb@cs.oberlin.edu> to help
GNU Emacs better support the gene editor written for the University
this region has property P" vs. "I don't know if this region has
property P or not." */
+struct buffer;
/* Allocate, initialize and return a new, empty region cache. */
struct region_cache *new_region_cache (void);
/* Likewise, except before POS rather than after POS. */
extern int region_cache_backward (struct buffer *buf, struct region_cache *c,
ptrdiff_t pos, ptrdiff_t *next);
+
+#endif /* EMACS_REGION_CACHE_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_SYNTAX_H
+#define EMACS_SYNTAX_H
+
+#include "buffer.h"
+#include "lisp.h"
+
INLINE_HEADER_BEGIN
extern void update_syntax_table (ptrdiff_t, EMACS_INT, bool, Lisp_Object);
extern void SETUP_SYNTAX_TABLE_FOR_OBJECT (Lisp_Object, ptrdiff_t, ptrdiff_t);
INLINE_HEADER_END
+
+#endif /* EMACS_SYNTAX_H */
#include <sys/select.h>
#endif
+#include "lisp.h"
+
/* The w32 build defines select stuff in w32.h, which is included
where w32 needs it, but not where sysselect.h is included. The w32
definitions in w32.h are incompatible with the below. */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_SYSSIGNAL_H
+#define EMACS_SYSSIGNAL_H
+
#include <signal.h>
extern void init_signals (bool);
#endif
void deliver_process_signal (int, signal_handler_t);
+
+#endif /* EMACS_SYSSIGNAL_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_SYSSTDIO_H
+#define EMACS_SYSSTDIO_H
+
#include <fcntl.h>
#include <stdio.h>
# define FOPEN_BINARY ""
# define FOPEN_TEXT ""
#endif
+
+#endif /* EMACS_SYSSTDIO_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_SYSTTY_H
+#define EMACS_SYSTTY_H
+
/* Include the proper files. */
#ifndef DOS_NT
#include <unistd.h>
+#include "lisp.h"
+
\f
/* Try to establish the correct character to disable terminal functions
in a system-independent manner. Note that USG (at least) define
extern void suppress_echo_on_tty (int);
extern int serial_open (Lisp_Object);
extern void serial_configure (struct Lisp_Process *, Lisp_Object);
+
+#endif /* EMACS_SYSTTY_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_TERMCHAR_H
+#define EMACS_TERMCHAR_H
+
+#include <stdio.h>
#include "dispextern.h"
/* Each termcap frame points to its own struct tty_output object in
: (emacs_abort (), (struct tty_display_info *) 0))
#define CURTTY() FRAME_TTY (SELECTED_FRAME())
+
+#endif /* EMACS_TERMCHAR_H */
/* Miscellanea. */
+#include "lisp.h"
#include "systime.h" /* for Time */
+struct glyph;
+
INLINE_HEADER_BEGIN
enum scroll_bar_part {
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_TERMOPTS_H
+#define EMACS_TERMOPTS_H
/* Nonzero means use interrupt-driven input. */
extern bool interrupt_input;
/* Nonzero while interrupts are temporarily deferred during redisplay. */
extern bool interrupts_deferred;
+
+#endif /* EMACS_TERMOPTS_H */
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef EMACS_TPARAM_H
+#define EMACS_TPARAM_H
/* Don't try to include termcap.h. On some systems, configure finds a
non-standard termcap.h that the main build won't find. */
extern char PC;
extern char *BC;
extern char *UP;
+
+#endif /* EMACS_TPARAM_H */
+#ifndef EMACS_UNEXEC_H
+#define EMACS_UNEXEC_H
void unexec (const char *, const char *);
+#endif /* EMACS_UNEXEC_H */
#ifndef _EmacsFrame_h
#define _EmacsFrame_h
+#include <X11/IntrinsicP.h>
+
#define XtNminibuffer "minibuffer"
#define XtCMinibuffer "Minibuffer"
#define XtNunsplittable "unsplittable"
#ifndef XSETTINGS_H
#define XSETTINGS_H
+#include <X11/Xlib.h>
+
+struct x_display_info;
+
extern void xsettings_initialize (struct x_display_info *);
extern void xft_settings_event (struct x_display_info *, const XEvent *);
extern const char *xsettings_get_system_font (void);