[Top][All Lists]

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

about internal exported symbols

From: Stanislav Ievlev
Subject: about internal exported symbols
Date: Tue, 2 Dec 2003 12:17:33 +0300


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:
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.

reply via email to

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