[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105408: Make bidi_cache_total_alloc
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105408: Make bidi_cache_total_alloc static. |
Date: |
Fri, 05 Aug 2011 17:08:16 +0300 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105408
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2011-08-05 17:08:16 +0300
message:
Make bidi_cache_total_alloc static.
src/bidi.c <bidi_cache_total_alloc>: Now static.
(bidi_initialize): Initialize bidi_cache_total_alloc.
modified:
src/ChangeLog
src/bidi.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-08-05 11:04:44 +0000
+++ b/src/ChangeLog 2011-08-05 14:08:16 +0000
@@ -1,5 +1,8 @@
2011-08-05 Eli Zaretskii <address@hidden>
+ * bidi.c <bidi_cache_total_alloc>: Now static.
+ (bidi_initialize): Initialize bidi_cache_total_alloc.
+
*xdisp.c (display_line): Release buffer allocated for shelved bidi
cache. (Bug#9221)
=== modified file 'src/bidi.c'
--- a/src/bidi.c 2011-08-05 11:04:44 +0000
+++ b/src/bidi.c 2011-08-05 14:08:16 +0000
@@ -620,7 +620,7 @@
bidi_cache_last_idx = -1;
}
-ptrdiff_t bidi_cache_total_alloc;
+static ptrdiff_t bidi_cache_total_alloc;
/* Stash away a copy of the cache and its control variables. */
void *
@@ -768,6 +768,7 @@
staticpro (¶graph_separate_re);
bidi_cache_sp = 0;
+ bidi_cache_total_alloc = 0;
bidi_initialized = 1;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105408: Make bidi_cache_total_alloc static.,
Eli Zaretskii <=