bug-ncurses
[Top][All Lists]
Advanced

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

Re: about internal exported symbols


From: Stanislav Ievlev
Subject: Re: about internal exported symbols
Date: Wed, 3 Dec 2003 12:22:04 +0300

On Tue, Dec 02, 2003 at 06:00:09AM -0500, Thomas Dickey wrote:
> On Tue, 2 Dec 2003, Stanislav Ievlev wrote:
> 
> > Greetings!
> >
> > I have a question about ncurses shared library exported symbols.
> > Why this library exports a lot of internal functions with _nc prefix?
> > Why ncurses tests use these internal functions, e.g. _nc_free_and_exit() 
> > via ExitProgram() macros?
> 
> >
> > I think it's bad:
> 
> read closer: they're only used for testing memory leaks, in a
> configuration that the ordinary library is not compiled for.
> 
> (there are internal functions exported for tic, infocmp - but that's
> not the example you gave).

Well, but some of these internal exported functions are never used,
neither by ncurses libraries nor by ncurses utils:
_nc_Copy_Argument
_nc_expanded
_nc_freeall
_nc_free_entries
_nc_get_locale
_nc_insert_ch
_nc_memmove
_nc_msec_cost
_nc_outstr
_nc_read_termcap
_nc_screen_resume
_nc_sigaction
_nc_vsscanf
_nc_wgetch

--
With best regards
Stanislav Ievlev.





reply via email to

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