diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-18 04:56:57 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-19 10:14:52 +0100 |
commit | d899f976ee0f4d1058f1adc94853df94a3c6eaea (patch) | |
tree | e940d6111ad58fc618eeeca7e213c864a3f11dc3 /cppu/source | |
parent | 051fdda153d45789c6eb1a0ec32dbd32dfd8a978 (diff) |
cppu: add visibility symbols
Diffstat (limited to 'cppu/source')
-rw-r--r-- | cppu/source/cppu/cppu_opt.cxx | 6 | ||||
-rw-r--r-- | cppu/source/threadpool/current.cxx | 4 | ||||
-rw-r--r-- | cppu/source/threadpool/threadident.cxx | 6 | ||||
-rw-r--r-- | cppu/source/threadpool/threadpool.cxx | 14 | ||||
-rw-r--r-- | cppu/source/typelib/static_types.cxx | 18 | ||||
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 56 | ||||
-rw-r--r-- | cppu/source/uno/EnvDcp.c | 4 | ||||
-rw-r--r-- | cppu/source/uno/EnvStack.cxx | 10 | ||||
-rw-r--r-- | cppu/source/uno/any.cxx | 16 | ||||
-rw-r--r-- | cppu/source/uno/data.cxx | 26 | ||||
-rw-r--r-- | cppu/source/uno/env_subst.cxx | 2 | ||||
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 8 | ||||
-rw-r--r-- | cppu/source/uno/lbmap.cxx | 12 | ||||
-rw-r--r-- | cppu/source/uno/sequence.cxx | 16 |
14 files changed, 99 insertions, 99 deletions
diff --git a/cppu/source/cppu/cppu_opt.cxx b/cppu/source/cppu/cppu_opt.cxx index 20774df133a1..a39524131aa5 100644 --- a/cppu/source/cppu/cppu_opt.cxx +++ b/cppu/source/cppu/cppu_opt.cxx @@ -35,7 +35,7 @@ using namespace ::rtl; //################################################################################################## -extern "C" rtl_uString * SAL_CALL cppu_unsatisfied_iquery_msg( +extern "C" CPPU_DLLPUBLIC rtl_uString * SAL_CALL cppu_unsatisfied_iquery_msg( typelib_TypeDescriptionReference * pType ) SAL_THROW_EXTERN_C() { @@ -49,7 +49,7 @@ extern "C" rtl_uString * SAL_CALL cppu_unsatisfied_iquery_msg( } //################################################################################################## -extern "C" rtl_uString * SAL_CALL cppu_unsatisfied_iset_msg( +extern "C" CPPU_DLLPUBLIC rtl_uString * SAL_CALL cppu_unsatisfied_iset_msg( typelib_TypeDescriptionReference * pType ) SAL_THROW_EXTERN_C() { @@ -63,7 +63,7 @@ extern "C" rtl_uString * SAL_CALL cppu_unsatisfied_iset_msg( } //############################################################################## -extern "C" rtl_uString * SAL_CALL cppu_Any_extraction_failure_msg( +extern "C" CPPU_DLLPUBLIC rtl_uString * SAL_CALL cppu_Any_extraction_failure_msg( uno_Any * pAny, typelib_TypeDescriptionReference * pType ) SAL_THROW_EXTERN_C() { diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx index 4521a7c64380..2839406ea172 100644 --- a/cppu/source/threadpool/current.cxx +++ b/cppu/source/threadpool/current.cxx @@ -200,7 +200,7 @@ IdContainer * getIdContainer() SAL_THROW( () ) } //################################################################################################## -extern "C" sal_Bool SAL_CALL uno_setCurrentContext( +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_setCurrentContext( void * pCurrentContext, rtl_uString * pEnvTypeName, void * pEnvContext ) SAL_THROW_EXTERN_C() @@ -248,7 +248,7 @@ extern "C" sal_Bool SAL_CALL uno_setCurrentContext( return sal_True; } //################################################################################################## -extern "C" sal_Bool SAL_CALL uno_getCurrentContext( +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_getCurrentContext( void ** ppCurrentContext, rtl_uString * pEnvTypeName, void * pEnvContext ) SAL_THROW_EXTERN_C() { diff --git a/cppu/source/threadpool/threadident.cxx b/cppu/source/threadpool/threadident.cxx index a4e76c4b91e7..c190572b3d4a 100644 --- a/cppu/source/threadpool/threadident.cxx +++ b/cppu/source/threadpool/threadident.cxx @@ -60,7 +60,7 @@ static inline void createLocalId( sal_Sequence **ppThreadId ) } -extern "C" void SAL_CALL +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_getIdOfCurrentThread( sal_Sequence **ppThreadId ) SAL_THROW_EXTERN_C() { @@ -92,7 +92,7 @@ uno_getIdOfCurrentThread( sal_Sequence **ppThreadId ) } -extern "C" void SAL_CALL uno_releaseIdFromCurrentThread() +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_releaseIdFromCurrentThread() SAL_THROW_EXTERN_C() { IdContainer *p = getIdContainer(); @@ -106,7 +106,7 @@ extern "C" void SAL_CALL uno_releaseIdFromCurrentThread() } } -extern "C" sal_Bool SAL_CALL uno_bindIdToCurrentThread( sal_Sequence *pThreadId ) +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_bindIdToCurrentThread( sal_Sequence *pThreadId ) SAL_THROW_EXTERN_C() { IdContainer *p = getIdContainer(); diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx index 312fd89c4375..fe1094774f70 100644 --- a/cppu/source/threadpool/threadpool.cxx +++ b/cppu/source/threadpool/threadpool.cxx @@ -412,7 +412,7 @@ struct _uno_ThreadPool sal_Int32 dummy; }; -extern "C" uno_ThreadPool SAL_CALL +extern "C" CPPU_DLLPUBLIC uno_ThreadPool SAL_CALL uno_threadpool_create() SAL_THROW_EXTERN_C() { MutexGuard guard( Mutex::getGlobalMutex() ); @@ -427,7 +427,7 @@ uno_threadpool_create() SAL_THROW_EXTERN_C() return h; } -extern "C" void SAL_CALL +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_threadpool_attach( uno_ThreadPool ) SAL_THROW_EXTERN_C() { sal_Sequence *pThreadId = 0; @@ -437,7 +437,7 @@ uno_threadpool_attach( uno_ThreadPool ) SAL_THROW_EXTERN_C() uno_releaseIdFromCurrentThread(); } -extern "C" void SAL_CALL +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_threadpool_enter( uno_ThreadPool hPool , void **ppJob ) SAL_THROW_EXTERN_C() { @@ -452,13 +452,13 @@ uno_threadpool_enter( uno_ThreadPool hPool , void **ppJob ) uno_releaseIdFromCurrentThread(); } -extern "C" void SAL_CALL +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_threadpool_detach( uno_ThreadPool ) SAL_THROW_EXTERN_C() { // we might do here some tiding up in case a thread called attach but never detach } -extern "C" void SAL_CALL +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_threadpool_putJob( uno_ThreadPool, sal_Sequence *pThreadId, @@ -469,7 +469,7 @@ uno_threadpool_putJob( ThreadPool::getInstance()->addJob( pThreadId, bIsOneway, pJob ,doRequest ); } -extern "C" void SAL_CALL +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_threadpool_dispose( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C() { ThreadPool::getInstance()->dispose( @@ -477,7 +477,7 @@ uno_threadpool_dispose( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C() reinterpret_cast< sal_IntPtr >(hPool)) ); } -extern "C" void SAL_CALL +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_threadpool_destroy( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C() { ThreadPool::getInstance()->stopDisposing( diff --git a/cppu/source/typelib/static_types.cxx b/cppu/source/typelib/static_types.cxx index 32e468443810..5a5e415c4790 100644 --- a/cppu/source/typelib/static_types.cxx +++ b/cppu/source/typelib/static_types.cxx @@ -141,7 +141,7 @@ static inline typelib_TypeDescriptionReference * igetTypeByName( rtl_uString * p extern "C" { //################################################################################################## -typelib_TypeDescriptionReference ** SAL_CALL typelib_static_type_getByTypeClass( +CPPU_DLLPUBLIC typelib_TypeDescriptionReference ** SAL_CALL typelib_static_type_getByTypeClass( typelib_TypeClass eTypeClass ) SAL_THROW_EXTERN_C() { @@ -306,7 +306,7 @@ typelib_TypeDescriptionReference ** SAL_CALL typelib_static_type_getByTypeClass( } //################################################################################################## -void SAL_CALL typelib_static_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_type_init( typelib_TypeDescriptionReference ** ppRef, typelib_TypeClass eTypeClass, const sal_Char * pTypeName ) SAL_THROW_EXTERN_C() @@ -326,7 +326,7 @@ void SAL_CALL typelib_static_type_init( } //################################################################################################## -void SAL_CALL typelib_static_sequence_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_sequence_type_init( typelib_TypeDescriptionReference ** ppRef, typelib_TypeDescriptionReference * pElementType ) SAL_THROW_EXTERN_C() @@ -446,7 +446,7 @@ void init( } -void SAL_CALL typelib_static_compound_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_compound_type_init( typelib_TypeDescriptionReference ** ppRef, typelib_TypeClass eTypeClass, const sal_Char * pTypeName, typelib_TypeDescriptionReference * pBaseType, @@ -456,7 +456,7 @@ void SAL_CALL typelib_static_compound_type_init( init(ppRef, eTypeClass, pTypeName, pBaseType, nMembers, ppMembers, 0); } -void SAL_CALL typelib_static_struct_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_struct_type_init( typelib_TypeDescriptionReference ** ppRef, const sal_Char * pTypeName, typelib_TypeDescriptionReference * pBaseType, sal_Int32 nMembers, typelib_TypeDescriptionReference ** ppMembers, @@ -469,7 +469,7 @@ void SAL_CALL typelib_static_struct_type_init( } //################################################################################################## -void SAL_CALL typelib_static_interface_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_interface_type_init( typelib_TypeDescriptionReference ** ppRef, const sal_Char * pTypeName, typelib_TypeDescriptionReference * pBaseType ) @@ -480,7 +480,7 @@ void SAL_CALL typelib_static_interface_type_init( } //################################################################################################## -void SAL_CALL typelib_static_mi_interface_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_mi_interface_type_init( typelib_TypeDescriptionReference ** ppRef, const sal_Char * pTypeName, sal_Int32 nBaseTypes, @@ -544,7 +544,7 @@ void SAL_CALL typelib_static_mi_interface_type_init( } //################################################################################################## -void SAL_CALL typelib_static_enum_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_enum_type_init( typelib_TypeDescriptionReference ** ppRef, const sal_Char * pTypeName, sal_Int32 nDefaultValue ) @@ -584,7 +584,7 @@ void SAL_CALL typelib_static_enum_type_init( } //################################################################################################## -void SAL_CALL typelib_static_array_type_init( +CPPU_DLLPUBLIC void SAL_CALL typelib_static_array_type_init( typelib_TypeDescriptionReference ** ppRef, typelib_TypeDescriptionReference * pElementTypeRef, sal_Int32 nDimensions, ... ) diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 841bcf757610..c197f731ff53 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -363,7 +363,7 @@ TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl() SAL_THROW( () ) namespace { struct Init : public rtl::Static< TypeDescriptor_Init_Impl, Init > {}; } -extern "C" void SAL_CALL typelib_typedescription_registerCallback( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_registerCallback( void * pContext, typelib_typedescription_Callback pCallback ) SAL_THROW_EXTERN_C() { @@ -376,7 +376,7 @@ extern "C" void SAL_CALL typelib_typedescription_registerCallback( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_revokeCallback( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_revokeCallback( void * pContext, typelib_typedescription_Callback pCallback ) SAL_THROW_EXTERN_C() { @@ -906,7 +906,7 @@ void newTypeDescription( } -extern "C" void SAL_CALL typelib_typedescription_new( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_new( typelib_TypeDescription ** ppRet, typelib_TypeClass eTypeClass, rtl_uString * pTypeName, @@ -919,7 +919,7 @@ extern "C" void SAL_CALL typelib_typedescription_new( ppRet, eTypeClass, pTypeName, pType, nMembers, pMembers, 0); } -extern "C" void SAL_CALL typelib_typedescription_newStruct( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newStruct( typelib_TypeDescription ** ppRet, rtl_uString * pTypeName, typelib_TypeDescriptionReference * pType, @@ -933,7 +933,7 @@ extern "C" void SAL_CALL typelib_typedescription_newStruct( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_newUnion( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newUnion( typelib_TypeDescription ** ppRet, rtl_uString * pTypeName, typelib_TypeDescriptionReference * pDiscriminantTypeRef, @@ -986,7 +986,7 @@ extern "C" void SAL_CALL typelib_typedescription_newUnion( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_newEnum( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newEnum( typelib_TypeDescription ** ppRet, rtl_uString * pTypeName, sal_Int32 nDefaultValue, @@ -1015,7 +1015,7 @@ extern "C" void SAL_CALL typelib_typedescription_newEnum( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_newArray( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newArray( typelib_TypeDescription ** ppRet, typelib_TypeDescriptionReference * pElementTypeRef, sal_Int32 nDimensions, @@ -1053,7 +1053,7 @@ extern "C" void SAL_CALL typelib_typedescription_newArray( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_newInterface( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newInterface( typelib_InterfaceTypeDescription ** ppRet, rtl_uString * pTypeName, sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, @@ -1138,7 +1138,7 @@ void BaseList::calculate( } -extern "C" void SAL_CALL typelib_typedescription_newMIInterface( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newMIInterface( typelib_InterfaceTypeDescription ** ppRet, rtl_uString * pTypeName, sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, @@ -1269,7 +1269,7 @@ typelib_TypeDescriptionReference ** copyExceptions( } -extern "C" void SAL_CALL typelib_typedescription_newInterfaceMethod( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newInterfaceMethod( typelib_InterfaceMethodTypeDescription ** ppRet, sal_Int32 nAbsolutePosition, sal_Bool bOneWay, @@ -1349,7 +1349,7 @@ extern "C" void SAL_CALL typelib_typedescription_newInterfaceMethod( //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_newInterfaceAttribute( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newInterfaceAttribute( typelib_InterfaceAttributeTypeDescription ** ppRet, sal_Int32 nAbsolutePosition, rtl_uString * pTypeName, @@ -1364,7 +1364,7 @@ extern "C" void SAL_CALL typelib_typedescription_newInterfaceAttribute( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_newExtendedInterfaceAttribute( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newExtendedInterfaceAttribute( typelib_InterfaceAttributeTypeDescription ** ppRet, sal_Int32 nAbsolutePosition, rtl_uString * pTypeName, @@ -1427,7 +1427,7 @@ extern "C" void SAL_CALL typelib_typedescription_newExtendedInterfaceAttribute( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_acquire( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_acquire( typelib_TypeDescription * pTypeDescription ) SAL_THROW_EXTERN_C() { @@ -1584,7 +1584,7 @@ static inline void typelib_typedescription_destructExtendedMembers( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_release( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_release( typelib_TypeDescription * pTD ) SAL_THROW_EXTERN_C() { @@ -1661,7 +1661,7 @@ extern "C" void SAL_CALL typelib_typedescription_release( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescription_register( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_register( typelib_TypeDescription ** ppNewDescription ) SAL_THROW_EXTERN_C() { @@ -1802,7 +1802,7 @@ static inline sal_Bool type_equals( p1->pTypeName->length == p2->pTypeName->length && rtl_ustr_compare( p1->pTypeName->buffer, p2->pTypeName->buffer ) == 0)); } -extern "C" sal_Bool SAL_CALL typelib_typedescription_equals( +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescription_equals( const typelib_TypeDescription * p1, const typelib_TypeDescription * p2 ) SAL_THROW_EXTERN_C() { @@ -2081,7 +2081,7 @@ bool createDerivedInterfaceMemberDescription( } -extern "C" void SAL_CALL typelib_typedescription_getByName( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_getByName( typelib_TypeDescription ** ppRet, rtl_uString * pName ) SAL_THROW_EXTERN_C() { @@ -2273,7 +2273,7 @@ extern "C" void SAL_CALL typelib_typedescription_getByName( } } -extern "C" void SAL_CALL typelib_typedescriptionreference_newByAsciiName( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_newByAsciiName( typelib_TypeDescriptionReference ** ppTDR, typelib_TypeClass eTypeClass, const sal_Char * pTypeName ) @@ -2283,7 +2283,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_newByAsciiName( typelib_typedescriptionreference_new( ppTDR, eTypeClass, aTypeName.pData ); } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescriptionreference_new( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_new( typelib_TypeDescriptionReference ** ppTDR, typelib_TypeClass eTypeClass, rtl_uString * pTypeName ) SAL_THROW_EXTERN_C() @@ -2380,7 +2380,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_new( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescriptionreference_acquire( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_acquire( typelib_TypeDescriptionReference * pRef ) SAL_THROW_EXTERN_C() { @@ -2388,7 +2388,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_acquire( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescriptionreference_release( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_release( typelib_TypeDescriptionReference * pRef ) SAL_THROW_EXTERN_C() { @@ -2424,7 +2424,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_release( } //------------------------------------------------------------------------ -extern "C" void SAL_CALL typelib_typedescriptionreference_getDescription( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_getDescription( typelib_TypeDescription ** ppRet, typelib_TypeDescriptionReference * pRef ) SAL_THROW_EXTERN_C() { @@ -2507,7 +2507,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getByName( } //------------------------------------------------------------------------ -extern "C" sal_Bool SAL_CALL typelib_typedescriptionreference_equals( +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescriptionreference_equals( const typelib_TypeDescriptionReference * p1, const typelib_TypeDescriptionReference * p2 ) SAL_THROW_EXTERN_C() @@ -2519,7 +2519,7 @@ extern "C" sal_Bool SAL_CALL typelib_typedescriptionreference_equals( } //################################################################################################## -extern "C" void SAL_CALL typelib_typedescriptionreference_assign( +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_assign( typelib_TypeDescriptionReference ** ppDest, typelib_TypeDescriptionReference * pSource ) SAL_THROW_EXTERN_C() @@ -2533,7 +2533,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_assign( } //################################################################################################## -extern "C" void SAL_CALL typelib_setCacheSize( sal_Int32 nNewSize ) +extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_setCacheSize( sal_Int32 nNewSize ) SAL_THROW_EXTERN_C() { OSL_ENSURE( nNewSize >= 0, "### illegal cache size given!" ); @@ -2571,7 +2571,7 @@ static sal_Bool s_aAssignableFromTab[11][11] = }; //################################################################################################## -extern "C" sal_Bool SAL_CALL typelib_typedescriptionreference_isAssignableFrom( +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescriptionreference_isAssignableFrom( typelib_TypeDescriptionReference * pAssignable, typelib_TypeDescriptionReference * pFrom ) SAL_THROW_EXTERN_C() @@ -2643,7 +2643,7 @@ extern "C" sal_Bool SAL_CALL typelib_typedescriptionreference_isAssignableFrom( return sal_False; } //################################################################################################## -extern "C" sal_Bool SAL_CALL typelib_typedescription_isAssignableFrom( +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescription_isAssignableFrom( typelib_TypeDescription * pAssignable, typelib_TypeDescription * pFrom ) SAL_THROW_EXTERN_C() @@ -2653,7 +2653,7 @@ extern "C" sal_Bool SAL_CALL typelib_typedescription_isAssignableFrom( } //################################################################################################## -extern "C" sal_Bool SAL_CALL typelib_typedescription_complete( +extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescription_complete( typelib_TypeDescription ** ppTypeDescr ) SAL_THROW_EXTERN_C() { diff --git a/cppu/source/uno/EnvDcp.c b/cppu/source/uno/EnvDcp.c index a9d6dc3d59c7..d03a38d68436 100644 --- a/cppu/source/uno/EnvDcp.c +++ b/cppu/source/uno/EnvDcp.c @@ -29,7 +29,7 @@ #include "uno/EnvDcp.h" -void uno_EnvDcp_getTypeName(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvTypeName) +CPPU_DLLPUBLIC void uno_EnvDcp_getTypeName(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvTypeName) { sal_Int32 colIdx = rtl_ustr_indexOfChar_WithLength(pEnvDcp->buffer, pEnvDcp->length, ':'); if (colIdx >= 0) @@ -39,7 +39,7 @@ void uno_EnvDcp_getTypeName(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvTyp rtl_uString_newFromStr(ppEnvTypeName, pEnvDcp->buffer); } -void uno_EnvDcp_getPurpose(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvPurpose) +CPPU_DLLPUBLIC void uno_EnvDcp_getPurpose(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvPurpose) { sal_Int32 colIdx = rtl_ustr_indexOfChar_WithLength(pEnvDcp->buffer, pEnvDcp->length, ':'); if (colIdx >= 0) diff --git a/cppu/source/uno/EnvStack.cxx b/cppu/source/uno/EnvStack.cxx index 954244088450..ffe5290c73d2 100644 --- a/cppu/source/uno/EnvStack.cxx +++ b/cppu/source/uno/EnvStack.cxx @@ -107,7 +107,7 @@ static uno_Environment * s_getCurrent(void) } -extern "C" void SAL_CALL uno_getCurrentEnvironment(uno_Environment ** ppEnv, rtl_uString * pTypeName) +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_getCurrentEnvironment(uno_Environment ** ppEnv, rtl_uString * pTypeName) SAL_THROW_EXTERN_C() { if (*ppEnv) @@ -309,13 +309,13 @@ static void s_environment_invoke_v(uno_Environment * pCurrEnv, uno_Environment * pNextEnv->release(pNextEnv); } -extern "C" void SAL_CALL uno_Environment_invoke_v(uno_Environment * pTargetEnv, uno_EnvCallee * pCallee, va_list * pParam) +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_Environment_invoke_v(uno_Environment * pTargetEnv, uno_EnvCallee * pCallee, va_list * pParam) SAL_THROW_EXTERN_C() { s_environment_invoke_v(s_getCurrent(), pTargetEnv, pCallee, pParam); } -extern "C" void SAL_CALL uno_Environment_invoke(uno_Environment * pEnv, uno_EnvCallee * pCallee, ...) +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_Environment_invoke(uno_Environment * pEnv, uno_EnvCallee * pCallee, ...) SAL_THROW_EXTERN_C() { va_list param; @@ -325,7 +325,7 @@ extern "C" void SAL_CALL uno_Environment_invoke(uno_Environment * pEnv, uno_EnvC va_end(param); } -extern "C" void SAL_CALL uno_Environment_enter(uno_Environment * pTargetEnv) +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_Environment_enter(uno_Environment * pTargetEnv) SAL_THROW_EXTERN_C() { uno_Environment * pNextEnv = NULL; @@ -358,7 +358,7 @@ extern "C" void SAL_CALL uno_Environment_enter(uno_Environment * pTargetEnv) } } -int SAL_CALL uno_Environment_isValid(uno_Environment * pEnv, rtl_uString ** pReason) +CPPU_DLLPUBLIC int SAL_CALL uno_Environment_isValid(uno_Environment * pEnv, rtl_uString ** pReason) SAL_THROW_EXTERN_C() { int result = 1; diff --git a/cppu/source/uno/any.cxx b/cppu/source/uno/any.cxx index b75c3b250203..d031683c414f 100644 --- a/cppu/source/uno/any.cxx +++ b/cppu/source/uno/any.cxx @@ -36,7 +36,7 @@ using namespace cppu; extern "C" { //################################################################################################## -void SAL_CALL uno_type_any_assign( +CPPU_DLLPUBLIC void SAL_CALL uno_type_any_assign( uno_Any * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -53,7 +53,7 @@ void SAL_CALL uno_type_any_assign( } } //################################################################################################## -void SAL_CALL uno_any_assign( +CPPU_DLLPUBLIC void SAL_CALL uno_any_assign( uno_Any * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -70,7 +70,7 @@ void SAL_CALL uno_any_assign( } } //################################################################################################## -void SAL_CALL uno_type_any_construct( +CPPU_DLLPUBLIC void SAL_CALL uno_type_any_construct( uno_Any * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire ) @@ -86,7 +86,7 @@ void SAL_CALL uno_type_any_construct( } } //################################################################################################## -void SAL_CALL uno_any_construct( +CPPU_DLLPUBLIC void SAL_CALL uno_any_construct( uno_Any * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire ) @@ -102,7 +102,7 @@ void SAL_CALL uno_any_construct( } } //################################################################################################## -void SAL_CALL uno_type_any_constructAndConvert( +CPPU_DLLPUBLIC void SAL_CALL uno_type_any_constructAndConvert( uno_Any * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_Mapping * mapping ) @@ -118,7 +118,7 @@ void SAL_CALL uno_type_any_constructAndConvert( } } //################################################################################################## -void SAL_CALL uno_any_constructAndConvert( +CPPU_DLLPUBLIC void SAL_CALL uno_any_constructAndConvert( uno_Any * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_Mapping * mapping ) @@ -134,13 +134,13 @@ void SAL_CALL uno_any_constructAndConvert( } } //################################################################################################## -void SAL_CALL uno_any_destruct( uno_Any * pValue, uno_ReleaseFunc release ) +CPPU_DLLPUBLIC void SAL_CALL uno_any_destruct( uno_Any * pValue, uno_ReleaseFunc release ) SAL_THROW_EXTERN_C() { _destructAny( pValue, release ); } //################################################################################################## -void SAL_CALL uno_any_clear( uno_Any * pValue, uno_ReleaseFunc release ) +CPPU_DLLPUBLIC void SAL_CALL uno_any_clear( uno_Any * pValue, uno_ReleaseFunc release ) SAL_THROW_EXTERN_C() { _destructAny( pValue, release ); diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx index 3f9b9788e31b..88634494b83c 100644 --- a/cppu/source/uno/data.cxx +++ b/cppu/source/uno/data.cxx @@ -200,21 +200,21 @@ sal_Bool equalSequence( extern "C" { //################################################################################################## -void SAL_CALL uno_type_constructData( +CPPU_DLLPUBLIC void SAL_CALL uno_type_constructData( void * pMem, typelib_TypeDescriptionReference * pType ) SAL_THROW_EXTERN_C() { _defaultConstructData( pMem, pType, 0 ); } //################################################################################################## -void SAL_CALL uno_constructData( +CPPU_DLLPUBLIC void SAL_CALL uno_constructData( void * pMem, typelib_TypeDescription * pTypeDescr ) SAL_THROW_EXTERN_C() { _defaultConstructData( pMem, pTypeDescr->pWeakRef, pTypeDescr ); } //################################################################################################## -void SAL_CALL uno_type_destructData( +CPPU_DLLPUBLIC void SAL_CALL uno_type_destructData( void * pValue, typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release ) SAL_THROW_EXTERN_C() @@ -222,7 +222,7 @@ void SAL_CALL uno_type_destructData( _destructData( pValue, pType, 0, release ); } //################################################################################################## -void SAL_CALL uno_destructData( +CPPU_DLLPUBLIC void SAL_CALL uno_destructData( void * pValue, typelib_TypeDescription * pTypeDescr, uno_ReleaseFunc release ) @@ -231,7 +231,7 @@ void SAL_CALL uno_destructData( _destructData( pValue, pTypeDescr->pWeakRef, pTypeDescr, release ); } //################################################################################################## -void SAL_CALL uno_type_copyData( +CPPU_DLLPUBLIC void SAL_CALL uno_type_copyData( void * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire ) @@ -240,7 +240,7 @@ void SAL_CALL uno_type_copyData( _copyConstructData( pDest, pSource, pType, 0, acquire, 0 ); } //################################################################################################## -void SAL_CALL uno_copyData( +CPPU_DLLPUBLIC void SAL_CALL uno_copyData( void * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire ) @@ -249,7 +249,7 @@ void SAL_CALL uno_copyData( _copyConstructData( pDest, pSource, pTypeDescr->pWeakRef, pTypeDescr, acquire, 0 ); } //################################################################################################## -void SAL_CALL uno_type_copyAndConvertData( +CPPU_DLLPUBLIC void SAL_CALL uno_type_copyAndConvertData( void * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_Mapping * mapping ) @@ -258,7 +258,7 @@ void SAL_CALL uno_type_copyAndConvertData( _copyConstructData( pDest, pSource, pType, 0, 0, mapping ); } //################################################################################################## -void SAL_CALL uno_copyAndConvertData( +CPPU_DLLPUBLIC void SAL_CALL uno_copyAndConvertData( void * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_Mapping * mapping ) @@ -267,7 +267,7 @@ void SAL_CALL uno_copyAndConvertData( _copyConstructData( pDest, pSource, pTypeDescr->pWeakRef, pTypeDescr, 0, mapping ); } //################################################################################################## -sal_Bool SAL_CALL uno_type_equalData( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_equalData( void * pVal1, typelib_TypeDescriptionReference * pVal1Type, void * pVal2, typelib_TypeDescriptionReference * pVal2Type, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) @@ -279,7 +279,7 @@ sal_Bool SAL_CALL uno_type_equalData( queryInterface, release ); } //################################################################################################## -sal_Bool SAL_CALL uno_equalData( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_equalData( void * pVal1, typelib_TypeDescription * pVal1TD, void * pVal2, typelib_TypeDescription * pVal2TD, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) @@ -291,7 +291,7 @@ sal_Bool SAL_CALL uno_equalData( queryInterface, release ); } //################################################################################################## -sal_Bool SAL_CALL uno_type_assignData( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_assignData( void * pDest, typelib_TypeDescriptionReference * pDestType, void * pSource, typelib_TypeDescriptionReference * pSourceType, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -303,7 +303,7 @@ sal_Bool SAL_CALL uno_type_assignData( queryInterface, acquire, release ); } //################################################################################################## -sal_Bool SAL_CALL uno_assignData( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_assignData( void * pDest, typelib_TypeDescription * pDestTD, void * pSource, typelib_TypeDescription * pSourceTD, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -315,7 +315,7 @@ sal_Bool SAL_CALL uno_assignData( queryInterface, acquire, release ); } //################################################################################################## -sal_Bool SAL_CALL uno_type_isAssignableFromData( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_isAssignableFromData( typelib_TypeDescriptionReference * pAssignable, void * pFrom, typelib_TypeDescriptionReference * pFromType, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) diff --git a/cppu/source/uno/env_subst.cxx b/cppu/source/uno/env_subst.cxx index 6d75a35b662b..4f4eed4669ce 100644 --- a/cppu/source/uno/env_subst.cxx +++ b/cppu/source/uno/env_subst.cxx @@ -31,7 +31,7 @@ #include "env_subst.hxx" -void SAL_CALL uno_getEnvironment(uno_Environment ** ppEnv, +CPPU_DLLPUBLIC void SAL_CALL uno_getEnvironment(uno_Environment ** ppEnv, rtl_uString * pEnvDcp, void * pContext) SAL_THROW_EXTERN_C() diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index ba3465ca9a99..79581a5d765b 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -715,7 +715,7 @@ static void writeLine( } //############################################################################## -extern "C" void SAL_CALL uno_dumpEnvironment( +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_dumpEnvironment( void * stream, uno_Environment * pEnv, const sal_Char * pFilter ) SAL_THROW_EXTERN_C() { @@ -802,7 +802,7 @@ extern "C" void SAL_CALL uno_dumpEnvironment( } //############################################################################## -extern "C" void SAL_CALL uno_dumpEnvironmentByName( +extern "C" CPPU_DLLPUBLIC void SAL_CALL uno_dumpEnvironmentByName( void * stream, rtl_uString * pEnvDcp, const sal_Char * pFilter ) SAL_THROW_EXTERN_C() { @@ -1147,7 +1147,7 @@ static uno_Environment * initDefaultEnvironment( } //############################################################################## -void SAL_CALL uno_createEnvironment( +CPPU_DLLPUBLIC void SAL_CALL uno_createEnvironment( uno_Environment ** ppEnv, rtl_uString * pEnvDcp, void * pContext ) SAL_THROW_EXTERN_C() { @@ -1183,7 +1183,7 @@ void SAL_CALL uno_direct_getEnvironment( } //############################################################################## -void SAL_CALL uno_getRegisteredEnvironments( +CPPU_DLLPUBLIC void SAL_CALL uno_getRegisteredEnvironments( uno_Environment *** pppEnvs, sal_Int32 * pnLen, uno_memAlloc memAlloc, rtl_uString * pEnvDcp ) SAL_THROW_EXTERN_C() diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 84e2cc79b14b..6df981866a0d 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -509,7 +509,7 @@ using namespace ::cppu; extern "C" { //################################################################################################## -void SAL_CALL uno_getMapping( +CPPU_DLLPUBLIC void SAL_CALL uno_getMapping( uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose ) SAL_THROW_EXTERN_C() @@ -577,7 +577,7 @@ void SAL_CALL uno_getMapping( } } //################################################################################################## -void SAL_CALL uno_getMappingByName( +CPPU_DLLPUBLIC void SAL_CALL uno_getMappingByName( uno_Mapping ** ppMapping, rtl_uString * pFrom, rtl_uString * pTo, rtl_uString * pAddPurpose ) SAL_THROW_EXTERN_C() @@ -607,7 +607,7 @@ void SAL_CALL uno_getMappingByName( } //################################################################################################## -void SAL_CALL uno_registerMapping( +CPPU_DLLPUBLIC void SAL_CALL uno_registerMapping( uno_Mapping ** ppMapping, uno_freeMappingFunc freeMapping, uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose ) SAL_THROW_EXTERN_C() @@ -645,7 +645,7 @@ void SAL_CALL uno_registerMapping( } } //################################################################################################## -void SAL_CALL uno_revokeMapping( +CPPU_DLLPUBLIC void SAL_CALL uno_revokeMapping( uno_Mapping * pMapping ) SAL_THROW_EXTERN_C() { @@ -670,7 +670,7 @@ void SAL_CALL uno_revokeMapping( } //################################################################################################## -void SAL_CALL uno_registerMappingCallback( +CPPU_DLLPUBLIC void SAL_CALL uno_registerMappingCallback( uno_getMappingFunc pCallback ) SAL_THROW_EXTERN_C() { @@ -680,7 +680,7 @@ void SAL_CALL uno_registerMappingCallback( rData.aCallbacks.insert( pCallback ); } //################################################################################################## -void SAL_CALL uno_revokeMappingCallback( +CPPU_DLLPUBLIC void SAL_CALL uno_revokeMappingCallback( uno_getMappingFunc pCallback ) SAL_THROW_EXTERN_C() { diff --git a/cppu/source/uno/sequence.cxx b/cppu/source/uno/sequence.cxx index 5affbef38a0c..0c635984675c 100644 --- a/cppu/source/uno/sequence.cxx +++ b/cppu/source/uno/sequence.cxx @@ -766,7 +766,7 @@ extern "C" { //############################################################################## -sal_Bool SAL_CALL uno_type_sequence_construct( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_construct( uno_Sequence ** ppSequence, typelib_TypeDescriptionReference * pType, void * pElements, sal_Int32 len, uno_AcquireFunc acquire ) @@ -810,7 +810,7 @@ sal_Bool SAL_CALL uno_type_sequence_construct( } //############################################################################## -sal_Bool SAL_CALL uno_sequence_construct( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_construct( uno_Sequence ** ppSequence, typelib_TypeDescription * pTypeDescr, void * pElements, sal_Int32 len, uno_AcquireFunc acquire ) @@ -849,7 +849,7 @@ sal_Bool SAL_CALL uno_sequence_construct( } //############################################################################## -sal_Bool SAL_CALL uno_type_sequence_realloc( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_realloc( uno_Sequence ** ppSequence, typelib_TypeDescriptionReference * pType, sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release ) SAL_THROW_EXTERN_C() @@ -871,7 +871,7 @@ sal_Bool SAL_CALL uno_type_sequence_realloc( } //############################################################################## -sal_Bool SAL_CALL uno_sequence_realloc( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_realloc( uno_Sequence ** ppSequence, typelib_TypeDescription * pTypeDescr, sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release ) SAL_THROW_EXTERN_C() @@ -890,7 +890,7 @@ sal_Bool SAL_CALL uno_sequence_realloc( } //############################################################################## -sal_Bool SAL_CALL uno_type_sequence_reference2One( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_reference2One( uno_Sequence ** ppSequence, typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -937,7 +937,7 @@ sal_Bool SAL_CALL uno_type_sequence_reference2One( } //############################################################################## -sal_Bool SAL_CALL uno_sequence_reference2One( +CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_reference2One( uno_Sequence ** ppSequence, typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -981,7 +981,7 @@ sal_Bool SAL_CALL uno_sequence_reference2One( } //############################################################################## -void SAL_CALL uno_sequence_assign( +CPPU_DLLPUBLIC void SAL_CALL uno_sequence_assign( uno_Sequence ** ppDest, uno_Sequence * pSource, typelib_TypeDescription * pTypeDescr, @@ -997,7 +997,7 @@ void SAL_CALL uno_sequence_assign( } //############################################################################## -void SAL_CALL uno_type_sequence_assign( +CPPU_DLLPUBLIC void SAL_CALL uno_type_sequence_assign( uno_Sequence ** ppDest, uno_Sequence * pSource, typelib_TypeDescriptionReference * pType, |