mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
build: Make the default symbol visibility "hidden".
We tag far fewer symbols this way. Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
688cdb218e
commit
d27fee64ab
@@ -22,6 +22,6 @@
|
||||
#include "vkd3d_windows.h"
|
||||
#include "vkd3d_d3dcommon.h"
|
||||
|
||||
HRESULT vkd3d_blob_create(void *buffer, SIZE_T size, ID3D10Blob **blob) DECLSPEC_HIDDEN;
|
||||
HRESULT vkd3d_blob_create(void *buffer, SIZE_T size, ID3D10Blob **blob);
|
||||
|
||||
#endif /* __VKD3D_BLOB_H */
|
||||
|
||||
@@ -209,6 +209,6 @@ static inline void vkd3d_parse_version(const char *version, int *major, int *min
|
||||
*minor = atoi(version);
|
||||
}
|
||||
|
||||
HRESULT hresult_from_vkd3d_result(int vkd3d_result) DECLSPEC_HIDDEN;
|
||||
HRESULT hresult_from_vkd3d_result(int vkd3d_result);
|
||||
|
||||
#endif /* __VKD3D_COMMON_H */
|
||||
|
||||
@@ -44,15 +44,14 @@ enum vkd3d_dbg_level
|
||||
VKD3D_DBG_LEVEL_TRACE,
|
||||
};
|
||||
|
||||
enum vkd3d_dbg_level vkd3d_dbg_get_level(void) DECLSPEC_HIDDEN;
|
||||
enum vkd3d_dbg_level vkd3d_dbg_get_level(void);
|
||||
|
||||
void vkd3d_dbg_printf(enum vkd3d_dbg_level level, const char *function,
|
||||
const char *fmt, ...) VKD3D_PRINTF_FUNC(3, 4) DECLSPEC_HIDDEN;
|
||||
void vkd3d_dbg_printf(enum vkd3d_dbg_level level, const char *function, const char *fmt, ...) VKD3D_PRINTF_FUNC(3, 4);
|
||||
|
||||
const char *vkd3d_dbg_sprintf(const char *fmt, ...) VKD3D_PRINTF_FUNC(1, 2) DECLSPEC_HIDDEN;
|
||||
const char *vkd3d_dbg_vsprintf(const char *fmt, va_list args) DECLSPEC_HIDDEN;
|
||||
const char *debugstr_a(const char *str) DECLSPEC_HIDDEN;
|
||||
const char *debugstr_w(const WCHAR *wstr, size_t wchar_size) DECLSPEC_HIDDEN;
|
||||
const char *vkd3d_dbg_sprintf(const char *fmt, ...) VKD3D_PRINTF_FUNC(1, 2);
|
||||
const char *vkd3d_dbg_vsprintf(const char *fmt, va_list args);
|
||||
const char *debugstr_a(const char *str);
|
||||
const char *debugstr_w(const WCHAR *wstr, size_t wchar_size);
|
||||
|
||||
#define VKD3D_DBG_LOG(level) \
|
||||
do { \
|
||||
@@ -103,7 +102,7 @@ static inline const char *debugstr_guid(const GUID *guid)
|
||||
guid->Data4[5], guid->Data4[6], guid->Data4[7]);
|
||||
}
|
||||
|
||||
unsigned int vkd3d_env_var_as_uint(const char *name, unsigned int default_value) DECLSPEC_HIDDEN;
|
||||
unsigned int vkd3d_env_var_as_uint(const char *name, unsigned int default_value);
|
||||
|
||||
struct vkd3d_debug_option
|
||||
{
|
||||
@@ -111,8 +110,8 @@ struct vkd3d_debug_option
|
||||
uint64_t flag;
|
||||
};
|
||||
|
||||
bool vkd3d_debug_list_has_member(const char *string, const char *member) DECLSPEC_HIDDEN;
|
||||
bool vkd3d_debug_list_has_member(const char *string, const char *member);
|
||||
uint64_t vkd3d_parse_debug_options(const char *string,
|
||||
const struct vkd3d_debug_option *options, unsigned int option_count) DECLSPEC_HIDDEN;
|
||||
const struct vkd3d_debug_option *options, unsigned int option_count);
|
||||
|
||||
#endif /* __VKD3D_DEBUG_H */
|
||||
|
||||
@@ -65,7 +65,6 @@ static inline char *vkd3d_strdup(const char *string)
|
||||
return ptr;
|
||||
}
|
||||
|
||||
bool vkd3d_array_reserve(void **elements, size_t *capacity,
|
||||
size_t element_count, size_t element_size) DECLSPEC_HIDDEN;
|
||||
bool vkd3d_array_reserve(void **elements, size_t *capacity, size_t element_count, size_t element_size);
|
||||
|
||||
#endif /* __VKD3D_MEMORY_H */
|
||||
|
||||
@@ -21,6 +21,6 @@
|
||||
|
||||
#include "vkd3d_common.h"
|
||||
|
||||
char *vkd3d_strdup_w_utf8(const WCHAR *wstr, size_t wchar_size) DECLSPEC_HIDDEN;
|
||||
char *vkd3d_strdup_w_utf8(const WCHAR *wstr, size_t wchar_size);
|
||||
|
||||
#endif /* __VKD3D_UTF8_H */
|
||||
|
||||
Reference in New Issue
Block a user