[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about internal exported symbols
From: |
Thomas Dickey |
Subject: |
Re: about internal exported symbols |
Date: |
Tue, 2 Dec 2003 06:00:09 -0500 (EST) |
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).
> First, it's unfair to use internal symbols in the example programs.
> Since initscr() generates permanent memory leak by design,
> it may be better to recommend newterm/delscreen?
> Second, these usually unused global symbols enlarge symbol lookup table
> and make program startup slower.
>
> --
> With best regards
> Stanislav Ievlev.
>
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- about internal exported symbols, Stanislav Ievlev, 2003/12/02
- Re: about internal exported symbols,
Thomas Dickey <=
- Re: about internal exported symbols, Stanislav Ievlev, 2003/12/03
- Re: about internal exported symbols, Thomas Dickey, 2003/12/03
- Re: about internal exported symbols, Stanislav Ievlev, 2003/12/03
- Re: about internal exported symbols, Thomas Dickey, 2003/12/03
- Re: about internal exported symbols, Stanislav Ievlev, 2003/12/04
- Re: about internal exported symbols, Thomas Dickey, 2003/12/04
- Re: about internal exported symbols, Thomas Dickey, 2003/12/04
- Re: about internal exported symbols, Stanislav Ievlev, 2003/12/05
- Re: about internal exported symbols, Thomas Dickey, 2003/12/05