00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _UNO_ANY2_H_
00020 #define _UNO_ANY2_H_
00021
00022 #include <cppu/cppudllapi.h>
00023 #include <uno/data.h>
00024
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029
00030 #if defined( SAL_W32)
00031 #pragma pack(push, 8)
00032 #endif
00033
00034 struct _typelib_TypeDescriptionReference;
00035 struct _typelib_TypeDescription;
00036 struct _uno_Mapping;
00037
00040 typedef struct _uno_Any
00041 {
00044 struct _typelib_TypeDescriptionReference * pType;
00049 void * pData;
00052 void * pReserved;
00053 } uno_Any;
00054
00055 #if defined( SAL_W32)
00056 #pragma pack(pop)
00057 #endif
00058
00070 CPPU_DLLPUBLIC void SAL_CALL uno_any_assign(
00071 uno_Any * pDest, void * pSource,
00072 struct _typelib_TypeDescription * pTypeDescr,
00073 uno_AcquireFunc acquire, uno_ReleaseFunc release )
00074 SAL_THROW_EXTERN_C();
00086 CPPU_DLLPUBLIC void SAL_CALL uno_type_any_assign(
00087 uno_Any * pDest, void * pSource,
00088 struct _typelib_TypeDescriptionReference * pType,
00089 uno_AcquireFunc acquire, uno_ReleaseFunc release )
00090 SAL_THROW_EXTERN_C();
00091
00100 CPPU_DLLPUBLIC void SAL_CALL uno_any_construct(
00101 uno_Any * pDest, void * pSource,
00102 struct _typelib_TypeDescription * pTypeDescr,
00103 uno_AcquireFunc acquire )
00104 SAL_THROW_EXTERN_C();
00113 CPPU_DLLPUBLIC void SAL_CALL uno_type_any_construct(
00114 uno_Any * pDest, void * pSource,
00115 struct _typelib_TypeDescriptionReference * pType,
00116 uno_AcquireFunc acquire )
00117 SAL_THROW_EXTERN_C();
00118
00126 CPPU_DLLPUBLIC void SAL_CALL uno_any_constructAndConvert(
00127 uno_Any * pDest, void * pSource,
00128 struct _typelib_TypeDescription * pTypeDescr,
00129 struct _uno_Mapping * mapping )
00130 SAL_THROW_EXTERN_C();
00138 CPPU_DLLPUBLIC void SAL_CALL uno_type_any_constructAndConvert(
00139 uno_Any * pDest, void * pSource,
00140 struct _typelib_TypeDescriptionReference * pType,
00141 struct _uno_Mapping * mapping )
00142 SAL_THROW_EXTERN_C();
00143
00150 CPPU_DLLPUBLIC void SAL_CALL uno_any_destruct(
00151 uno_Any * pValue, uno_ReleaseFunc release )
00152 SAL_THROW_EXTERN_C();
00153
00160 CPPU_DLLPUBLIC void SAL_CALL uno_any_clear(
00161 uno_Any * pValue, uno_ReleaseFunc release )
00162 SAL_THROW_EXTERN_C();
00163
00164 #ifdef __cplusplus
00165 }
00166 #endif
00167
00168 #endif
00169
00170