]> git.eshelyaron.com Git - emacs.git/commitdiff
* bidi.c (bidi_dump_cached_states): Mark as externally visible,
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 06:13:04 +0000 (23:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 06:13:04 +0000 (23:13 -0700)
so that it's not optimized away.
(bidi_ignore_explicit_marks_for_paragraph_level): Likewise.
* dispextern.h (bidi_dump_cached_states): Remove, since it's
exported only to the debugger.

src/ChangeLog
src/bidi.c
src/dispextern.h

index 35712e47520440369881ece63f4ffaa7b320842c..f2abbc8ed5c79f14a05b5361bbba36d00a726394 100644 (file)
@@ -1,5 +1,11 @@
 2011-04-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * bidi.c (bidi_dump_cached_states): Mark as externally visible,
+       so that it's not optimized away.
+       (bidi_ignore_explicit_marks_for_paragraph_level): Likewise.
+       * dispextern.h (bidi_dump_cached_states): Remove, since it's
+       exported only to the debugger.
+
        * atimer.c (alarm_signal_handler, run_all_atimers): Now static.
        * atimer.h (run_all_atimers): Removed; not exported.
 
index 3457e17743686896aedf0d758decfaef2825d8eb..447abb48469736536011620062d7b7704c7b91d5 100644 (file)
@@ -91,6 +91,7 @@ typedef enum {
   STRONG
 } bidi_category_t;
 
+extern int bidi_ignore_explicit_marks_for_paragraph_level EXTERNALLY_VISIBLE;
 int bidi_ignore_explicit_marks_for_paragraph_level = 1;
 
 static Lisp_Object paragraph_start_re, paragraph_separate_re;
@@ -1779,6 +1780,7 @@ bidi_move_to_visually_next (struct bidi_it *bidi_it)
 
 /* This is meant to be called from within the debugger, whenever you
    wish to examine the cache contents.  */
+void bidi_dump_cached_states (void) EXTERNALLY_VISIBLE;
 void
 bidi_dump_cached_states (void)
 {
index fd474dc6ae53338a08b0860eed7768198708286b..d957955ee33baee802f103d513ec6486b763799e 100644 (file)
@@ -2944,7 +2944,6 @@ enum tool_bar_item_image
 
 extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *);
 extern void bidi_move_to_visually_next (struct bidi_it *);
-extern void bidi_dump_cached_states (void);
 extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int);
 extern int  bidi_mirror_char (int);