mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -1,5 +1,12 @@
|
||||
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
|
||||
tools/widl/client.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, " __RPC_STUB\n");
|
||||
fprintf(server, "void __RPC_STUB\n");
|
||||
fprintf(server, "%s_", iface->name);
|
||||
write_name(server, def);
|
||||
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("MIDL_user_allocate,\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");
|
||||
|
||||
Reference in New Issue
Block a user