diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-09-30 14:29:00 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-09-30 14:29:00 +0100 |
commit | ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db (patch) | |
tree | fcae63b386940df295fb1de624ef08eb773c9b90 /src/ir.h | |
parent | 476bc961ae4c490dfa0f09293c5611451bb42599 (diff) | |
download | nsgenbind-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ }; |