summaryrefslogtreecommitdiff
path: root/cppu/source/uno
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-12-18 04:56:57 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2011-12-19 10:14:52 +0100
commitd899f976ee0f4d1058f1adc94853df94a3c6eaea (patch)
treee940d6111ad58fc618eeeca7e213c864a3f11dc3 /cppu/source/uno
parent051fdda153d45789c6eb1a0ec32dbd32dfd8a978 (diff)
cppu: add visibility symbols
Diffstat (limited to 'cppu/source/uno')
-rw-r--r--cppu/source/uno/EnvDcp.c4
-rw-r--r--cppu/source/uno/EnvStack.cxx10
-rw-r--r--cppu/source/uno/any.cxx16
-rw-r--r--cppu/source/uno/data.cxx26
-rw-r--r--cppu/source/uno/env_subst.cxx2
-rw-r--r--cppu/source/uno/lbenv.cxx8
-rw-r--r--cppu/source/uno/lbmap.cxx12
-rw-r--r--cppu/source/uno/sequence.cxx16
8 files changed, 47 insertions, 47 deletions
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,