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
ae843427
Commit
ae843427
authored
Mar 19, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Unify indentation of comments.
parent
e809f0bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
typegen.c
tools/widl/typegen.c
+14
-14
No files found.
tools/widl/typegen.c
View file @
ae843427
...
...
@@ -860,7 +860,7 @@ static const char *get_context_handle_type_name(const type_t *type)
do { \
if (file) \
fprintf(file, "
/* %2u */
\n", typestring_offset); \
print_file((file), 2, "0x%02x,
/* " #fctype " */
\n", RPC_##fctype); \
print_file((file), 2, "0x%02x,
\t
/* " #fctype " */
\n", RPC_##fctype); \
} \
while (0)
...
...
@@ -1447,8 +1447,8 @@ static void write_procformatstring_func( FILE *file, int indent, const type_t *i
if
(
!
is_new_style
)
{
print_file
(
file
,
0
,
"/* %u (void) */
\n
"
,
*
offset
);
print_file
(
file
,
indent
,
"0x5b,
/* FC_END */
\n
"
);
print_file
(
file
,
indent
,
"0x5c,
/* FC_PAD */
\n
"
);
print_file
(
file
,
indent
,
"0x5b,
\t
/* FC_END */
\n
"
);
print_file
(
file
,
indent
,
"0x5c,
\t
/* FC_PAD */
\n
"
);
*
offset
+=
2
;
}
}
...
...
@@ -2350,10 +2350,10 @@ static void write_end(FILE *file, unsigned int *tfsoff)
{
if
(
*
tfsoff
%
2
==
0
)
{
print_file
(
file
,
2
,
"0x%x,
\t
\t
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
*
tfsoff
+=
1
;
}
print_file
(
file
,
2
,
"0x%x,
\t
\t
/* FC_END */
\n
"
,
RPC_FC_END
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_END */
\n
"
,
RPC_FC_END
);
*
tfsoff
+=
1
;
}
...
...
@@ -2842,7 +2842,7 @@ static unsigned int write_string_tfs(FILE *file, const attr_list_t *attrs,
WRITE_FCTYPE
(
file
,
FC_WSTRING
,
*
typestring_offset
);
else
WRITE_FCTYPE
(
file
,
FC_CSTRING
,
*
typestring_offset
);
print_file
(
file
,
2
,
"0x%x,
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
*
typestring_offset
+=
2
;
print_file
(
file
,
2
,
"NdrFcShort(0x%hx),
\t
/* %d */
\n
"
,
(
unsigned
short
)
dim
,
dim
);
...
...
@@ -2857,7 +2857,7 @@ static unsigned int write_string_tfs(FILE *file, const attr_list_t *attrs,
WRITE_FCTYPE
(
file
,
FC_C_WSTRING
,
*
typestring_offset
);
else
WRITE_FCTYPE
(
file
,
FC_C_CSTRING
,
*
typestring_offset
);
print_file
(
file
,
2
,
"0x%x,
/* FC_STRING_SIZED */
\n
"
,
RPC_FC_STRING_SIZED
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_STRING_SIZED */
\n
"
,
RPC_FC_STRING_SIZED
);
*
typestring_offset
+=
2
;
*
typestring_offset
+=
write_conf_or_var_desc
(
...
...
@@ -2878,7 +2878,7 @@ static unsigned int write_string_tfs(FILE *file, const attr_list_t *attrs,
WRITE_FCTYPE
(
file
,
FC_C_WSTRING
,
*
typestring_offset
);
else
WRITE_FCTYPE
(
file
,
FC_C_CSTRING
,
*
typestring_offset
);
print_file
(
file
,
2
,
"0x%x,
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
*
typestring_offset
+=
2
;
update_tfsoff
(
type
,
start_offset
,
file
);
...
...
@@ -2964,11 +2964,11 @@ static unsigned int write_array_tfs(FILE *file, const attr_list_t *attrs, type_t
if
(
type_has_pointers
(
type_array_get_element
(
type
))
&&
(
type_array_is_decl_as_ptr
(
type
)
||
!
current_structure
))
{
print_file
(
file
,
2
,
"0x%x,
/* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x,
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
*
typestring_offset
+=
2
;
write_pointer_description
(
file
,
type
,
typestring_offset
);
print_file
(
file
,
2
,
"0x%x,
/* FC_END */
\n
"
,
RPC_FC_END
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_END */
\n
"
,
RPC_FC_END
);
*
typestring_offset
+=
1
;
}
...
...
@@ -3151,11 +3151,11 @@ static unsigned int write_struct_tfs(FILE *file, type_t *type,
(
fc
==
RPC_FC_CPSTRUCT
)
||
(
fc
==
RPC_FC_CVSTRUCT
&&
type_has_pointers
(
type
)))
{
print_file
(
file
,
2
,
"0x%x,
/* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x,
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_PAD */
\n
"
,
RPC_FC_PAD
);
*
tfsoff
+=
2
;
write_pointer_description
(
file
,
type
,
tfsoff
);
print_file
(
file
,
2
,
"0x%x,
/* FC_END */
\n
"
,
RPC_FC_END
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FC_END */
\n
"
,
RPC_FC_END
);
*
tfsoff
+=
1
;
}
...
...
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