summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-09-30 14:29:00 +0100
committerVincent Sanders <vince@kyllikki.org>2015-09-30 14:29:00 +0100
commitac6ae0a7b545dbf3391760cfe9e6b86ce0c579db (patch)
treefcae63b386940df295fb1de624ef08eb773c9b90 /src/ir.h
parent476bc961ae4c490dfa0f09293c5611451bb42599 (diff)
downloadnsgenbind-ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db.tar.gz
nsgenbind-ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db.tar.bz2
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.
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h2
1 files changed, 2 insertions, 0 deletions
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 */
};