bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] [PATCH] Enable visibility annotations


From: Chet Ramey
Subject: Re: [Bug-readline] [PATCH] Enable visibility annotations
Date: Fri, 22 Apr 2016 10:53:56 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

On 4/22/16 10:24 AM, Pedro Alves wrote:

>> All of the public symbols in history.h are part of the history library,
>> which can be built both as part of readline and separately.  We were a
>> little careless 25 years ago with the public function names, and it's too
>> late to change those now, but all of the history library variables have a
>> `history_' prefix.
> 
> Note that "history_offset" is declared in histlib.h however, which reads:
> 
>  /* histlib.h -- internal definitions for the history library. */
>  ...
>  /* Some variable definitions shared across history source files. */
>  extern int history_offset;

That definition is in history.h in readline-7.0.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]