From b0b8fe9acf002cbfeb68873cac6e01345e173fa8 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Mon, 1 Feb 2016 11:34:35 +0000 Subject: Expose nullable flag in IR and have generated getters use it. --- src/ir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ir.h') 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 */ }; -- cgit v1.2.3