Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
43df1ed4
Commit
43df1ed4
authored
Jul 07, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Make varargs functions WINAPIV.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=47473
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
40a83b2f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
+15
-15
asmshader.y
dlls/d3dcompiler_43/asmshader.y
+1
-1
compiler.c
dlls/d3dcompiler_43/compiler.c
+3
-3
d3dcompiler_private.h
dlls/d3dcompiler_43/d3dcompiler_private.h
+3
-3
hlsl.y
dlls/d3dcompiler_43/hlsl.y
+2
-2
ppl.l
dlls/d3dcompiler_43/ppl.l
+1
-1
preproc.c
dlls/d3dcompiler_43/preproc.c
+1
-1
wpp_private.h
dlls/d3dcompiler_43/wpp_private.h
+4
-4
No files found.
dlls/d3dcompiler_43/asmshader.y
View file @
43df1ed4
...
...
@@ -28,7 +28,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(asmshader);
struct asm_parser asm_ctx;
void
__cdecl
asmparser_message(struct asm_parser *ctx, const char *fmt, ...)
void
WINAPIV
asmparser_message(struct asm_parser *ctx, const char *fmt, ...)
{
__ms_va_list args;
...
...
dlls/d3dcompiler_43/compiler.c
View file @
43df1ed4
...
...
@@ -123,7 +123,7 @@ static void wpp_write_message(const char *fmt, __ms_va_list args)
}
}
static
void
__cdecl
PRINTF_ATTR
(
1
,
2
)
wpp_write_message_var
(
const
char
*
fmt
,
...)
static
void
WINAPIV
PRINTF_ATTR
(
1
,
2
)
wpp_write_message_var
(
const
char
*
fmt
,
...)
{
__ms_va_list
args
;
...
...
@@ -132,7 +132,7 @@ static void __cdecl PRINTF_ATTR(1,2) wpp_write_message_var(const char *fmt, ...)
__ms_va_end
(
args
);
}
int
__cdecl
ppy_error
(
const
char
*
msg
,
...)
int
WINAPIV
ppy_error
(
const
char
*
msg
,
...)
{
__ms_va_list
ap
;
__ms_va_start
(
ap
,
msg
);
...
...
@@ -146,7 +146,7 @@ int __cdecl ppy_error(const char *msg, ...)
return
1
;
}
int
__cdecl
ppy_warning
(
const
char
*
msg
,
...)
int
WINAPIV
ppy_warning
(
const
char
*
msg
,
...)
{
__ms_va_list
ap
;
__ms_va_start
(
ap
,
msg
);
...
...
dlls/d3dcompiler_43/d3dcompiler_private.h
View file @
43df1ed4
...
...
@@ -286,7 +286,7 @@ struct bwriter_shader *parse_asm_shader(char **messages) DECLSPEC_HIDDEN;
#endif
void
compilation_message
(
struct
compilation_messages
*
msg
,
const
char
*
fmt
,
__ms_va_list
args
)
DECLSPEC_HIDDEN
;
void
__cdecl
asmparser_message
(
struct
asm_parser
*
ctx
,
const
char
*
fmt
,
...)
PRINTF_ATTR
(
2
,
3
)
DECLSPEC_HIDDEN
;
void
WINAPIV
asmparser_message
(
struct
asm_parser
*
ctx
,
const
char
*
fmt
,
...)
PRINTF_ATTR
(
2
,
3
)
DECLSPEC_HIDDEN
;
static
inline
void
set_parse_status
(
enum
parse_status
*
current
,
enum
parse_status
update
)
{
if
(
update
==
PARSE_ERR
)
...
...
@@ -1055,8 +1055,8 @@ enum hlsl_error_level
HLSL_LEVEL_NOTE
,
};
void
__cdecl
hlsl_message
(
const
char
*
fmt
,
...)
PRINTF_ATTR
(
1
,
2
)
DECLSPEC_HIDDEN
;
void
__cdecl
hlsl_report_message
(
const
char
*
filename
,
DWORD
line
,
DWORD
column
,
void
WINAPIV
hlsl_message
(
const
char
*
fmt
,
...)
PRINTF_ATTR
(
1
,
2
)
DECLSPEC_HIDDEN
;
void
WINAPIV
hlsl_report_message
(
const
char
*
filename
,
DWORD
line
,
DWORD
column
,
enum
hlsl_error_level
level
,
const
char
*
fmt
,
...)
PRINTF_ATTR
(
5
,
6
)
DECLSPEC_HIDDEN
;
static
inline
struct
hlsl_ir_var
*
var_from_node
(
const
struct
hlsl_ir_node
*
node
)
...
...
dlls/d3dcompiler_43/hlsl.y
View file @
43df1ed4
...
...
@@ -34,7 +34,7 @@ struct hlsl_parse_ctx hlsl_ctx;
struct YYLTYPE;
static void set_location(struct source_location *loc, const struct YYLTYPE *l);
void
__cdecl
hlsl_message(const char *fmt, ...)
void
WINAPIV
hlsl_message(const char *fmt, ...)
{
__ms_va_list args;
...
...
@@ -54,7 +54,7 @@ static const char *hlsl_get_error_level_name(enum hlsl_error_level level)
return names[level];
}
void
__cdecl
hlsl_report_message(const char *filename, DWORD line, DWORD column,
void
WINAPIV
hlsl_report_message(const char *filename, DWORD line, DWORD column,
enum hlsl_error_level level, const char *fmt, ...)
{
__ms_va_list args;
...
...
dlls/d3dcompiler_43/ppl.l
View file @
43df1ed4
...
...
@@ -285,7 +285,7 @@ includelogicentry_t *pp_includelogiclist = NULL;
#define BUFFERINITIALCAPACITY 256
void
__cdecl
pp_writestring(const char *format, ...)
void
WINAPIV
pp_writestring(const char *format, ...)
{
__ms_va_list valist;
int len;
...
...
dlls/d3dcompiler_43/preproc.c
View file @
43df1ed4
...
...
@@ -435,7 +435,7 @@ int pp_get_if_depth(void)
return
if_stack_idx
;
}
void
__cdecl
pp_internal_error
(
const
char
*
file
,
int
line
,
const
char
*
s
,
...)
void
WINAPIV
pp_internal_error
(
const
char
*
file
,
int
line
,
const
char
*
s
,
...)
{
__ms_va_list
ap
;
__ms_va_start
(
ap
,
s
);
...
...
dlls/d3dcompiler_43/wpp_private.h
View file @
43df1ed4
...
...
@@ -209,9 +209,9 @@ int pp_get_if_depth(void);
extern
const
struct
wpp_callbacks
*
wpp_callbacks
;
int
__cdecl
ppy_error
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
int
__cdecl
ppy_warning
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
void
__cdecl
pp_internal_error
(
const
char
*
file
,
int
line
,
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
3
,
4
)));
int
WINAPIV
ppy_error
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
int
WINAPIV
ppy_warning
(
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
void
WINAPIV
pp_internal_error
(
const
char
*
file
,
int
line
,
const
char
*
s
,
...)
__attribute__
((
format
(
printf
,
3
,
4
)));
/* current preprocessor state */
/* everything is in this structure to avoid polluting the global symbol space */
...
...
@@ -240,7 +240,7 @@ void pp_do_include(char *fname, int type);
void
pp_push_ignore_state
(
void
);
void
pp_pop_ignore_state
(
void
);
void
__cdecl
pp_writestring
(
const
char
*
format
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
void
WINAPIV
pp_writestring
(
const
char
*
format
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
/*
* From ppy.y
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment