Marcus Meissner : oleaut32: Mark various symbols as hidden.
Alexandre Julliard
julliard at winehq.org
Wed Jan 9 13:30:37 CST 2013
Module: wine
Branch: master
Commit: 063dccdd8ac46589032191e4dbe9755b26d3a41f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=063dccdd8ac46589032191e4dbe9755b26d3a41f
Author: Marcus Meissner <meissner at suse.de>
Date: Wed Jan 9 03:20:24 2013 +0100
oleaut32: Mark various symbols as hidden.
---
dlls/oleaut32/connpt.h | 2 +-
dlls/oleaut32/typelib.h | 14 +++++++-------
dlls/oleaut32/variant.h | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/dlls/oleaut32/connpt.h b/dlls/oleaut32/connpt.h
index cac3ae6..e0bdd8b 100644
--- a/dlls/oleaut32/connpt.h
+++ b/dlls/oleaut32/connpt.h
@@ -19,6 +19,6 @@
#ifndef _CONNPT_H
#define _CONNPT_H
-HRESULT CreateConnectionPoint(IUnknown *pUnk, REFIID riid, IConnectionPoint **pCP);
+HRESULT CreateConnectionPoint(IUnknown *pUnk, REFIID riid, IConnectionPoint **pCP) DECLSPEC_HIDDEN;
#endif /* _CONNPT_H */
diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h
index d6e752a..7277b58 100644
--- a/dlls/oleaut32/typelib.h
+++ b/dlls/oleaut32/typelib.h
@@ -597,16 +597,16 @@ WORD typeofarray
#include "poppack.h"
/* heap allocation helpers */
-extern void* heap_alloc_zero(unsigned size);
-extern void* heap_alloc(unsigned size);
-extern void* heap_realloc(void *ptr, unsigned size);
-extern void heap_free(void *ptr);
+extern void* heap_alloc_zero(unsigned size) DECLSPEC_HIDDEN __WINE_ALLOC_SIZE(1);
+extern void* heap_alloc(unsigned size) DECLSPEC_HIDDEN __WINE_ALLOC_SIZE(1);
+extern void* heap_realloc(void *ptr, unsigned size) DECLSPEC_HIDDEN;
+extern void heap_free(void *ptr) DECLSPEC_HIDDEN;
-HRESULT ITypeInfoImpl_GetInternalFuncDesc( ITypeInfo *iface, UINT index, const FUNCDESC **ppFuncDesc );
+HRESULT ITypeInfoImpl_GetInternalFuncDesc( ITypeInfo *iface, UINT index, const FUNCDESC **ppFuncDesc ) DECLSPEC_HIDDEN;
-extern DWORD _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args);
+extern DWORD _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args) DECLSPEC_HIDDEN;
-HRESULT TMARSHAL_DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv);
+HRESULT TMARSHAL_DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv) DECLSPEC_HIDDEN;
/* The OLE Automation ProxyStub Interface Class (aka Typelib Marshaler) */
DEFINE_OLEGUID( CLSID_PSDispatch, 0x00020420, 0x0000, 0x0000 );
diff --git a/dlls/oleaut32/variant.h b/dlls/oleaut32/variant.h
index 265fcc8..b6af547 100644
--- a/dlls/oleaut32/variant.h
+++ b/dlls/oleaut32/variant.h
@@ -48,12 +48,12 @@
#define VTBIT_VARIANT (1 << VT_VARIANT)
#define VTBIT_15 (1 << 15) /* no variant type with this number */
-extern const char * const wine_vtypes[];
+extern const char * const wine_vtypes[] DECLSPEC_HIDDEN;
#define debugstr_vt(v) (((v)&VT_TYPEMASK) <= VT_CLSID ? wine_vtypes[((v)&VT_TYPEMASK)] : \
((v)&VT_TYPEMASK) == VT_BSTR_BLOB ? "VT_BSTR_BLOB": "Invalid")
#define debugstr_VT(v) (!(v) ? "(null)" : debugstr_vt(V_TYPE((v))))
-extern const char * const wine_vflags[];
+extern const char * const wine_vflags[] DECLSPEC_HIDDEN;
#define debugstr_vf(v) (wine_vflags[((v)&VT_EXTRA_TYPE)>>12])
#define debugstr_VF(v) (!(v) ? "(null)" : debugstr_vf(V_EXTRA_TYPE(v)))
@@ -125,5 +125,5 @@ typedef struct tagVARIANT_NUMBER_CHARS
} VARIANT_NUMBER_CHARS;
-BOOL VARIANT_GetLocalisedText(LANGID, DWORD, WCHAR *);
-HRESULT VARIANT_ClearInd(VARIANTARG *);
+BOOL VARIANT_GetLocalisedText(LANGID, DWORD, WCHAR *) DECLSPEC_HIDDEN;
+HRESULT VARIANT_ClearInd(VARIANTARG *) DECLSPEC_HIDDEN;
More information about the wine-cvs
mailing list