mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
Allocate another 4 bytes for unique pointers to simple types.
This fixes bug #1048. svn path=/trunk/; revision=19632
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
ChangeLog
|
||||
|
||||
2005-11-26 ekohl
|
||||
|
||||
tools/widl/client.c
|
||||
tools/widl/server.c
|
||||
|
||||
- Allocate another 4 bytes for unique pointers to simple types.
|
||||
|
||||
2005-10-16 ekohl
|
||||
|
||||
tools/widl/client.c
|
||||
|
||||
@@ -731,6 +731,9 @@ static void print_message_buffer_size(func_t *func, unsigned int *type_offset)
|
||||
__FUNCTION__,__LINE__, var->type->type);
|
||||
return;
|
||||
}
|
||||
|
||||
if (unique_attr)
|
||||
size += 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -649,6 +649,7 @@ static void print_message_buffer_size(func_t *func, unsigned int *type_offset)
|
||||
out_attr = is_attr(var->attrs, ATTR_OUT);
|
||||
string_attr = is_attr(var->attrs, ATTR_STRING);
|
||||
sizeis_attr = get_attrp(var->attrs, ATTR_SIZEIS);
|
||||
unique_attr = is_attr(var->attrs, ATTR_UNIQUE);
|
||||
|
||||
if (out_attr)
|
||||
{
|
||||
@@ -708,6 +709,11 @@ static void print_message_buffer_size(func_t *func, unsigned int *type_offset)
|
||||
__FUNCTION__,__LINE__, var->type->type);
|
||||
return;
|
||||
}
|
||||
|
||||
if (unique_attr)
|
||||
{
|
||||
size += 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (var->type->type == RPC_FC_RP)
|
||||
|
||||
Reference in New Issue
Block a user