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
2bc8808b
Commit
2bc8808b
authored
Jun 13, 2007
by
Dan Hipschman
Committed by
Alexandre Julliard
Jun 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Test structure argument marshalling.
parent
c0982b42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
server.c
dlls/rpcrt4/tests/server.c
+7
-0
server.idl
dlls/rpcrt4/tests/server.idl
+1
-0
No files found.
dlls/rpcrt4/tests/server.c
View file @
2bc8808b
...
...
@@ -232,6 +232,12 @@ s_square_puint(puint_t p)
return
n
*
n
;
}
int
s_dot_copy_vectors
(
vector_t
u
,
vector_t
v
)
{
return
u
.
x
*
v
.
x
+
u
.
y
*
v
.
y
+
u
.
z
*
v
.
z
;
}
void
s_stop
(
void
)
{
...
...
@@ -342,6 +348,7 @@ basic_tests(void)
ok
(
ptypes_sum
(
&
ptypes
)
==
33
.
0
,
"RPC ptypes_sum
\n
"
);
ok
(
dot_pvectors
(
&
pvecs
)
==
-
21
,
"RPC dot_pvectors
\n
"
);
ok
(
dot_copy_vectors
(
vec1
,
vec2
)
==
-
21
,
"RPC dot_copy_vectors
\n
"
);
ok
(
sum_fixed_array
(
f
)
==
-
2
,
"RPC sum_fixed_array
\n
"
);
ok
(
sum_sp
(
&
sp
)
==
29
,
"RPC sum_sp
\n
"
);
}
...
...
dlls/rpcrt4/tests/server.idl
View file @
2bc8808b
...
...
@@ -132,5 +132,6 @@ interface IServer
typedef [wire_marshal(int)] void *puint_t;
int square_puint(puint_t p);
int dot_copy_vectors(vector_t u, vector_t v);
void stop(void);
}
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