mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 01:14:15 +00:00
- Server stubs are void functions.
- Fix a warning in the server stub descriptor. svn path=/trunk/; revision=13752
This commit is contained in:
parent
22e4fff2f1
commit
ab419177d6
2 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,12 @@
|
||||||
ChangeLog
|
ChangeLog
|
||||||
|
|
||||||
|
2005-02-26 ekohl
|
||||||
|
tools/widl/server.c
|
||||||
|
|
||||||
|
Server stubs are void functions.
|
||||||
|
Fix a warning in the server stub descriptor.
|
||||||
|
|
||||||
|
|
||||||
2005-02-25 ekohl
|
2005-02-25 ekohl
|
||||||
tools/widl/client.c
|
tools/widl/client.c
|
||||||
tools/widl/header.c
|
tools/widl/header.c
|
||||||
|
|
|
@ -366,8 +366,7 @@ static void write_function_stubs(type_t *iface)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
write_type(server, def->type, def, def->tname);
|
fprintf(server, "void __RPC_STUB\n");
|
||||||
fprintf(server, " __RPC_STUB\n");
|
|
||||||
fprintf(server, "%s_", iface->name);
|
fprintf(server, "%s_", iface->name);
|
||||||
write_name(server, def);
|
write_name(server, def);
|
||||||
fprintf(server, "(\n");
|
fprintf(server, "(\n");
|
||||||
|
@ -602,7 +601,7 @@ static void write_stubdescriptor(type_t *iface)
|
||||||
print_server("(void __RPC_FAR *)& %s___RpcServerInterface,\n", iface->name);
|
print_server("(void __RPC_FAR *)& %s___RpcServerInterface,\n", iface->name);
|
||||||
print_server("MIDL_user_allocate,\n");
|
print_server("MIDL_user_allocate,\n");
|
||||||
print_server("MIDL_user_free,\n");
|
print_server("MIDL_user_free,\n");
|
||||||
print_server("0,\n");
|
print_server("{NULL},\n");
|
||||||
print_server("0,\n");
|
print_server("0,\n");
|
||||||
print_server("0,\n");
|
print_server("0,\n");
|
||||||
print_server("0,\n");
|
print_server("0,\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue