Made use of ... varargs result in failure, as we don't currently seem
to support it. git-svn-id: svn://10.0.0.236/trunk@42435 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -470,6 +470,12 @@ op_dcl(TreeState *state)
|
||||
gboolean op_notxpcom =
|
||||
(IDL_tree_property_get(op->ident, "notxpcom") != NULL);
|
||||
IDL_tree iter;
|
||||
|
||||
if (op->f_varargs) {
|
||||
/* We don't currently support varargs. */
|
||||
IDL_tree_error(state->tree, "varargs are not currently supported\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
xpidl_write_comment(state, 2);
|
||||
|
||||
|
||||
@@ -859,6 +859,12 @@ typelib_op_dcl(TreeState *state)
|
||||
uint8 op_flags = 0;
|
||||
gboolean op_notxpcom = !!IDL_tree_property_get(op->ident, "notxpcom");
|
||||
gboolean op_noscript = !!IDL_tree_property_get(op->ident, "noscript");
|
||||
|
||||
if (op->f_varargs) {
|
||||
/* We don't currently support varargs. */
|
||||
IDL_tree_error(state->tree, "varargs are not currently supported\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!XPT_InterfaceDescriptorAddMethods(id, 1))
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user