Gerd Moellmann
5c20a7bf67
(union Lisp_Object) [!NO_UNION_TYPE]: Use EMACS_INT and
...
EMACS_UINT instead of `int' and `unsigned int'.
(XSET) [EXPLICIT_SIGN_EXTEND]: Use EMACS_INT instead of `int'.
2000-09-26 12:35:33 +00:00
Gerd Moellmann
fca9911637
(wrong_type_argument, Fthrow, Fsignal, error): Declare
...
NO_RETURN.
2000-09-21 21:50:10 +00:00
Gerd Moellmann
016c7a15e7
(Qdisplay): Declare extern.
2000-09-07 11:36:52 +00:00
Stefan Monnier
1b6be00882
(store_in_keymap, fix_submap_inheritance): Remove.
2000-08-27 15:50:49 +00:00
Andrew Innes
473ddaa924
[WINDOWSNT]: Don't declare externs for getenv, ctime and getwd.
2000-08-22 22:26:04 +00:00
Gerd Moellmann
9a4f9d3026
(set_time_zone_rule): Add prototype.
...
(use_dialog_box): External declaration.
2000-08-21 19:47:02 +00:00
Gerd Moellmann
7eb9e30d9d
(CHECK) [ENABLE_CHECKING]: Make both side of the
...
conditional have void type, for standard C compilers.
2000-08-18 05:18:44 +00:00
Miles Bader
4618074a71
(Lisp_String): Replace DECLARE_INTERVALS with real decl.
2000-08-18 03:07:07 +00:00
Dave Love
03c9ed7793
Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't
...
declare make_temp_name twice.
2000-08-17 14:17:37 +00:00
Gerd Moellmann
8e7bd23112
(input_pending): External declaration.
2000-08-09 18:44:35 +00:00
Gerd Moellmann
f66aa8f2c1
(Fsingle_key_description, xmalloc, xrealloc): Change
...
prototype.
2000-08-02 20:15:09 +00:00
Kenichi Handa
a4ef2ce86a
(char_table_ref_and_index): Add prototype.
2000-07-27 06:03:21 +00:00
Gerd Moellmann
7363a90346
(GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits
...
for the character code, and the rest for the face id.
(FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly.
2000-07-25 12:06:09 +00:00
Miles Bader
8d0941fa0d
(Fconstrain_to_field): Update external declaration.
2000-07-24 23:47:09 +00:00
Gerd Moellmann
5433ffa54f
(Fnext_single_char_property_change): Add prototype.
2000-07-19 15:47:31 +00:00
Gerd Moellmann
276680c4a7
(FUNCTIONP): New macro.
...
(internal_condition_case_2, call_function): Add prototypes.
2000-07-14 13:57:22 +00:00
Gerd Moellmann
954f97acf6
(eval_form): Add prototype.
2000-07-13 23:44:57 +00:00
Gerd Moellmann
c9f6631ca3
(AREF, ASET, ASIZE): New macros.
2000-07-13 14:06:39 +00:00
Gerd Moellmann
21c5a64eb1
(handling_signal): External declaration.
2000-07-05 19:57:41 +00:00
Gerd Moellmann
fab88cb702
(Vsignaling_function): External declaration.
2000-07-05 17:23:15 +00:00
Gerd Moellmann
1a7ad14fd0
(next_almost_prime): Add prototype.
2000-06-28 20:28:02 +00:00
Gerd Moellmann
1425dcb619
(QCfilter): External declaration.
2000-06-26 15:03:42 +00:00
Dave Love
cd1b7ac94c
(swap_in_global_binding): Declare.
2000-06-25 15:57:54 +00:00
Dave Love
074b6efe95
Add xfree missed from last change.
2000-06-20 13:30:26 +00:00
Dave Love
83925baabc
(x_set_tool_bar_lines, free_frame_xic, compose_text, getenv, ctime)
...
(getwd): Removed.
(xmalloc, xrealloc, xfree): Declare using POINTER_TYPE.
2000-06-20 13:08:48 +00:00
Gerd Moellmann
25e381684c
(Qmessage_truncate_lines): External declaration.
2000-06-13 23:51:16 +00:00
Dave Love
9d936abcd0
(DEFUN, EXFUN): Test PROTOTYPES.
...
(Foptimize_char_table, make_temp_name): Declare.
2000-06-05 14:41:27 +00:00
Gerd Moellmann
3694b4abbb
(eassert) [!ENABLE_CHECKING]: Define as `(void) 0'.
2000-05-31 19:19:50 +00:00
Dave Love
f1178103e7
(get_local_map: Don't declare here.
2000-05-29 11:33:35 +00:00
Gerd Moellmann
d47f18ca76
(struct Lisp_Buffer_Cons): Remove.
2000-04-21 13:00:58 +00:00
Ken Raeburn
74e49b38a8
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
...
Provide a GNU C macro version that handles lisp-object unions.
(XSET) [!NO_UNION_TYPE]: Set the value field first, then the type field, to
better cope with ENABLE_CHECKING and calls that modify a Lisp_Object using its
old value.
2000-04-05 18:47:29 +00:00
Gerd Moellmann
acb3b16fad
(larger_vector): Add prototype.
2000-04-03 12:12:35 +00:00
Ken Raeburn
c6129d7e86
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
2000-03-30 22:27:55 +00:00
Ken Raeburn
8801a864d2
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
...
Verify correct object type before returning pointer, using eassert.
* frame.h (XFRAME): Likewise.
* buffer.c (Frename_buffer, Fset_buffer_multibyte,
swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
etc, to values that may be nil or of the wrong type.
* data.c (set_internal): Likewise.
* dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
* fileio.c (auto_save_1): Likewise.
* insdel.c (check_markers): Likewise.
* marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
* undo.c (record_insert): Likewise.
* vmsproc.c (child_sig): Likewise.
* window.c (unshow_buffer, window_loop): Likewise.
* xterm.c (x_erase_phys_cursor): Likewise.
2000-03-30 09:56:31 +00:00
Gerd Moellmann
8e7af858e1
(xstrdup): Add prototype.
2000-03-30 09:36:27 +00:00
Ken Raeburn
e0b8c689e2
Stop assuming interval pointers and lisp objects can be distinguished by
...
inspection. Beginnings of support for expensive internal consistency checks.
* config.in (ENABLE_CHECKING): Undef.
* lisp.h (struct interval): Replace "parent" field with a union of interval
pointer and Lisp_Object; add new bitfield to use as discriminant. Change other
flag fields to bitfields.
(CHECK): New macro for consistency checking. If ENABLE_CHECKING is defined and
the supplied test fails, print a message and abort.
(eassert): New macro. Use CHECK to provide an assert-like facility.
* intervals.h (NULL_INTERVAL_P): Now applies only to real interval pointers;
abort if the value looks like a lisp object.
(NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, SET_OBJECT,
INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): Modify for new interval
parent definition.
* alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, UNMARK_BALANCE_INTERVALS):
Update references that need an addressable lisp object in the interval
structure.
(die): New function.
(suppress_checking): New variable.
* intervals.c (interval_start_pos): Just return 0 if there's no parent object.
2000-03-29 22:14:34 +00:00
Gerd Moellmann
1c7df982a8
(free_frame_xic) [HAVE_X_I18N]: Add missing semicolon.
2000-03-14 21:15:03 +00:00
Dave Love
9043c90a5e
(P_): Define based on PROTOTYPES, not __STDC__.
...
(memory_warnings): Declare using POINTER_TYPE.
2000-03-08 18:46:21 +00:00
Dave Love
4516715ac9
Add a bunch of prototypes.
2000-02-27 20:41:17 +00:00
Gerd Moellmann
0d67cd9e63
(Fx_hide_busy_cursor): Remove prototype.
2000-02-25 13:28:41 +00:00
Richard M. Stallman
65d0110b85
Comment changes.
2000-02-20 14:30:15 +00:00
Gerd Moellmann
1216f5e413
(GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
...
(GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
[GC_MARK_STACK]: New defines.
(GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO)
[GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops.
2000-02-17 15:23:58 +00:00
Gerd Moellmann
cc94f3b24e
Remove LISP_FLOAT_TYPE' and standalone'.
2000-02-17 09:45:46 +00:00
Gerd Moellmann
acb137e591
(popup_activated_flag): Add extern declaration.
2000-01-25 15:54:07 +00:00
Richard M. Stallman
5fd6e27432
(set_internal): Enter the new arg.
2000-01-11 22:16:55 +00:00
Gerd Moellmann
f05d7ea229
Add prototype for allocate_string_data.
...
(struct Lisp_String): Make DATA member `unsigned char *'.
2000-01-04 12:21:48 +00:00
Gerd Moellmann
8ca534c482
Add extern declaration for Vinhibit_field_text_motion.
2000-01-01 17:06:26 +00:00
Kenichi Handa
3b0fee460e
(GLYPH): Defined as int', not unsigned int'. Now the
...
lowest 8 bits are single byte character code, the bits above are
face ID.
(GLYPH_MASK_FACE) (GLYPH_MASK_CHAR): Adjusted for the change
above.
(FAST_MAKE_GLYPH) (FSST_GLYPH_FACE): Likewise.
(GLYPH_MASK_REV_DIR) (GLYPH_MASK_PADDING): Macros deleted.
1999-12-27 05:03:46 +00:00
Kenichi Handa
1948175262
(QCtest, QCweakness, Qequal): Extern them.
...
(hash_put): Adjusted for the change of the definition.
(signal_after_change): Likewise.
(check_point_in_composition): Extern it.
1999-12-15 00:16:30 +00:00
Stefan Monnier
7dae4502b6
* editfns.c (Fdelete_and_extract_region): New function.
...
(syms_of_editfns): register it.
* insdel.c (del_range): update del_range_1 call.
(del_range_1, del_range_2): Add a ret_string argument to
request that the deleted text be returned.
(del_range_byte, del_range_both): Update del_range_2 call.
* lisp.h (del_range_1, del_range_2): change prototype
* casefiddle.c (casify_region): Update del_range_1 call.
* coding.c (code_convert_region): Update del_range_2 call.
* fileio.c (Finsert_file_contents): Update del_range_2 call.
1999-12-07 04:42:40 +00:00