Henri Verbeet : d3d10core: Mark internal symbols hidden.

Alexandre Julliard julliard at winehq.org
Tue Sep 22 13:55:23 CDT 2009


Module: wine
Branch: master
Commit: 802674e078546d400a0b8fd6efa9ac8fcff0a705
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=802674e078546d400a0b8fd6efa9ac8fcff0a705

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Sun Sep 20 20:09:27 2009 +0200

d3d10core: Mark internal symbols hidden.

---

 dlls/d3d10core/d3d10core_private.h |   41 ++++++++++++++++++-----------------
 1 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/dlls/d3d10core/d3d10core_private.h b/dlls/d3d10core/d3d10core_private.h
index ad03b47..42fe735 100644
--- a/dlls/d3d10core/d3d10core_private.h
+++ b/dlls/d3d10core/d3d10core_private.h
@@ -49,11 +49,11 @@ struct d3d10_shader_info
 };
 
 /* TRACE helper functions */
-const char *debug_d3d10_primitive_topology(D3D10_PRIMITIVE_TOPOLOGY topology);
-const char *debug_dxgi_format(DXGI_FORMAT format);
+const char *debug_d3d10_primitive_topology(D3D10_PRIMITIVE_TOPOLOGY topology) DECLSPEC_HIDDEN;
+const char *debug_dxgi_format(DXGI_FORMAT format) DECLSPEC_HIDDEN;
 
-DXGI_FORMAT dxgi_format_from_wined3dformat(WINED3DFORMAT format);
-WINED3DFORMAT wined3dformat_from_dxgi_format(DXGI_FORMAT format);
+DXGI_FORMAT dxgi_format_from_wined3dformat(WINED3DFORMAT format) DECLSPEC_HIDDEN;
+WINED3DFORMAT wined3dformat_from_dxgi_format(DXGI_FORMAT format) DECLSPEC_HIDDEN;
 
 static inline void read_dword(const char **ptr, DWORD *d)
 {
@@ -61,15 +61,15 @@ static inline void read_dword(const char **ptr, DWORD *d)
     *ptr += sizeof(*d);
 }
 
-void skip_dword_unknown(const char **ptr, unsigned int count);
+void skip_dword_unknown(const char **ptr, unsigned int count) DECLSPEC_HIDDEN;
 
 HRESULT parse_dxbc(const char *data, SIZE_T data_size,
-        HRESULT (*chunk_handler)(const char *data, DWORD data_size, DWORD tag, void *ctx), void *ctx);
+        HRESULT (*chunk_handler)(const char *data, DWORD data_size, DWORD tag, void *ctx), void *ctx) DECLSPEC_HIDDEN;
 
 /* IDirect3D10Device */
-extern const struct ID3D10DeviceVtbl d3d10_device_vtbl;
-extern const struct IUnknownVtbl d3d10_device_inner_unknown_vtbl;
-extern const struct IWineD3DDeviceParentVtbl d3d10_wined3d_device_parent_vtbl;
+extern const struct ID3D10DeviceVtbl d3d10_device_vtbl DECLSPEC_HIDDEN;
+extern const struct IUnknownVtbl d3d10_device_inner_unknown_vtbl DECLSPEC_HIDDEN;
+extern const struct IWineD3DDeviceParentVtbl d3d10_wined3d_device_parent_vtbl DECLSPEC_HIDDEN;
 struct d3d10_device
 {
     const struct ID3D10DeviceVtbl *vtbl;
@@ -93,7 +93,7 @@ struct d3d10_texture2d
 };
 
 HRESULT d3d10_texture2d_init(struct d3d10_texture2d *texture, struct d3d10_device *device,
-        const D3D10_TEXTURE2D_DESC *desc);
+        const D3D10_TEXTURE2D_DESC *desc) DECLSPEC_HIDDEN;
 
 /* ID3D10Buffer */
 struct d3d10_buffer
@@ -105,10 +105,10 @@ struct d3d10_buffer
 };
 
 HRESULT d3d10_buffer_init(struct d3d10_buffer *buffer, struct d3d10_device *device,
-        const D3D10_BUFFER_DESC *desc, const D3D10_SUBRESOURCE_DATA *data);
+        const D3D10_BUFFER_DESC *desc, const D3D10_SUBRESOURCE_DATA *data) DECLSPEC_HIDDEN;
 
 /* ID3D10RenderTargetView */
-extern const struct ID3D10RenderTargetViewVtbl d3d10_rendertarget_view_vtbl;
+extern const struct ID3D10RenderTargetViewVtbl d3d10_rendertarget_view_vtbl DECLSPEC_HIDDEN;
 struct d3d10_rendertarget_view
 {
     const struct ID3D10RenderTargetViewVtbl *vtbl;
@@ -119,7 +119,7 @@ struct d3d10_rendertarget_view
 };
 
 /* ID3D10InputLayout */
-extern const struct ID3D10InputLayoutVtbl d3d10_input_layout_vtbl;
+extern const struct ID3D10InputLayoutVtbl d3d10_input_layout_vtbl DECLSPEC_HIDDEN;
 struct d3d10_input_layout
 {
     const struct ID3D10InputLayoutVtbl *vtbl;
@@ -130,10 +130,10 @@ struct d3d10_input_layout
 
 HRESULT d3d10_input_layout_to_wined3d_declaration(const D3D10_INPUT_ELEMENT_DESC *element_descs,
         UINT element_count, const void *shader_byte_code, SIZE_T shader_byte_code_length,
-        WINED3DVERTEXELEMENT **wined3d_elements, UINT *wined3d_element_count);
+        WINED3DVERTEXELEMENT **wined3d_elements, UINT *wined3d_element_count) DECLSPEC_HIDDEN;
 
 /* ID3D10VertexShader */
-extern const struct ID3D10VertexShaderVtbl d3d10_vertex_shader_vtbl;
+extern const struct ID3D10VertexShaderVtbl d3d10_vertex_shader_vtbl DECLSPEC_HIDDEN;
 struct d3d10_vertex_shader
 {
     const struct ID3D10VertexShaderVtbl *vtbl;
@@ -144,7 +144,7 @@ struct d3d10_vertex_shader
 };
 
 /* ID3D10GeometryShader */
-extern const struct ID3D10GeometryShaderVtbl d3d10_geometry_shader_vtbl;
+extern const struct ID3D10GeometryShaderVtbl d3d10_geometry_shader_vtbl DECLSPEC_HIDDEN;
 struct d3d10_geometry_shader
 {
     const struct ID3D10GeometryShaderVtbl *vtbl;
@@ -152,7 +152,7 @@ struct d3d10_geometry_shader
 };
 
 /* ID3D10PixelShader */
-extern const struct ID3D10PixelShaderVtbl d3d10_pixel_shader_vtbl;
+extern const struct ID3D10PixelShaderVtbl d3d10_pixel_shader_vtbl DECLSPEC_HIDDEN;
 struct d3d10_pixel_shader
 {
     const struct ID3D10PixelShaderVtbl *vtbl;
@@ -162,9 +162,10 @@ struct d3d10_pixel_shader
     struct wined3d_shader_signature output_signature;
 };
 
-HRESULT shader_extract_from_dxbc(const void *dxbc, SIZE_T dxbc_length, struct d3d10_shader_info *shader_info);
-HRESULT shader_parse_signature(const char *data, DWORD data_size, struct wined3d_shader_signature *s);
-void shader_free_signature(struct wined3d_shader_signature *s);
+HRESULT shader_extract_from_dxbc(const void *dxbc, SIZE_T dxbc_length,
+        struct d3d10_shader_info *shader_info) DECLSPEC_HIDDEN;
+HRESULT shader_parse_signature(const char *data, DWORD data_size, struct wined3d_shader_signature *s) DECLSPEC_HIDDEN;
+void shader_free_signature(struct wined3d_shader_signature *s) DECLSPEC_HIDDEN;
 
 /* Layered device */
 enum dxgi_device_layer_id




More information about the wine-cvs mailing list