summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2016-02-01 11:34:35 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2016-02-01 11:34:35 +0000
commitb0b8fe9acf002cbfeb68873cac6e01345e173fa8 (patch)
tree63595a55ac340381fdf0a0f46203c97caf0610e5 /src/ir.h
parentd81d30699f57f0ca41b917c854ef6d0875a18129 (diff)
downloadnsgenbind-b0b8fe9acf002cbfeb68873cac6e01345e173fa8.tar.gz
nsgenbind-b0b8fe9acf002cbfeb68873cac6e01345e173fa8.tar.bz2
Expose nullable flag in IR and have generated getters use it.
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir.h b/src/ir.h
index d3dd5d0..a6fcf12 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -53,6 +53,7 @@ struct ir_operation_entry {
struct ir_type_entry {
enum webidl_type base; /**< base of the type (long, short, user etc.) */
enum webidl_type_modifier modifier; /**< modifier for the type */
+ bool nullable; /**< the type is nullable */
const char *name; /**< name of type for user types */
};