X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=c%2B%2B%2Fetip.h.in;h=6dc41042e61d6c3e33623dcb8b78b7ac4675bdce;hp=9334f9d3e1168afc87ab4a245dbc562448475618;hb=f67a188e71a0e6f80c1c45e50e7a7449c2d7bfb3;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280 diff --git a/c++/etip.h.in b/c++/etip.h.in index 9334f9d3..6dc41042 100644 --- a/c++/etip.h.in +++ b/c++/etip.h.in @@ -32,7 +32,7 @@ * Author: Juergen Pfeifer, 1997 * ****************************************************************************/ -// $Id: etip.h.in,v 1.43 2020/02/02 23:34:34 tom Exp $ +// $Id: etip.h.in,v 1.45 2020/05/24 01:40:20 anonymous.maarten Exp $ #ifndef NCURSES_ETIP_H_incl #define NCURSES_ETIP_H_incl 1 @@ -140,11 +140,11 @@ extern "C" { #endif // Forward Declarations -class NCURSES_IMPEXP NCursesPanel; -class NCURSES_IMPEXP NCursesMenu; -class NCURSES_IMPEXP NCursesForm; +class NCURSES_CXX_IMPEXP NCursesPanel; +class NCURSES_CXX_IMPEXP NCursesMenu; +class NCURSES_CXX_IMPEXP NCursesForm; -class NCURSES_IMPEXP NCursesException +class NCURSES_CXX_IMPEXP NCursesException { public: const char *message; @@ -178,7 +178,7 @@ public: } }; -class NCURSES_IMPEXP NCursesPanelException : public NCursesException +class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException { public: const NCursesPanel* p; @@ -229,7 +229,7 @@ public: } }; -class NCURSES_IMPEXP NCursesMenuException : public NCursesException +class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException { public: const NCursesMenu* m; @@ -280,7 +280,7 @@ public: } }; -class NCURSES_IMPEXP NCursesFormException : public NCursesException +class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException { public: const NCursesForm* f; @@ -341,7 +341,6 @@ using std::endl; # else # include # endif - extern "C" void exit(int); #endif inline void THROW(const NCursesException *e) {