mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +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:
parent
8a75f19c3f
commit
3c00855f0e
3 changed files with 16 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue