mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 22:32:12 +02:00
29276: always typedef Heapid for use by auto-generated header files.
This commit is contained in:
parent
f61ae85acf
commit
fdb4a83213
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-05-14 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 29276: Src/zsh.h: typedef Heapid unconditionally, to prevent
|
||||
compile errors in automatically-generated header files.
|
||||
|
||||
2011-05-14 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 29268: Src/Zle/compcore.c: dupstring() the value that's
|
||||
|
@ -14698,5 +14703,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5301 $
|
||||
* $Revision: 1.5302 $
|
||||
*****************************************************
|
||||
|
|
|
@ -2327,7 +2327,6 @@ enum {
|
|||
* Memory management *
|
||||
*********************/
|
||||
|
||||
#ifdef ZSH_HEAP_DEBUG
|
||||
/*
|
||||
* A Heapid is a type for identifying, uniquely up to the point where
|
||||
* the count of new identifiers wraps. all heaps that are or
|
||||
|
@ -2341,6 +2340,8 @@ enum {
|
|||
*/
|
||||
typedef unsigned int Heapid;
|
||||
|
||||
#ifdef ZSH_HEAP_DEBUG
|
||||
|
||||
/* printf format specifier corresponding to Heapid */
|
||||
#define HEAPID_FMT "%x"
|
||||
|
||||
|
|
Loading…
Reference in a new issue