diff options
author | Steve Fryatt <stevef@netsurf-browser.org> | 2014-06-09 22:51:14 +0100 |
---|---|---|
committer | Steve Fryatt <stevef@netsurf-browser.org> | 2014-06-09 22:51:14 +0100 |
commit | 68146fc711f42de9c1a17c128f2ee0c136673be2 (patch) | |
tree | f6cdc660d7b3e4407fa457e7fc332b37b02c5c45 /utils/nsoption.h | |
parent | cc1d5477ab32c544c915ffad880642f399e1a910 (diff) | |
parent | f6fec1a8d767a71debb94531a0f86e3790bce24f (diff) | |
download | netsurf-68146fc711f42de9c1a17c128f2ee0c136673be2.tar.gz netsurf-68146fc711f42de9c1a17c128f2ee0c136673be2.tar.bz2 |
Merge branch 'master' into stevef/cconfig
Diffstat (limited to 'utils/nsoption.h')
-rw-r--r-- | utils/nsoption.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/nsoption.h b/utils/nsoption.h index d111729aa..134223aa5 100644 --- a/utils/nsoption.h +++ b/utils/nsoption.h @@ -308,6 +308,9 @@ int nsoption_snoptionf(char *string, size_t size, enum nsoption_e option, const /** set an integer option in the default table */ #define nsoption_set_int(OPTION, VALUE) nsoptions[NSOPTION_##OPTION].value.i = VALUE +/** set an unsigned integer option in the default table */ +#define nsoption_set_uint(OPTION, VALUE) nsoptions[NSOPTION_##OPTION].value.u = VALUE + /** set a colour option in the default table */ #define nsoption_set_colour(OPTION, VALUE) nsoptions[NSOPTION_##OPTION].value.c = VALUE |