Kaydet (Commit) aee43676 authored tarafından David Tardon's avatar David Tardon

function component_canUnload is exported

üst 3a38a851
...@@ -197,7 +197,7 @@ static void SAL_CALL environmentDisposing( uno_Environment * ) SAL_THROW( () ) ...@@ -197,7 +197,7 @@ static void SAL_CALL environmentDisposing( uno_Environment * ) SAL_THROW( () )
#ifndef IOS #ifndef IOS
sal_Bool SAL_CALL component_canUnload(TimeValue * pTime) SAL_THROW_EXTERN_C() { SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload(TimeValue * pTime) SAL_THROW_EXTERN_C() {
return bridges::cpp_uno::shared::g_moduleCount.canUnload( return bridges::cpp_uno::shared::g_moduleCount.canUnload(
&bridges::cpp_uno::shared::g_moduleCount, pTime); &bridges::cpp_uno::shared::g_moduleCount, pTime);
} }
......
...@@ -561,7 +561,7 @@ void SAL_CALL uno_ext_getMapping( ...@@ -561,7 +561,7 @@ void SAL_CALL uno_ext_getMapping(
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
sal_Bool SAL_CALL component_canUnload( TimeValue * pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue * pTime )
SAL_THROW_EXTERN_C() SAL_THROW_EXTERN_C()
{ {
return (*g_moduleCount.canUnload)( &g_moduleCount, pTime ); return (*g_moduleCount.canUnload)( &g_moduleCount, pTime );
......
...@@ -359,7 +359,7 @@ void SAL_CALL uno_ext_getMapping( ...@@ -359,7 +359,7 @@ void SAL_CALL uno_ext_getMapping(
//################################################################################################## //##################################################################################################
sal_Bool SAL_CALL component_canUnload( TimeValue * ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue * )
SAL_THROW_EXTERN_C() SAL_THROW_EXTERN_C()
{ {
return true; return true;
......
...@@ -118,7 +118,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( ...@@ -118,7 +118,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
return pRet; return pRet;
} }
extern "C" sal_Bool component_canUnload( TimeValue* libUnused) extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused)
{ {
return globalModuleCount.canUnload( &globalModuleCount, libUnused); return globalModuleCount.canUnload( &globalModuleCount, libUnused);
} }
......
...@@ -498,7 +498,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -498,7 +498,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -295,7 +295,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -295,7 +295,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -344,7 +344,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -344,7 +344,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -255,7 +255,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -255,7 +255,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -97,7 +97,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -97,7 +97,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -209,7 +209,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -209,7 +209,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -257,7 +257,7 @@ extern "C" { ...@@ -257,7 +257,7 @@ extern "C" {
return pRet; return pRet;
} }
sal_Bool component_canUnload( TimeValue* libUnused) SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused)
{ {
return globalModuleCount.canUnload( &globalModuleCount, libUnused); return globalModuleCount.canUnload( &globalModuleCount, libUnused);
} }
......
...@@ -224,7 +224,7 @@ extern "C" { ...@@ -224,7 +224,7 @@ extern "C" {
return pRet; return pRet;
} }
sal_Bool component_canUnload( TimeValue* libUnused) SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused)
{ {
return globalModuleCount.canUnload( &globalModuleCount, libUnused); return globalModuleCount.canUnload( &globalModuleCount, libUnused);
} }
......
...@@ -112,7 +112,7 @@ static struct ImplementationEntry gServiceEntries[] = ...@@ -112,7 +112,7 @@ static struct ImplementationEntry gServiceEntries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -119,7 +119,7 @@ extern "C" ...@@ -119,7 +119,7 @@ extern "C"
{ {
#ifndef IOS #ifndef IOS
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -473,7 +473,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -473,7 +473,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -1214,7 +1214,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -1214,7 +1214,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -981,7 +981,7 @@ static struct ::cppu::ImplementationEntry g_entries[] = ...@@ -981,7 +981,7 @@ static struct ::cppu::ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload(
TimeValue *pTime ) TimeValue *pTime )
{ {
return ::stoc_invadp::g_moduleCount.canUnload( return ::stoc_invadp::g_moduleCount.canUnload(
......
...@@ -205,7 +205,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -205,7 +205,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
...@@ -514,7 +514,7 @@ static ::cppu::ImplementationEntry g_entries [] = ...@@ -514,7 +514,7 @@ static ::cppu::ImplementationEntry g_entries [] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue * pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue * pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount, pTime ); return g_moduleCount.canUnload( &g_moduleCount, pTime );
} }
......
...@@ -88,7 +88,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -88,7 +88,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment