Date: Fri, 26 Jul 2013 12:01:10 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: arch@freebsd.org Subject: Re: General purpose library for name/value pairs. Message-ID: <20130726190110.GT26412@funkthat.com> In-Reply-To: <20130725202832.GD1400@garage.freebsd.pl> References: <20130704215329.GG1402@garage.freebsd.pl> <4818.1373008073@critter.freebsd.dk> <20130705195255.GB25842@garage.freebsd.pl> <60317.1373055040@critter.freebsd.dk> <20130708150308.GE1383@garage.freebsd.pl> <717D098F-D07E-45B0-B9F0-8D8BCEF06923@mail.turbofuzz.com> <20130708213351.GB1405@garage.freebsd.pl> <D2E98A8F-F765-4A56-96CD-4410944A2910@turbofuzz.com> <20130725202832.GD1400@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek wrote this message on Thu, Jul 25, 2013 at 22:28 +0200: > Returning to this thread after a short break. I removed all > {,u}int{8,16.32.64} types and implemented only 'number' type which is > uint64_t. Looks much nicer now. I didn't check the new version, but maybe a function that allows you to specify the min/max values allows... This would let the user not have to write their own range checking code... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130726190110.GT26412>