comparison src/lisp.h @ 578:190b164ddcac

[xemacs-hg @ 2001-05-25 11:26:50 by ben] device-msw.c, eldap.c, emodules.c, hpplay.c, process-unix.c, sound.h, tooltalk.c, win32.c: Revert Martin's attempted compile-warnings fix. It does fix the warnings, but not the right way. We are trying to eliminate the raw use of `char' and `unsigned char' absolutely everywhere. There is never an occasion to reintroduce these. buffer.h: Instead, we fix these macros so they don't care about the type of their lvalues. We already do this for the non-C-string equivalents of these, and it's correct because it should be OK to pass in an SBufbyte *, for example. In any case, we do not need any type-correctness checking here -- errors will be caught for sure as soon as we remove the -Wno-sign-compare switch. mule-charset.c: Use invalid_argument, not generic signal_error (Qerror, ). alloc.c, chartab.c, console-gtk.c, console-msw.c, console-stream.c, console-stream.h, console-tty.c, console-tty.h, console-x.c, console.c, console.h, device-x.c, device.c, elhash.c, eval.c, faces.c, faces.h, fns.c, glyphs.c, glyphs.h, gui.c, gui.h, lisp.h, lread.c, nt.c, objects-gtk.c, objects-gtk.h, objects-msw.c, objects-tty.c, objects-x.c, objects.c, process-unix.c, rangetab.c, search.c, specifier.c, toolbar.c, window.c, window.h: Rename Error_behavior to Error_Behavior, to be consistent with general naming practices (Lisp_Object, Char_Binary, etc.).
author ben
date Fri, 25 May 2001 11:27:01 +0000
parents 910449c92002
children 5fd7ba8b56e7
comparison
equal deleted inserted replaced
577:910449c92002 578:190b164ddcac
518 typedef enum error_behavior 518 typedef enum error_behavior
519 { 519 {
520 ERROR_ME, 520 ERROR_ME,
521 ERROR_ME_NOT, 521 ERROR_ME_NOT,
522 ERROR_ME_WARN 522 ERROR_ME_WARN
523 } Error_behavior; 523 } Error_Behavior;
524 524
525 #define ERRB_EQ(a, b) ((a) == (b)) 525 #define ERRB_EQ(a, b) ((a) == (b))
526 526
527 #else 527 #else
528 528
530 for code that lazily uses ints. */ 530 for code that lazily uses ints. */
531 531
532 typedef struct _error_behavior_struct_ 532 typedef struct _error_behavior_struct_
533 { 533 {
534 int really_unlikely_name_to_have_accidentally_in_a_non_errb_structure; 534 int really_unlikely_name_to_have_accidentally_in_a_non_errb_structure;
535 } Error_behavior; 535 } Error_Behavior;
536 536
537 extern Error_behavior ERROR_ME; 537 extern Error_Behavior ERROR_ME;
538 extern Error_behavior ERROR_ME_NOT; 538 extern Error_Behavior ERROR_ME_NOT;
539 extern Error_behavior ERROR_ME_WARN; 539 extern Error_Behavior ERROR_ME_WARN;
540 540
541 #define ERRB_EQ(a, b) \ 541 #define ERRB_EQ(a, b) \
542 ((a).really_unlikely_name_to_have_accidentally_in_a_non_errb_structure == \ 542 ((a).really_unlikely_name_to_have_accidentally_in_a_non_errb_structure == \
543 (b).really_unlikely_name_to_have_accidentally_in_a_non_errb_structure) 543 (b).really_unlikely_name_to_have_accidentally_in_a_non_errb_structure)
544 544
1588 typedef struct structure_keyword_entry structure_keyword_entry; 1588 typedef struct structure_keyword_entry structure_keyword_entry;
1589 struct structure_keyword_entry 1589 struct structure_keyword_entry
1590 { 1590 {
1591 Lisp_Object keyword; 1591 Lisp_Object keyword;
1592 int (*validate) (Lisp_Object keyword, Lisp_Object value, 1592 int (*validate) (Lisp_Object keyword, Lisp_Object value,
1593 Error_behavior errb); 1593 Error_Behavior errb);
1594 }; 1594 };
1595 1595
1596 typedef struct 1596 typedef struct
1597 { 1597 {
1598 Dynarr_declare (structure_keyword_entry); 1598 Dynarr_declare (structure_keyword_entry);
1601 typedef struct structure_type structure_type; 1601 typedef struct structure_type structure_type;
1602 struct structure_type 1602 struct structure_type
1603 { 1603 {
1604 Lisp_Object type; 1604 Lisp_Object type;
1605 structure_keyword_entry_dynarr *keywords; 1605 structure_keyword_entry_dynarr *keywords;
1606 int (*validate) (Lisp_Object data, Error_behavior errb); 1606 int (*validate) (Lisp_Object data, Error_Behavior errb);
1607 Lisp_Object (*instantiate) (Lisp_Object data); 1607 Lisp_Object (*instantiate) (Lisp_Object data);
1608 }; 1608 };
1609 1609
1610 typedef struct 1610 typedef struct
1611 { 1611 {
1613 } structure_type_dynarr; 1613 } structure_type_dynarr;
1614 1614
1615 struct structure_type *define_structure_type (Lisp_Object type, 1615 struct structure_type *define_structure_type (Lisp_Object type,
1616 int (*validate) 1616 int (*validate)
1617 (Lisp_Object data, 1617 (Lisp_Object data,
1618 Error_behavior errb), 1618 Error_Behavior errb),
1619 Lisp_Object (*instantiate) 1619 Lisp_Object (*instantiate)
1620 (Lisp_Object data)); 1620 (Lisp_Object data));
1621 void define_structure_type_keyword (struct structure_type *st, 1621 void define_structure_type_keyword (struct structure_type *st,
1622 Lisp_Object keyword, 1622 Lisp_Object keyword,
1623 int (*validate) (Lisp_Object keyword, 1623 int (*validate) (Lisp_Object keyword,
1624 Lisp_Object value, 1624 Lisp_Object value,
1625 Error_behavior errb)); 1625 Error_Behavior errb));
1626 1626
1627 /*---------------------------- weak lists ------------------------------*/ 1627 /*---------------------------- weak lists ------------------------------*/
1628 1628
1629 enum weak_list_type 1629 enum weak_list_type
1630 { 1630 {
2458 extern int suppress_early_error_handler_backtrace; 2458 extern int suppress_early_error_handler_backtrace;
2459 2459
2460 /* Defined in eval.c */ 2460 /* Defined in eval.c */
2461 DECLARE_DOESNT_RETURN (signal_error_1 (Lisp_Object, Lisp_Object)); 2461 DECLARE_DOESNT_RETURN (signal_error_1 (Lisp_Object, Lisp_Object));
2462 void maybe_signal_error_1 (Lisp_Object, Lisp_Object, Lisp_Object, 2462 void maybe_signal_error_1 (Lisp_Object, Lisp_Object, Lisp_Object,
2463 Error_behavior); 2463 Error_Behavior);
2464 Lisp_Object maybe_signal_continuable_error_1 (Lisp_Object, Lisp_Object, 2464 Lisp_Object maybe_signal_continuable_error_1 (Lisp_Object, Lisp_Object,
2465 Lisp_Object, Error_behavior); 2465 Lisp_Object, Error_Behavior);
2466 DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS (signal_ferror (Lisp_Object, 2466 DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS (signal_ferror (Lisp_Object,
2467 const char *, 2467 const char *,
2468 ...), 2, 3); 2468 ...), 2, 3);
2469 void maybe_signal_ferror (Lisp_Object, Lisp_Object, Error_behavior, 2469 void maybe_signal_ferror (Lisp_Object, Lisp_Object, Error_Behavior,
2470 const char *, ...) PRINTF_ARGS (4, 5); 2470 const char *, ...) PRINTF_ARGS (4, 5);
2471 Lisp_Object signal_continuable_ferror (Lisp_Object, const char *, ...) 2471 Lisp_Object signal_continuable_ferror (Lisp_Object, const char *, ...)
2472 PRINTF_ARGS (2, 3); 2472 PRINTF_ARGS (2, 3);
2473 Lisp_Object maybe_signal_continuable_ferror (Lisp_Object, Lisp_Object, 2473 Lisp_Object maybe_signal_continuable_ferror (Lisp_Object, Lisp_Object,
2474 Error_behavior, 2474 Error_Behavior,
2475 const char *, ...) 2475 const char *, ...)
2476 PRINTF_ARGS (4, 5); 2476 PRINTF_ARGS (4, 5);
2477 2477
2478 Lisp_Object build_error_data (const char *reason, Lisp_Object frob); 2478 Lisp_Object build_error_data (const char *reason, Lisp_Object frob);
2479 DECLARE_DOESNT_RETURN (signal_error (Lisp_Object, const char *, 2479 DECLARE_DOESNT_RETURN (signal_error (Lisp_Object, const char *,
2480 Lisp_Object)); 2480 Lisp_Object));
2481 void maybe_signal_error (Lisp_Object, const char *, Lisp_Object, 2481 void maybe_signal_error (Lisp_Object, const char *, Lisp_Object,
2482 Lisp_Object, Error_behavior); 2482 Lisp_Object, Error_Behavior);
2483 Lisp_Object signal_continuable_error (Lisp_Object, const char *, 2483 Lisp_Object signal_continuable_error (Lisp_Object, const char *,
2484 Lisp_Object); 2484 Lisp_Object);
2485 Lisp_Object maybe_signal_continuable_error (Lisp_Object, const char *, 2485 Lisp_Object maybe_signal_continuable_error (Lisp_Object, const char *,
2486 Lisp_Object, 2486 Lisp_Object,
2487 Lisp_Object, Error_behavior); 2487 Lisp_Object, Error_Behavior);
2488 DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS (signal_ferror_with_frob 2488 DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS (signal_ferror_with_frob
2489 (Lisp_Object, Lisp_Object, 2489 (Lisp_Object, Lisp_Object,
2490 const char *, 2490 const char *,
2491 ...), 3, 4); 2491 ...), 3, 4);
2492 void maybe_signal_ferror_with_frob (Lisp_Object, Lisp_Object, Lisp_Object, 2492 void maybe_signal_ferror_with_frob (Lisp_Object, Lisp_Object, Lisp_Object,
2493 Error_behavior, 2493 Error_Behavior,
2494 const char *, ...) PRINTF_ARGS (5, 6); 2494 const char *, ...) PRINTF_ARGS (5, 6);
2495 Lisp_Object signal_continuable_ferror_with_frob (Lisp_Object, Lisp_Object, 2495 Lisp_Object signal_continuable_ferror_with_frob (Lisp_Object, Lisp_Object,
2496 const char *, 2496 const char *,
2497 ...) PRINTF_ARGS (3, 4); 2497 ...) PRINTF_ARGS (3, 4);
2498 Lisp_Object maybe_signal_continuable_ferror_with_frob (Lisp_Object, 2498 Lisp_Object maybe_signal_continuable_ferror_with_frob (Lisp_Object,
2499 Lisp_Object, 2499 Lisp_Object,
2500 Lisp_Object, 2500 Lisp_Object,
2501 Error_behavior, 2501 Error_Behavior,
2502 const char *, ...) 2502 const char *, ...)
2503 PRINTF_ARGS (5, 6); 2503 PRINTF_ARGS (5, 6);
2504 DECLARE_DOESNT_RETURN (signal_error_2 (Lisp_Object, const char *, 2504 DECLARE_DOESNT_RETURN (signal_error_2 (Lisp_Object, const char *,
2505 Lisp_Object, Lisp_Object)); 2505 Lisp_Object, Lisp_Object));
2506 void maybe_signal_error_2 (Lisp_Object, const char *, Lisp_Object, 2506 void maybe_signal_error_2 (Lisp_Object, const char *, Lisp_Object,
2507 Lisp_Object, Lisp_Object, Error_behavior); 2507 Lisp_Object, Lisp_Object, Error_Behavior);
2508 Lisp_Object signal_continuable_error_2 (Lisp_Object, const char *, 2508 Lisp_Object signal_continuable_error_2 (Lisp_Object, const char *,
2509 Lisp_Object, Lisp_Object); 2509 Lisp_Object, Lisp_Object);
2510 Lisp_Object maybe_signal_continuable_error_2 (Lisp_Object, const char *, 2510 Lisp_Object maybe_signal_continuable_error_2 (Lisp_Object, const char *,
2511 Lisp_Object, Lisp_Object, 2511 Lisp_Object, Lisp_Object,
2512 Lisp_Object, 2512 Lisp_Object,
2513 Error_behavior); 2513 Error_Behavior);
2514 2514
2515 2515
2516 DECLARE_DOESNT_RETURN (signal_malformed_list_error (Lisp_Object)); 2516 DECLARE_DOESNT_RETURN (signal_malformed_list_error (Lisp_Object));
2517 DECLARE_DOESNT_RETURN (signal_malformed_property_list_error (Lisp_Object)); 2517 DECLARE_DOESNT_RETURN (signal_malformed_property_list_error (Lisp_Object));
2518 DECLARE_DOESNT_RETURN (signal_circular_list_error (Lisp_Object)); 2518 DECLARE_DOESNT_RETURN (signal_circular_list_error (Lisp_Object));
2520 2520
2521 DECLARE_DOESNT_RETURN (syntax_error (const char *reason, Lisp_Object frob)); 2521 DECLARE_DOESNT_RETURN (syntax_error (const char *reason, Lisp_Object frob));
2522 DECLARE_DOESNT_RETURN (syntax_error_2 (const char *reason, Lisp_Object frob1, 2522 DECLARE_DOESNT_RETURN (syntax_error_2 (const char *reason, Lisp_Object frob1,
2523 Lisp_Object frob2)); 2523 Lisp_Object frob2));
2524 void maybe_syntax_error (const char *, Lisp_Object, Lisp_Object, 2524 void maybe_syntax_error (const char *, Lisp_Object, Lisp_Object,
2525 Error_behavior); 2525 Error_Behavior);
2526 DECLARE_DOESNT_RETURN (sferror (const char *reason, Lisp_Object frob)); 2526 DECLARE_DOESNT_RETURN (sferror (const char *reason, Lisp_Object frob));
2527 DECLARE_DOESNT_RETURN (sferror_2 (const char *reason, Lisp_Object frob1, 2527 DECLARE_DOESNT_RETURN (sferror_2 (const char *reason, Lisp_Object frob1,
2528 Lisp_Object frob2)); 2528 Lisp_Object frob2));
2529 void maybe_sferror (const char *, Lisp_Object, Lisp_Object, 2529 void maybe_sferror (const char *, Lisp_Object, Lisp_Object,
2530 Error_behavior); 2530 Error_Behavior);
2531 DECLARE_DOESNT_RETURN (invalid_argument (const char *reason, 2531 DECLARE_DOESNT_RETURN (invalid_argument (const char *reason,
2532 Lisp_Object frob)); 2532 Lisp_Object frob));
2533 DECLARE_DOESNT_RETURN (invalid_argument_2 (const char *reason, 2533 DECLARE_DOESNT_RETURN (invalid_argument_2 (const char *reason,
2534 Lisp_Object frob1, 2534 Lisp_Object frob1,
2535 Lisp_Object frob2)); 2535 Lisp_Object frob2));
2536 void maybe_invalid_argument (const char *, Lisp_Object, Lisp_Object, 2536 void maybe_invalid_argument (const char *, Lisp_Object, Lisp_Object,
2537 Error_behavior); 2537 Error_Behavior);
2538 DECLARE_DOESNT_RETURN (invalid_operation (const char *reason, 2538 DECLARE_DOESNT_RETURN (invalid_operation (const char *reason,
2539 Lisp_Object frob)); 2539 Lisp_Object frob));
2540 DECLARE_DOESNT_RETURN (invalid_operation_2 (const char *reason, 2540 DECLARE_DOESNT_RETURN (invalid_operation_2 (const char *reason,
2541 Lisp_Object frob1, 2541 Lisp_Object frob1,
2542 Lisp_Object frob2)); 2542 Lisp_Object frob2));
2543 void maybe_invalid_operation (const char *, Lisp_Object, Lisp_Object, 2543 void maybe_invalid_operation (const char *, Lisp_Object, Lisp_Object,
2544 Error_behavior); 2544 Error_Behavior);
2545 DECLARE_DOESNT_RETURN (invalid_state (const char *reason, 2545 DECLARE_DOESNT_RETURN (invalid_state (const char *reason,
2546 Lisp_Object frob)); 2546 Lisp_Object frob));
2547 DECLARE_DOESNT_RETURN (invalid_state_2 (const char *reason, 2547 DECLARE_DOESNT_RETURN (invalid_state_2 (const char *reason,
2548 Lisp_Object frob1, 2548 Lisp_Object frob1,
2549 Lisp_Object frob2)); 2549 Lisp_Object frob2));
2550 void maybe_invalid_state (const char *, Lisp_Object, Lisp_Object, 2550 void maybe_invalid_state (const char *, Lisp_Object, Lisp_Object,
2551 Error_behavior); 2551 Error_Behavior);
2552 DECLARE_DOESNT_RETURN (invalid_change (const char *reason, 2552 DECLARE_DOESNT_RETURN (invalid_change (const char *reason,
2553 Lisp_Object frob)); 2553 Lisp_Object frob));
2554 DECLARE_DOESNT_RETURN (invalid_change_2 (const char *reason, 2554 DECLARE_DOESNT_RETURN (invalid_change_2 (const char *reason,
2555 Lisp_Object frob1, 2555 Lisp_Object frob1,
2556 Lisp_Object frob2)); 2556 Lisp_Object frob2));
2557 void maybe_invalid_change (const char *, Lisp_Object, Lisp_Object, 2557 void maybe_invalid_change (const char *, Lisp_Object, Lisp_Object,
2558 Error_behavior); 2558 Error_Behavior);
2559 DECLARE_DOESNT_RETURN (invalid_constant (const char *reason, 2559 DECLARE_DOESNT_RETURN (invalid_constant (const char *reason,
2560 Lisp_Object frob)); 2560 Lisp_Object frob));
2561 DECLARE_DOESNT_RETURN (invalid_constant_2 (const char *reason, 2561 DECLARE_DOESNT_RETURN (invalid_constant_2 (const char *reason,
2562 Lisp_Object frob1, 2562 Lisp_Object frob1,
2563 Lisp_Object frob2)); 2563 Lisp_Object frob2));
2564 void maybe_invalid_constant (const char *, Lisp_Object, Lisp_Object, 2564 void maybe_invalid_constant (const char *, Lisp_Object, Lisp_Object,
2565 Error_behavior); 2565 Error_Behavior);
2566 DECLARE_DOESNT_RETURN (wtaerror (const char *reason, Lisp_Object frob)); 2566 DECLARE_DOESNT_RETURN (wtaerror (const char *reason, Lisp_Object frob));
2567 DECLARE_DOESNT_RETURN (out_of_memory (const char *reason, 2567 DECLARE_DOESNT_RETURN (out_of_memory (const char *reason,
2568 Lisp_Object frob)); 2568 Lisp_Object frob));
2569 DECLARE_DOESNT_RETURN (stack_overflow (const char *reason, 2569 DECLARE_DOESNT_RETURN (stack_overflow (const char *reason,
2570 Lisp_Object frob)); 2570 Lisp_Object frob));
2622 Lisp_Object call0_trapping_errors (const char *, Lisp_Object); 2622 Lisp_Object call0_trapping_errors (const char *, Lisp_Object);
2623 Lisp_Object call1_trapping_errors (const char *, Lisp_Object, Lisp_Object); 2623 Lisp_Object call1_trapping_errors (const char *, Lisp_Object, Lisp_Object);
2624 Lisp_Object call2_trapping_errors (const char *, 2624 Lisp_Object call2_trapping_errors (const char *,
2625 Lisp_Object, Lisp_Object, Lisp_Object); 2625 Lisp_Object, Lisp_Object, Lisp_Object);
2626 Lisp_Object call_with_suspended_errors (lisp_fn_t, volatile Lisp_Object, Lisp_Object, 2626 Lisp_Object call_with_suspended_errors (lisp_fn_t, volatile Lisp_Object, Lisp_Object,
2627 Error_behavior, int, ...); 2627 Error_Behavior, int, ...);
2628 /* C Code should be using internal_catch, record_unwind_p, condition_case_1 */ 2628 /* C Code should be using internal_catch, record_unwind_p, condition_case_1 */
2629 Lisp_Object internal_catch (Lisp_Object, Lisp_Object (*) (Lisp_Object), 2629 Lisp_Object internal_catch (Lisp_Object, Lisp_Object (*) (Lisp_Object),
2630 Lisp_Object, int * volatile); 2630 Lisp_Object, int * volatile);
2631 Lisp_Object condition_case_1 (Lisp_Object, 2631 Lisp_Object condition_case_1 (Lisp_Object,
2632 Lisp_Object (*) (Lisp_Object), 2632 Lisp_Object (*) (Lisp_Object),
2710 int plists_differ (Lisp_Object, Lisp_Object, int, int, int); 2710 int plists_differ (Lisp_Object, Lisp_Object, int, int, int);
2711 Lisp_Object internal_plist_get (Lisp_Object, Lisp_Object); 2711 Lisp_Object internal_plist_get (Lisp_Object, Lisp_Object);
2712 void internal_plist_put (Lisp_Object *, Lisp_Object, Lisp_Object); 2712 void internal_plist_put (Lisp_Object *, Lisp_Object, Lisp_Object);
2713 int internal_remprop (Lisp_Object *, Lisp_Object); 2713 int internal_remprop (Lisp_Object *, Lisp_Object);
2714 Lisp_Object external_plist_get (Lisp_Object *, Lisp_Object, 2714 Lisp_Object external_plist_get (Lisp_Object *, Lisp_Object,
2715 int, Error_behavior); 2715 int, Error_Behavior);
2716 void external_plist_put (Lisp_Object *, Lisp_Object, 2716 void external_plist_put (Lisp_Object *, Lisp_Object,
2717 Lisp_Object, int, Error_behavior); 2717 Lisp_Object, int, Error_Behavior);
2718 int external_remprop (Lisp_Object *, Lisp_Object, int, Error_behavior); 2718 int external_remprop (Lisp_Object *, Lisp_Object, int, Error_Behavior);
2719 int internal_equal (Lisp_Object, Lisp_Object, int); 2719 int internal_equal (Lisp_Object, Lisp_Object, int);
2720 Lisp_Object concat2 (Lisp_Object, Lisp_Object); 2720 Lisp_Object concat2 (Lisp_Object, Lisp_Object);
2721 Lisp_Object concat3 (Lisp_Object, Lisp_Object, Lisp_Object); 2721 Lisp_Object concat3 (Lisp_Object, Lisp_Object, Lisp_Object);
2722 Lisp_Object vconcat2 (Lisp_Object, Lisp_Object); 2722 Lisp_Object vconcat2 (Lisp_Object, Lisp_Object);
2723 Lisp_Object vconcat3 (Lisp_Object, Lisp_Object, Lisp_Object); 2723 Lisp_Object vconcat3 (Lisp_Object, Lisp_Object, Lisp_Object);
2724 Lisp_Object nconc2 (Lisp_Object, Lisp_Object); 2724 Lisp_Object nconc2 (Lisp_Object, Lisp_Object);
2725 Lisp_Object bytecode_nconc2 (Lisp_Object *); 2725 Lisp_Object bytecode_nconc2 (Lisp_Object *);
2726 void check_losing_bytecode (const char *, Lisp_Object); 2726 void check_losing_bytecode (const char *, Lisp_Object);
2727 2727
2728 /* Defined in glyphs.c */ 2728 /* Defined in glyphs.c */
2729 Error_behavior decode_error_behavior_flag (Lisp_Object); 2729 Error_Behavior decode_error_behavior_flag (Lisp_Object);
2730 Lisp_Object encode_error_behavior_flag (Error_behavior); 2730 Lisp_Object encode_error_behavior_flag (Error_Behavior);
2731 2731
2732 /* Defined in glyphs-shared.c */ 2732 /* Defined in glyphs-shared.c */
2733 void shared_resource_validate (Lisp_Object instantiator); 2733 void shared_resource_validate (Lisp_Object instantiator);
2734 Lisp_Object shared_resource_normalize (Lisp_Object inst, 2734 Lisp_Object shared_resource_normalize (Lisp_Object inst,
2735 Lisp_Object console_type, 2735 Lisp_Object console_type,
2875 Bufpos find_next_newline_no_quit (struct buffer *, Bufpos, int); 2875 Bufpos find_next_newline_no_quit (struct buffer *, Bufpos, int);
2876 Bytind bi_find_next_newline_no_quit (struct buffer *, Bytind, int); 2876 Bytind bi_find_next_newline_no_quit (struct buffer *, Bytind, int);
2877 Bytind bi_find_next_emchar_in_string (Lisp_String*, Emchar, Bytind, EMACS_INT); 2877 Bytind bi_find_next_emchar_in_string (Lisp_String*, Emchar, Bytind, EMACS_INT);
2878 Bufpos find_before_next_newline (struct buffer *, Bufpos, Bufpos, int); 2878 Bufpos find_before_next_newline (struct buffer *, Bufpos, Bufpos, int);
2879 struct re_pattern_buffer *compile_pattern (Lisp_Object, struct re_registers *, 2879 struct re_pattern_buffer *compile_pattern (Lisp_Object, struct re_registers *,
2880 Lisp_Object, int, Error_behavior); 2880 Lisp_Object, int, Error_Behavior);
2881 Bytecount fast_string_match (Lisp_Object, const Bufbyte *, 2881 Bytecount fast_string_match (Lisp_Object, const Bufbyte *,
2882 Lisp_Object, Bytecount, 2882 Lisp_Object, Bytecount,
2883 Bytecount, int, Error_behavior, int); 2883 Bytecount, int, Error_Behavior, int);
2884 Bytecount fast_lisp_string_match (Lisp_Object, Lisp_Object); 2884 Bytecount fast_lisp_string_match (Lisp_Object, Lisp_Object);
2885 void restore_match_data (void); 2885 void restore_match_data (void);
2886 extern Fixnum warn_about_possibly_incompatible_back_references; 2886 extern Fixnum warn_about_possibly_incompatible_back_references;
2887 2887
2888 2888
2896 void init_device_sound (struct device *); 2896 void init_device_sound (struct device *);
2897 DECLARE_DOESNT_RETURN (report_sound_error (const Char_ASCII *, Lisp_Object)); 2897 DECLARE_DOESNT_RETURN (report_sound_error (const Char_ASCII *, Lisp_Object));
2898 2898
2899 /* Defined in specifier.c */ 2899 /* Defined in specifier.c */
2900 Lisp_Object specifier_instance (Lisp_Object, Lisp_Object, Lisp_Object, 2900 Lisp_Object specifier_instance (Lisp_Object, Lisp_Object, Lisp_Object,
2901 Error_behavior, int, int, Lisp_Object); 2901 Error_Behavior, int, int, Lisp_Object);
2902 Lisp_Object specifier_instance_no_quit (Lisp_Object, Lisp_Object, Lisp_Object, 2902 Lisp_Object specifier_instance_no_quit (Lisp_Object, Lisp_Object, Lisp_Object,
2903 Error_behavior, int, Lisp_Object); 2903 Error_Behavior, int, Lisp_Object);
2904 2904
2905 /* Defined in symbols.c */ 2905 /* Defined in symbols.c */
2906 unsigned int hash_string (const Bufbyte *, Bytecount); 2906 unsigned int hash_string (const Bufbyte *, Bytecount);
2907 Lisp_Object intern (const char *); 2907 Lisp_Object intern (const char *);
2908 Lisp_Object oblookup (Lisp_Object, const Bufbyte *, Bytecount); 2908 Lisp_Object oblookup (Lisp_Object, const Bufbyte *, Bytecount);