From 9daca906a447c44dbea8da2dc34ad1103a6476f8 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 20 Jun 2005 14:32:35 +0000 Subject: [PATCH] Export getExceptionHandler() function (bug on WNT) --- src/SalomeApp/SalomeApp_ExceptionHandler.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/SalomeApp/SalomeApp_ExceptionHandler.cxx b/src/SalomeApp/SalomeApp_ExceptionHandler.cxx index ac7b408da..aebfb9c8c 100644 --- a/src/SalomeApp/SalomeApp_ExceptionHandler.cxx +++ b/src/SalomeApp/SalomeApp_ExceptionHandler.cxx @@ -63,10 +63,7 @@ bool SalomeApp_ExceptionHandler::handle( QObject* o, QEvent* e ) return res; } -extern "C" +extern "C" SALOMEAPP_EXPORT SUIT_ExceptionHandler* getExceptionHandler() { - SUIT_ExceptionHandler* getExceptionHandler() - { - return new SalomeApp_ExceptionHandler( true ); - } + return new SalomeApp_ExceptionHandler( true ); } -- 2.39.2