[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106240: * alloc.c (which_symbols): D
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106240: * alloc.c (which_symbols): Declare EXTERNALLY_VISIBLE, |
Date: |
Sat, 29 Oct 2011 10:25:44 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106240
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2011-10-29 10:25:44 -0700
message:
* alloc.c (which_symbols): Declare EXTERNALLY_VISIBLE,
so that this new function doesn't get optimized away by a
whole-program optimizer. Make the 2nd arg EMACS_INT, not int.
modified:
src/ChangeLog
src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-10-29 15:50:30 +0000
+++ b/src/ChangeLog 2011-10-29 17:25:44 +0000
@@ -1,3 +1,9 @@
+2011-10-29 Paul Eggert <address@hidden>
+
+ * alloc.c (which_symbols): Declare EXTERNALLY_VISIBLE,
+ so that this new function doesn't get optimized away by a
+ whole-program optimizer. Make the 2nd arg EMACS_INT, not int.
+
2011-10-29 Andreas Schwab <address@hidden>
* frame.h (MOUSE_HL_INFO): Remove excess parens.
=== modified file 'src/alloc.c'
--- a/src/alloc.c 2011-10-29 13:35:23 +0000
+++ b/src/alloc.c 2011-10-29 17:25:44 +0000
@@ -279,6 +279,7 @@
static void free_large_strings (void);
static void sweep_strings (void);
static void free_misc (Lisp_Object);
+extern Lisp_Object which_symbols (Lisp_Object, EMACS_INT) EXTERNALLY_VISIBLE;
/* When scanning the C stack for live Lisp objects, Emacs keeps track
of what memory allocated via lisp_malloc is intended for what
@@ -6254,7 +6255,7 @@
function. This is used in gdbinit's `xwhichsymbols' command. */
Lisp_Object
-which_symbols (Lisp_Object obj, int find_max)
+which_symbols (Lisp_Object obj, EMACS_INT find_max)
{
struct symbol_block *sblk;
int gc_count = inhibit_garbage_collection ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106240: * alloc.c (which_symbols): Declare EXTERNALLY_VISIBLE,,
Paul Eggert <=