From ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Sep 2015 14:29:00 +0100 Subject: Implement putforwards processing. interface attributes with the putforwards extended attribute call the setter specified in that extended attribute. The WebIDL is supposed to ensure the attribute is readonly before allowing a putforwards but we only warn about this as there are several examples where readonly is omitted. --- src/ir.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ir.h') diff --git a/src/ir.h b/src/ir.h index 1092fab..ecedc95 100644 --- a/src/ir.h +++ b/src/ir.h @@ -53,6 +53,8 @@ struct ir_attribute_entry { struct webidl_node *node; /**< AST attribute node */ enum webidl_type_modifier modifier; + const char *putforwards; + struct genbind_node *getter; /**< getter from binding */ struct genbind_node *setter; /**< getter from binding */ }; -- cgit v1.2.3