Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
97d6f7c4
Commit
97d6f7c4
authored
Mar 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Mar 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: NdrFcShort should be written out instead of NdrShort.
parent
bed9fdec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
typegen.c
tools/widl/typegen.c
+9
-9
No files found.
tools/widl/typegen.c
View file @
97d6f7c4
...
@@ -313,7 +313,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
...
@@ -313,7 +313,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
print_file
(
file
,
2
,
"0x%x, /* Corr desc: constant, val = %ld */
\n
"
,
print_file
(
file
,
2
,
"0x%x, /* Corr desc: constant, val = %ld */
\n
"
,
RPC_FC_CONSTANT_CONFORMANCE
,
expr
->
cval
);
RPC_FC_CONSTANT_CONFORMANCE
,
expr
->
cval
);
print_file
(
file
,
2
,
"0x%x,
\n
"
,
expr
->
cval
&
~
USHRT_MAX
);
print_file
(
file
,
2
,
"0x%x,
\n
"
,
expr
->
cval
&
~
USHRT_MAX
);
print_file
(
file
,
2
,
"NdrShort(0x%x),
\n
"
,
expr
->
cval
&
USHRT_MAX
);
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x),
\n
"
,
expr
->
cval
&
USHRT_MAX
);
return
4
;
return
4
;
}
}
...
@@ -450,7 +450,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
...
@@ -450,7 +450,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
correlation_type
==
RPC_FC_TOP_LEVEL_CONFORMANCE
?
"parameter, "
:
""
,
correlation_type
==
RPC_FC_TOP_LEVEL_CONFORMANCE
?
"parameter, "
:
""
,
param_type_string
);
param_type_string
);
print_file
(
file
,
2
,
"0x%x, /* %s */
\n
"
,
operator_type
,
operator_string
);
print_file
(
file
,
2
,
"0x%x, /* %s */
\n
"
,
operator_type
,
operator_string
);
print_file
(
file
,
2
,
"NdrShort(0x%x), /* %soffset = %d */
\n
"
,
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* %soffset = %d */
\n
"
,
offset
,
offset
,
correlation_type
==
RPC_FC_TOP_LEVEL_CONFORMANCE
?
"x86 stack size / "
:
""
,
correlation_type
==
RPC_FC_TOP_LEVEL_CONFORMANCE
?
"x86 stack size / "
:
""
,
offset
);
offset
);
...
@@ -499,7 +499,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
...
@@ -499,7 +499,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
correlation_type
,
correlation_type
,
correlation_type
==
RPC_FC_TOP_LEVEL_CONFORMANCE
?
"parameter"
:
""
);
correlation_type
==
RPC_FC_TOP_LEVEL_CONFORMANCE
?
"parameter"
:
""
);
print_file
(
file
,
2
,
"0x%x, /* %s */
\n
"
,
RPC_FC_CALLBACK
,
"FC_CALLBACK"
);
print_file
(
file
,
2
,
"0x%x, /* %s */
\n
"
,
RPC_FC_CALLBACK
,
"FC_CALLBACK"
);
print_file
(
file
,
2
,
"NdrShort(0x%x), /* %u */
\n
"
,
callback_offset
,
callback_offset
);
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* %u */
\n
"
,
callback_offset
,
callback_offset
);
}
}
return
4
;
return
4
;
}
}
...
@@ -1007,7 +1007,7 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
...
@@ -1007,7 +1007,7 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
/* alignment */
/* alignment */
print_file
(
file
,
2
,
"0x0,
\n
"
);
print_file
(
file
,
2
,
"0x0,
\n
"
);
/* total size */
/* total size */
print_file
(
file
,
2
,
"NdrShort(0x%x), /* %u */
\n
"
,
total_size
,
total_size
);
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* %u */
\n
"
,
total_size
,
total_size
);
*
typestring_offset
+=
4
;
*
typestring_offset
+=
4
;
if
(
type
->
type
==
RPC_FC_PSTRUCT
)
if
(
type
->
type
==
RPC_FC_PSTRUCT
)
...
@@ -1057,9 +1057,9 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
...
@@ -1057,9 +1057,9 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
/* alignment */
/* alignment */
print_file
(
file
,
2
,
"0x0,
\n
"
);
print_file
(
file
,
2
,
"0x0,
\n
"
);
/* total size */
/* total size */
print_file
(
file
,
2
,
"NdrShort(0x%x), /* %u */
\n
"
,
total_size
,
total_size
);
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* %u */
\n
"
,
total_size
,
total_size
);
*
typestring_offset
+=
4
;
*
typestring_offset
+=
4
;
print_file
(
file
,
2
,
"NdrShort(0x%x), /* offset = %d (%u) */
\n
"
,
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* offset = %d (%u) */
\n
"
,
array_offset
-
*
typestring_offset
,
array_offset
-
*
typestring_offset
,
array_offset
-
*
typestring_offset
,
array_offset
-
*
typestring_offset
,
array_offset
);
array_offset
);
...
@@ -1108,9 +1108,9 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
...
@@ -1108,9 +1108,9 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
/* alignment */
/* alignment */
print_file
(
file
,
2
,
"0x0,
\n
"
);
print_file
(
file
,
2
,
"0x0,
\n
"
);
/* total size */
/* total size */
print_file
(
file
,
2
,
"NdrShort(0x%x), /* %u */
\n
"
,
total_size
,
total_size
);
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* %u */
\n
"
,
total_size
,
total_size
);
*
typestring_offset
+=
4
;
*
typestring_offset
+=
4
;
print_file
(
file
,
2
,
"NdrShort(0x%x), /* offset = %d (%u) */
\n
"
,
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* offset = %d (%u) */
\n
"
,
array_offset
-
*
typestring_offset
,
array_offset
-
*
typestring_offset
,
array_offset
-
*
typestring_offset
,
array_offset
-
*
typestring_offset
,
array_offset
);
array_offset
);
...
@@ -1145,7 +1145,7 @@ static void write_pointer_only_tfs(FILE *file, const attr_t *attrs, size_t offse
...
@@ -1145,7 +1145,7 @@ static void write_pointer_only_tfs(FILE *file, const attr_t *attrs, size_t offse
print_file
(
file
,
2
,
"0x%x, 0x00, /* %s */
\n
"
,
print_file
(
file
,
2
,
"0x%x, 0x00, /* %s */
\n
"
,
pointer_type
,
pointer_type
,
pointer_type
==
RPC_FC_FP
?
"FC_FP"
:
(
pointer_type
==
RPC_FC_UP
?
"FC_UP"
:
"FC_RP"
));
pointer_type
==
RPC_FC_FP
?
"FC_FP"
:
(
pointer_type
==
RPC_FC_UP
?
"FC_UP"
:
"FC_RP"
));
print_file
(
file
,
2
,
"NdrShort(0x%x), /* %d */
\n
"
,
offset
,
offset
);
print_file
(
file
,
2
,
"Ndr
Fc
Short(0x%x), /* %d */
\n
"
,
offset
,
offset
);
*
typeformat_offset
+=
4
;
*
typeformat_offset
+=
4
;
}
}
...
...
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