From 992c8bce3e1938609193561028d67b86753e6e5b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Jun 2019 16:29:29 +0200 Subject: Add faster decimal digit counting function --- wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 585789d6..b43626d0 100644 --- a/wscript +++ b/wscript @@ -73,6 +73,7 @@ def configure(conf): 'msvc': [ '/wd4061', # enumerator in switch is not explicitly handled '/wd4200', # nonstandard: zero-sized array in struct/union + '/wd4464', # relative include path contains '..' '/wd4514', # unreferenced inline function has been removed '/wd4710', # function not inlined '/wd4711', # function selected for automatic inline expansion @@ -168,6 +169,7 @@ lib_source = ['src/base64.c', 'src/byte_sink.c', 'src/byte_source.c', 'src/cursor.c', + 'src/decimal.c', 'src/env.c', 'src/inserter.c', 'src/int_math.c', @@ -255,6 +257,7 @@ def build(bld): for prog in [('serdi_static', 'src/serdi.c'), ('base64_test', 'tests/base64_test.c'), ('cursor_test', 'tests/cursor_test.c'), + ('decimal_test', 'tests/decimal_test.c'), ('env_test', 'tests/env_test.c'), ('free_null_test', 'tests/free_null_test.c'), ('int_math_test', 'tests/int_math_test.c'), @@ -686,6 +689,7 @@ def test(tst): with tst.group('Unit') as check: check(['./base64_test']) check(['./cursor_test']) + check(['./decimal_test']) check(['./env_test']) check(['./free_null_test']) check(['./int_math_test']) -- cgit v1.2.1