Merge branch 'bug551744-boxed-ctors'

svn path=/trunk/; revision=654
This commit is contained in:
Colin Walters 2008-10-03 19:30:12 +00:00
parent aceef77051
commit ea99326529

View File

@ -738,6 +738,8 @@ validate_function_blob (ValidateContext *ctx,
switch (container_type)
{
case BLOB_TYPE_BOXED:
case BLOB_TYPE_STRUCT:
case BLOB_TYPE_UNION:
case BLOB_TYPE_OBJECT:
case BLOB_TYPE_INTERFACE:
is_method = !(blob->constructor || blob->setter || blob->getter || blob->wraps_vfunc);
@ -751,6 +753,8 @@ validate_function_blob (ValidateContext *ctx,
switch (container_type)
{
case BLOB_TYPE_BOXED:
case BLOB_TYPE_STRUCT:
case BLOB_TYPE_UNION:
case BLOB_TYPE_OBJECT:
case BLOB_TYPE_INTERFACE:
break;