--- a/libInit.cc Mon Apr 16 13:13:31 2007 +0200
+++ b/libInit.cc Mon Apr 16 13:13:34 2007 +0200
@@ -1,25 +1,20 @@
/*
- * $Header: /cvs/stx/stx/libview2/libInit.cc,v 1.44 2007-01-12 19:17:30 stefan Exp $
+ * $Header: /cvs/stx/stx/libview2/libInit.cc,v 1.45 2007-04-16 11:13:34 cg Exp $
*
* DO NOT EDIT
* automagically generated from the projectDefinition: stx_libview2.
*/
#define __INDIRECTVMINITCALLS__
#include <stc.h>
-#define INIT_TEXT_SECT /* as nothing */
+
#ifdef WIN32
# pragma codeseg INITCODE "INITCODE"
-#else /* not WIN32 */
-# if defined(__GNUC__) && !defined(NO_SECTION_ATTRIBUTES)
-# if (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) || __GNUC__ > 2
-# undef INIT_TEXT_SECT
-# define INIT_TEXT_SECT __attribute__((section(".stxitext")))
-# endif
-# endif /* not GNUC */
-#endif /* not WIN32 */
-#ifdef INIT_TEXT_SECT
-DLL_EXPORT extern void _libstx_libview2_Init() INIT_TEXT_SECT;
+#endif
+
+#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
+DLL_EXPORT void _libstx_libview2_Init() INIT_TEXT_SECTION;
#endif
+
void _libstx_libview2_Init(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libstx_libview2", _libstx_libview2_Init, "stx:libview2");
@@ -70,6 +65,7 @@
_UIBuilder_Init(pass,__pRT__,snd);
_ValueModel_Init(pass,__pRT__,snd);
_VisualPart_Init(pass,__pRT__,snd);
+_WinPrinterContext_Init(pass,__pRT__,snd);
_AlignmentOrigin_Init(pass,__pRT__,snd);
_BlockValue_Init(pass,__pRT__,snd);
_FlyByHelp_Init(pass,__pRT__,snd);