# HG changeset patch # User Paul Boddie # Date 1491852233 -7200 # Node ID 16f3e450a70bd9ad851c7db093d9c86a8043b01f # Parent c0564046a564a6d88f60439a288a3f3cd62c1a0a Represent exception flags within a single byte. diff -r c0564046a564 -r 16f3e450a70b templates/exceptions.h --- a/templates/exceptions.h Sun Apr 09 00:02:50 2017 +0200 +++ b/templates/exceptions.h Mon Apr 10 21:23:53 2017 +0200 @@ -1,6 +1,6 @@ /* Exception definitions. -Copyright (C) 2016 Paul Boddie +Copyright (C) 2016, 2017 Paul Boddie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -27,9 +27,9 @@ typedef struct { __attr arg; - int raising; - int raising_else; - int completing; + unsigned char raising:1; + unsigned char raising_else:1; + unsigned char completing:1; } __exc; define_exception_type(__exc);