diff --git a/Makefile b/Makefile
index dab64e5..3df9cfc 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@
## THIS SOFTWARE.
build: gen
+ ${GMAKE} -C libffi all
${MAKE} -C libtommath build
${MAKE} -C ucd2c build
${MAKE} -C libc3 build
@@ -19,6 +20,7 @@ build: gen
${MAKE} -C test build
all: gen
+ ${GMAKE} -C libffi all
${MAKE} -C libtommath all
${MAKE} -C ucd2c all
${MAKE} -C libc3 all
@@ -27,6 +29,7 @@ all: gen
${MAKE} -C test all
asan:
+ ${GMAKE} -C libffi asan
${MAKE} -C libtommath asan
${MAKE} -C libc3 asan
${MAKE} -C ic3 asan
@@ -34,6 +37,7 @@ asan:
${MAKE} -C test asan
cov:
+ ${GMAKE} -C libffi cov
${MAKE} -C libtommath cov
${MAKE} -C libc3 cov
${MAKE} -C ic3 cov
@@ -41,6 +45,7 @@ cov:
${MAKE} -C test cov
clean:
+ ${GMAKE} -C libffi clean
${MAKE} -C libtommath clean
${MAKE} -C ucd2c clean
${MAKE} -C libc3 clean
@@ -49,6 +54,7 @@ clean:
${MAKE} -C test clean
clean_cov:
+ ${GMAKE} -C libffi clean_cov
${MAKE} -C libtommath clean_cov
${MAKE} -C libc3 clean_cov
${MAKE} -C ic3 clean_cov
@@ -56,6 +62,7 @@ clean_cov:
${MAKE} -C test clean_cov
debug:
+ ${GMAKE} -C libffi debug
${MAKE} -C libtommath debug
${MAKE} -C libc3 debug
${MAKE} -C ic3 debug
diff --git a/config.subr b/config.subr
index 0522e6e..1cd2d0a 100644
--- a/config.subr
+++ b/config.subr
@@ -210,6 +210,15 @@ if ${HAVE_GCOV}; then
echo "GCOV = $GCOV" >> ${CONFIG_MK}
fi
+if [ "x$GMAKE" = "x" ]; then
+ if test -n $(which gmake); then
+ GMAKE=gmake
+ else
+ GMAKE=make
+ fi
+fi
+echo "GMAKE = $GMAKE" >> ${CONFIG_MK}
+
if [ "x$INSTALL" = "x" ]; then
if test -x "$(which install)"; then
INSTALL=install
diff --git a/configure b/configure
index 52dec2b..94173ac 100755
--- a/configure
+++ b/configure
@@ -32,6 +32,7 @@ echo "c3-${C3_VERSION}.tar.gz: $(tr '\n' ' ' < c3.index)" >> ${CONFIG_MK}
update_config_mk
+( cd libffi && MAKE=gmake ./configure; )
( cd libtommath && ./configure; )
( cd ucd2c && ./configure; )
( cd libc3 && ./configure; )
diff --git a/libc3/buf_inspect_s16_binary.c b/libc3/buf_inspect_s16_binary.c
index 5b6a524..e44ade2 100644
--- a/libc3/buf_inspect_s16_binary.c
+++ b/libc3/buf_inspect_s16_binary.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=16 bits=16 BASE=binary */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=binary */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u16_binary.h"
-sw buf_inspect_u16_binary (s_buf *buf, const u16 *u)
+sw buf_inspect_s16_binary (s_buf *buf, const s16 *s)
{
- return buf_inspect_u16_base(buf, &g_c3_base_binary, u);
+ sw r;
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u16_binary(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u16_binary_size (const u16 *u)
+sw buf_inspect_s16_binary_size (const s16 *s)
{
- return buf_inspect_u16_base_size(&g_c3_base_binary,
- u);
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u16_binary_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s16_binary.h b/libc3/buf_inspect_s16_binary.h
index 23cd9d2..5fccb30 100644
--- a/libc3/buf_inspect_s16_binary.h
+++ b/libc3/buf_inspect_s16_binary.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=binary */
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=binary */
+#include "types.h"
-sw buf_inspect_u16_binary (s_buf *buf, const u16 *u);
-sw buf_inspect_u16_binary_size (const u16 *u);
+sw buf_inspect_s16_binary (s_buf *buf, const s16 *s);
+sw buf_inspect_s16_binary_size (const s16 *s);
diff --git a/libc3/buf_inspect_s16_decimal.c b/libc3/buf_inspect_s16_decimal.c
index 78f95ce..b200710 100644
--- a/libc3/buf_inspect_s16_decimal.c
+++ b/libc3/buf_inspect_s16_decimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=16 bits=16 BASE=decimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=decimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u16_decimal.h"
-sw buf_inspect_u16_decimal (s_buf *buf, const u16 *u)
+sw buf_inspect_s16_decimal (s_buf *buf, const s16 *s)
{
- return buf_inspect_u16_base(buf, &g_c3_base_decimal, u);
+ sw r;
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u16_decimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u16_decimal_size (const u16 *u)
+sw buf_inspect_s16_decimal_size (const s16 *s)
{
- return buf_inspect_u16_base_size(&g_c3_base_decimal,
- u);
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u16_decimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s16_decimal.h b/libc3/buf_inspect_s16_decimal.h
index e32de1e..32a3281 100644
--- a/libc3/buf_inspect_s16_decimal.h
+++ b/libc3/buf_inspect_s16_decimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=decimal */
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=decimal */
+#include "types.h"
-sw buf_inspect_u16_decimal (s_buf *buf, const u16 *u);
-sw buf_inspect_u16_decimal_size (const u16 *u);
+sw buf_inspect_s16_decimal (s_buf *buf, const s16 *s);
+sw buf_inspect_s16_decimal_size (const s16 *s);
diff --git a/libc3/buf_inspect_s16_hexadecimal.c b/libc3/buf_inspect_s16_hexadecimal.c
index 38b4490..fa7ceeb 100644
--- a/libc3/buf_inspect_s16_hexadecimal.c
+++ b/libc3/buf_inspect_s16_hexadecimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=16 bits=16 BASE=hexadecimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=hexadecimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u16_hexadecimal.h"
-sw buf_inspect_u16_hexadecimal (s_buf *buf, const u16 *u)
+sw buf_inspect_s16_hexadecimal (s_buf *buf, const s16 *s)
{
- return buf_inspect_u16_base(buf, &g_c3_base_hexadecimal, u);
+ sw r;
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u16_hexadecimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u16_hexadecimal_size (const u16 *u)
+sw buf_inspect_s16_hexadecimal_size (const s16 *s)
{
- return buf_inspect_u16_base_size(&g_c3_base_hexadecimal,
- u);
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u16_hexadecimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s16_hexadecimal.h b/libc3/buf_inspect_s16_hexadecimal.h
index f3b23e0..1073714 100644
--- a/libc3/buf_inspect_s16_hexadecimal.h
+++ b/libc3/buf_inspect_s16_hexadecimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=hexadecimal */
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=hexadecimal */
+#include "types.h"
-sw buf_inspect_u16_hexadecimal (s_buf *buf, const u16 *u);
-sw buf_inspect_u16_hexadecimal_size (const u16 *u);
+sw buf_inspect_s16_hexadecimal (s_buf *buf, const s16 *s);
+sw buf_inspect_s16_hexadecimal_size (const s16 *s);
diff --git a/libc3/buf_inspect_s16_octal.c b/libc3/buf_inspect_s16_octal.c
index 82a4723..fc57198 100644
--- a/libc3/buf_inspect_s16_octal.c
+++ b/libc3/buf_inspect_s16_octal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=16 bits=16 BASE=octal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=octal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u16_octal.h"
-sw buf_inspect_u16_octal (s_buf *buf, const u16 *u)
+sw buf_inspect_s16_octal (s_buf *buf, const s16 *s)
{
- return buf_inspect_u16_base(buf, &g_c3_base_octal, u);
+ sw r;
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u16_octal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u16_octal_size (const u16 *u)
+sw buf_inspect_s16_octal_size (const s16 *s)
{
- return buf_inspect_u16_base_size(&g_c3_base_octal,
- u);
+ sw result = 0;
+ u16 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u16_octal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s16_octal.h b/libc3/buf_inspect_s16_octal.h
index e19d6d2..0fd0fc4 100644
--- a/libc3/buf_inspect_s16_octal.h
+++ b/libc3/buf_inspect_s16_octal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=octal */
+/* Gen from buf_inspect_s_base.c.in BITS=16 bits=16 base=octal */
+#include "types.h"
-sw buf_inspect_u16_octal (s_buf *buf, const u16 *u);
-sw buf_inspect_u16_octal_size (const u16 *u);
+sw buf_inspect_s16_octal (s_buf *buf, const s16 *s);
+sw buf_inspect_s16_octal_size (const s16 *s);
diff --git a/libc3/buf_inspect_s32_binary.c b/libc3/buf_inspect_s32_binary.c
index d524c6b..5ead01b 100644
--- a/libc3/buf_inspect_s32_binary.c
+++ b/libc3/buf_inspect_s32_binary.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=32 bits=32 BASE=binary */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=binary */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u32_binary.h"
-sw buf_inspect_u32_binary (s_buf *buf, const u32 *u)
+sw buf_inspect_s32_binary (s_buf *buf, const s32 *s)
{
- return buf_inspect_u32_base(buf, &g_c3_base_binary, u);
+ sw r;
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u32_binary(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u32_binary_size (const u32 *u)
+sw buf_inspect_s32_binary_size (const s32 *s)
{
- return buf_inspect_u32_base_size(&g_c3_base_binary,
- u);
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u32_binary_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s32_binary.h b/libc3/buf_inspect_s32_binary.h
index 27e2037..7bc9add 100644
--- a/libc3/buf_inspect_s32_binary.h
+++ b/libc3/buf_inspect_s32_binary.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=binary */
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=binary */
+#include "types.h"
-sw buf_inspect_u32_binary (s_buf *buf, const u32 *u);
-sw buf_inspect_u32_binary_size (const u32 *u);
+sw buf_inspect_s32_binary (s_buf *buf, const s32 *s);
+sw buf_inspect_s32_binary_size (const s32 *s);
diff --git a/libc3/buf_inspect_s32_decimal.c b/libc3/buf_inspect_s32_decimal.c
index 910ca40..324b634 100644
--- a/libc3/buf_inspect_s32_decimal.c
+++ b/libc3/buf_inspect_s32_decimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=32 bits=32 BASE=decimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=decimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u32_decimal.h"
-sw buf_inspect_u32_decimal (s_buf *buf, const u32 *u)
+sw buf_inspect_s32_decimal (s_buf *buf, const s32 *s)
{
- return buf_inspect_u32_base(buf, &g_c3_base_decimal, u);
+ sw r;
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u32_decimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u32_decimal_size (const u32 *u)
+sw buf_inspect_s32_decimal_size (const s32 *s)
{
- return buf_inspect_u32_base_size(&g_c3_base_decimal,
- u);
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u32_decimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s32_decimal.h b/libc3/buf_inspect_s32_decimal.h
index d8de5cc..c5f04da 100644
--- a/libc3/buf_inspect_s32_decimal.h
+++ b/libc3/buf_inspect_s32_decimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=decimal */
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=decimal */
+#include "types.h"
-sw buf_inspect_u32_decimal (s_buf *buf, const u32 *u);
-sw buf_inspect_u32_decimal_size (const u32 *u);
+sw buf_inspect_s32_decimal (s_buf *buf, const s32 *s);
+sw buf_inspect_s32_decimal_size (const s32 *s);
diff --git a/libc3/buf_inspect_s32_hexadecimal.c b/libc3/buf_inspect_s32_hexadecimal.c
index 2ec06ed..47637c2 100644
--- a/libc3/buf_inspect_s32_hexadecimal.c
+++ b/libc3/buf_inspect_s32_hexadecimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=32 bits=32 BASE=hexadecimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=hexadecimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u32_hexadecimal.h"
-sw buf_inspect_u32_hexadecimal (s_buf *buf, const u32 *u)
+sw buf_inspect_s32_hexadecimal (s_buf *buf, const s32 *s)
{
- return buf_inspect_u32_base(buf, &g_c3_base_hexadecimal, u);
+ sw r;
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u32_hexadecimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u32_hexadecimal_size (const u32 *u)
+sw buf_inspect_s32_hexadecimal_size (const s32 *s)
{
- return buf_inspect_u32_base_size(&g_c3_base_hexadecimal,
- u);
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u32_hexadecimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s32_hexadecimal.h b/libc3/buf_inspect_s32_hexadecimal.h
index 03347ae..07488ac 100644
--- a/libc3/buf_inspect_s32_hexadecimal.h
+++ b/libc3/buf_inspect_s32_hexadecimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=hexadecimal */
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=hexadecimal */
+#include "types.h"
-sw buf_inspect_u32_hexadecimal (s_buf *buf, const u32 *u);
-sw buf_inspect_u32_hexadecimal_size (const u32 *u);
+sw buf_inspect_s32_hexadecimal (s_buf *buf, const s32 *s);
+sw buf_inspect_s32_hexadecimal_size (const s32 *s);
diff --git a/libc3/buf_inspect_s32_octal.c b/libc3/buf_inspect_s32_octal.c
index 1490ef5..4d1c972 100644
--- a/libc3/buf_inspect_s32_octal.c
+++ b/libc3/buf_inspect_s32_octal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=32 bits=32 BASE=octal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=octal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u32_octal.h"
-sw buf_inspect_u32_octal (s_buf *buf, const u32 *u)
+sw buf_inspect_s32_octal (s_buf *buf, const s32 *s)
{
- return buf_inspect_u32_base(buf, &g_c3_base_octal, u);
+ sw r;
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u32_octal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u32_octal_size (const u32 *u)
+sw buf_inspect_s32_octal_size (const s32 *s)
{
- return buf_inspect_u32_base_size(&g_c3_base_octal,
- u);
+ sw result = 0;
+ u32 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u32_octal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s32_octal.h b/libc3/buf_inspect_s32_octal.h
index 4098c0a..5cfbcae 100644
--- a/libc3/buf_inspect_s32_octal.h
+++ b/libc3/buf_inspect_s32_octal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=octal */
+/* Gen from buf_inspect_s_base.c.in BITS=32 bits=32 base=octal */
+#include "types.h"
-sw buf_inspect_u32_octal (s_buf *buf, const u32 *u);
-sw buf_inspect_u32_octal_size (const u32 *u);
+sw buf_inspect_s32_octal (s_buf *buf, const s32 *s);
+sw buf_inspect_s32_octal_size (const s32 *s);
diff --git a/libc3/buf_inspect_s64_binary.c b/libc3/buf_inspect_s64_binary.c
index fd95d69..02c9473 100644
--- a/libc3/buf_inspect_s64_binary.c
+++ b/libc3/buf_inspect_s64_binary.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=64 bits=64 BASE=binary */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=binary */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u64_binary.h"
-sw buf_inspect_u64_binary (s_buf *buf, const u64 *u)
+sw buf_inspect_s64_binary (s_buf *buf, const s64 *s)
{
- return buf_inspect_u64_base(buf, &g_c3_base_binary, u);
+ sw r;
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u64_binary(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u64_binary_size (const u64 *u)
+sw buf_inspect_s64_binary_size (const s64 *s)
{
- return buf_inspect_u64_base_size(&g_c3_base_binary,
- u);
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u64_binary_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s64_binary.h b/libc3/buf_inspect_s64_binary.h
index c1a14bd..b83f969 100644
--- a/libc3/buf_inspect_s64_binary.h
+++ b/libc3/buf_inspect_s64_binary.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=binary */
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=binary */
+#include "types.h"
-sw buf_inspect_u64_binary (s_buf *buf, const u64 *u);
-sw buf_inspect_u64_binary_size (const u64 *u);
+sw buf_inspect_s64_binary (s_buf *buf, const s64 *s);
+sw buf_inspect_s64_binary_size (const s64 *s);
diff --git a/libc3/buf_inspect_s64_decimal.c b/libc3/buf_inspect_s64_decimal.c
index 6faaf5e..495ef14 100644
--- a/libc3/buf_inspect_s64_decimal.c
+++ b/libc3/buf_inspect_s64_decimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=64 bits=64 BASE=decimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=decimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u64_decimal.h"
-sw buf_inspect_u64_decimal (s_buf *buf, const u64 *u)
+sw buf_inspect_s64_decimal (s_buf *buf, const s64 *s)
{
- return buf_inspect_u64_base(buf, &g_c3_base_decimal, u);
+ sw r;
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u64_decimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u64_decimal_size (const u64 *u)
+sw buf_inspect_s64_decimal_size (const s64 *s)
{
- return buf_inspect_u64_base_size(&g_c3_base_decimal,
- u);
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u64_decimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s64_decimal.h b/libc3/buf_inspect_s64_decimal.h
index 8685332..1bfd6ee 100644
--- a/libc3/buf_inspect_s64_decimal.h
+++ b/libc3/buf_inspect_s64_decimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=decimal */
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=decimal */
+#include "types.h"
-sw buf_inspect_u64_decimal (s_buf *buf, const u64 *u);
-sw buf_inspect_u64_decimal_size (const u64 *u);
+sw buf_inspect_s64_decimal (s_buf *buf, const s64 *s);
+sw buf_inspect_s64_decimal_size (const s64 *s);
diff --git a/libc3/buf_inspect_s64_hexadecimal.c b/libc3/buf_inspect_s64_hexadecimal.c
index e1fe0f8..36983e2 100644
--- a/libc3/buf_inspect_s64_hexadecimal.c
+++ b/libc3/buf_inspect_s64_hexadecimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=64 bits=64 BASE=hexadecimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=hexadecimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u64_hexadecimal.h"
-sw buf_inspect_u64_hexadecimal (s_buf *buf, const u64 *u)
+sw buf_inspect_s64_hexadecimal (s_buf *buf, const s64 *s)
{
- return buf_inspect_u64_base(buf, &g_c3_base_hexadecimal, u);
+ sw r;
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u64_hexadecimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u64_hexadecimal_size (const u64 *u)
+sw buf_inspect_s64_hexadecimal_size (const s64 *s)
{
- return buf_inspect_u64_base_size(&g_c3_base_hexadecimal,
- u);
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u64_hexadecimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s64_hexadecimal.h b/libc3/buf_inspect_s64_hexadecimal.h
index efeff96..9a048e8 100644
--- a/libc3/buf_inspect_s64_hexadecimal.h
+++ b/libc3/buf_inspect_s64_hexadecimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=hexadecimal */
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=hexadecimal */
+#include "types.h"
-sw buf_inspect_u64_hexadecimal (s_buf *buf, const u64 *u);
-sw buf_inspect_u64_hexadecimal_size (const u64 *u);
+sw buf_inspect_s64_hexadecimal (s_buf *buf, const s64 *s);
+sw buf_inspect_s64_hexadecimal_size (const s64 *s);
diff --git a/libc3/buf_inspect_s64_octal.c b/libc3/buf_inspect_s64_octal.c
index a19f729..6f649b3 100644
--- a/libc3/buf_inspect_s64_octal.c
+++ b/libc3/buf_inspect_s64_octal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=64 bits=64 BASE=octal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=octal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u64_octal.h"
-sw buf_inspect_u64_octal (s_buf *buf, const u64 *u)
+sw buf_inspect_s64_octal (s_buf *buf, const s64 *s)
{
- return buf_inspect_u64_base(buf, &g_c3_base_octal, u);
+ sw r;
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u64_octal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u64_octal_size (const u64 *u)
+sw buf_inspect_s64_octal_size (const s64 *s)
{
- return buf_inspect_u64_base_size(&g_c3_base_octal,
- u);
+ sw result = 0;
+ u64 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u64_octal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s64_octal.h b/libc3/buf_inspect_s64_octal.h
index 00218bc..9a9b8c6 100644
--- a/libc3/buf_inspect_s64_octal.h
+++ b/libc3/buf_inspect_s64_octal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=octal */
+/* Gen from buf_inspect_s_base.c.in BITS=64 bits=64 base=octal */
+#include "types.h"
-sw buf_inspect_u64_octal (s_buf *buf, const u64 *u);
-sw buf_inspect_u64_octal_size (const u64 *u);
+sw buf_inspect_s64_octal (s_buf *buf, const s64 *s);
+sw buf_inspect_s64_octal_size (const s64 *s);
diff --git a/libc3/buf_inspect_s8_binary.c b/libc3/buf_inspect_s8_binary.c
index 7602c1f..ce11e7b 100644
--- a/libc3/buf_inspect_s8_binary.c
+++ b/libc3/buf_inspect_s8_binary.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=binary */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=binary */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u8_binary.h"
-sw buf_inspect_u8_binary (s_buf *buf, const u8 *u)
+sw buf_inspect_s8_binary (s_buf *buf, const s8 *s)
{
- return buf_inspect_u8_base(buf, &g_c3_base_binary, u);
+ sw r;
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u8_binary(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u8_binary_size (const u8 *u)
+sw buf_inspect_s8_binary_size (const s8 *s)
{
- return buf_inspect_u8_base_size(&g_c3_base_binary,
- u);
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u8_binary_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s8_binary.h b/libc3/buf_inspect_s8_binary.h
index f553ddc..d3adb5d 100644
--- a/libc3/buf_inspect_s8_binary.h
+++ b/libc3/buf_inspect_s8_binary.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=binary */
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=binary */
+#include "types.h"
-sw buf_inspect_u8_binary (s_buf *buf, const u8 *u);
-sw buf_inspect_u8_binary_size (const u8 *u);
+sw buf_inspect_s8_binary (s_buf *buf, const s8 *s);
+sw buf_inspect_s8_binary_size (const s8 *s);
diff --git a/libc3/buf_inspect_s8_decimal.c b/libc3/buf_inspect_s8_decimal.c
index 5f907aa..c204a63 100644
--- a/libc3/buf_inspect_s8_decimal.c
+++ b/libc3/buf_inspect_s8_decimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=decimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=decimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u8_decimal.h"
-sw buf_inspect_u8_decimal (s_buf *buf, const u8 *u)
+sw buf_inspect_s8_decimal (s_buf *buf, const s8 *s)
{
- return buf_inspect_u8_base(buf, &g_c3_base_decimal, u);
+ sw r;
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u8_decimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u8_decimal_size (const u8 *u)
+sw buf_inspect_s8_decimal_size (const s8 *s)
{
- return buf_inspect_u8_base_size(&g_c3_base_decimal,
- u);
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u8_decimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s8_decimal.h b/libc3/buf_inspect_s8_decimal.h
index 00f60e5..09b96c4 100644
--- a/libc3/buf_inspect_s8_decimal.h
+++ b/libc3/buf_inspect_s8_decimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=decimal */
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=decimal */
+#include "types.h"
-sw buf_inspect_u8_decimal (s_buf *buf, const u8 *u);
-sw buf_inspect_u8_decimal_size (const u8 *u);
+sw buf_inspect_s8_decimal (s_buf *buf, const s8 *s);
+sw buf_inspect_s8_decimal_size (const s8 *s);
diff --git a/libc3/buf_inspect_s8_hexadecimal.c b/libc3/buf_inspect_s8_hexadecimal.c
index efce41e..36b3354 100644
--- a/libc3/buf_inspect_s8_hexadecimal.c
+++ b/libc3/buf_inspect_s8_hexadecimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=hexadecimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=hexadecimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u8_hexadecimal.h"
-sw buf_inspect_u8_hexadecimal (s_buf *buf, const u8 *u)
+sw buf_inspect_s8_hexadecimal (s_buf *buf, const s8 *s)
{
- return buf_inspect_u8_base(buf, &g_c3_base_hexadecimal, u);
+ sw r;
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u8_hexadecimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u8_hexadecimal_size (const u8 *u)
+sw buf_inspect_s8_hexadecimal_size (const s8 *s)
{
- return buf_inspect_u8_base_size(&g_c3_base_hexadecimal,
- u);
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u8_hexadecimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s8_hexadecimal.h b/libc3/buf_inspect_s8_hexadecimal.h
index 6376a89..98cc909 100644
--- a/libc3/buf_inspect_s8_hexadecimal.h
+++ b/libc3/buf_inspect_s8_hexadecimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=hexadecimal */
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=hexadecimal */
+#include "types.h"
-sw buf_inspect_u8_hexadecimal (s_buf *buf, const u8 *u);
-sw buf_inspect_u8_hexadecimal_size (const u8 *u);
+sw buf_inspect_s8_hexadecimal (s_buf *buf, const s8 *s);
+sw buf_inspect_s8_hexadecimal_size (const s8 *s);
diff --git a/libc3/buf_inspect_s8_octal.c b/libc3/buf_inspect_s8_octal.c
index 3f921f8..c982715 100644
--- a/libc3/buf_inspect_s8_octal.c
+++ b/libc3/buf_inspect_s8_octal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=octal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=octal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u8_octal.h"
-sw buf_inspect_u8_octal (s_buf *buf, const u8 *u)
+sw buf_inspect_s8_octal (s_buf *buf, const s8 *s)
{
- return buf_inspect_u8_base(buf, &g_c3_base_octal, u);
+ sw r;
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_u8_octal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_u8_octal_size (const u8 *u)
+sw buf_inspect_s8_octal_size (const s8 *s)
{
- return buf_inspect_u8_base_size(&g_c3_base_octal,
- u);
+ sw result = 0;
+ u8 u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_u8_octal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_s8_octal.h b/libc3/buf_inspect_s8_octal.h
index 827abb2..677ebf2 100644
--- a/libc3/buf_inspect_s8_octal.h
+++ b/libc3/buf_inspect_s8_octal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=octal */
+/* Gen from buf_inspect_s_base.c.in BITS=8 bits=8 base=octal */
+#include "types.h"
-sw buf_inspect_u8_octal (s_buf *buf, const u8 *u);
-sw buf_inspect_u8_octal_size (const u8 *u);
+sw buf_inspect_s8_octal (s_buf *buf, const s8 *s);
+sw buf_inspect_s8_octal_size (const s8 *s);
diff --git a/libc3/buf_inspect_s_base.c.in b/libc3/buf_inspect_s_base.c.in
index bb241cf..b0273de 100644
--- a/libc3/buf_inspect_s_base.c.in
+++ b/libc3/buf_inspect_s_base.c.in
@@ -11,6 +11,9 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_s_base.c.in BITS=_BITS$ bits=_bits$ base=_BASE$ */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_u_bits$__BASE$.h"
sw buf_inspect_s_bits$__BASE$ (s_buf *buf, const s_bits$ *s)
{
diff --git a/libc3/buf_inspect_s_base.h.in b/libc3/buf_inspect_s_base.h.in
new file mode 100644
index 0000000..c124fe0
--- /dev/null
+++ b/libc3/buf_inspect_s_base.h.in
@@ -0,0 +1,17 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_s_base.c.in BITS=_BITS$ bits=_bits$ base=_BASE$ */
+#include "types.h"
+
+sw buf_inspect_s_bits$__BASE$ (s_buf *buf, const s_bits$ *s);
+sw buf_inspect_s_bits$__BASE$_size (const s_bits$ *s);
diff --git a/libc3/buf_inspect_sw_binary.c b/libc3/buf_inspect_sw_binary.c
index e2f07b3..3015890 100644
--- a/libc3/buf_inspect_sw_binary.c
+++ b/libc3/buf_inspect_sw_binary.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=W bits=w BASE=binary */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=binary */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_uw_binary.h"
-sw buf_inspect_uw_binary (s_buf *buf, const uw *u)
+sw buf_inspect_sw_binary (s_buf *buf, const sw *s)
{
- return buf_inspect_uw_base(buf, &g_c3_base_binary, u);
+ sw r;
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_uw_binary(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_uw_binary_size (const uw *u)
+sw buf_inspect_sw_binary_size (const sw *s)
{
- return buf_inspect_uw_base_size(&g_c3_base_binary,
- u);
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_uw_binary_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_sw_binary.h b/libc3/buf_inspect_sw_binary.h
index 24957ae..4dbb3e8 100644
--- a/libc3/buf_inspect_sw_binary.h
+++ b/libc3/buf_inspect_sw_binary.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=binary */
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=binary */
+#include "types.h"
-sw buf_inspect_uw_binary (s_buf *buf, const uw *u);
-sw buf_inspect_uw_binary_size (const uw *u);
+sw buf_inspect_sw_binary (s_buf *buf, const sw *s);
+sw buf_inspect_sw_binary_size (const sw *s);
diff --git a/libc3/buf_inspect_sw_decimal.c b/libc3/buf_inspect_sw_decimal.c
index f8d6f86..03d6693 100644
--- a/libc3/buf_inspect_sw_decimal.c
+++ b/libc3/buf_inspect_sw_decimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=W bits=w BASE=decimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=decimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_uw_decimal.h"
-sw buf_inspect_uw_decimal (s_buf *buf, const uw *u)
+sw buf_inspect_sw_decimal (s_buf *buf, const sw *s)
{
- return buf_inspect_uw_base(buf, &g_c3_base_decimal, u);
+ sw r;
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_uw_decimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_uw_decimal_size (const uw *u)
+sw buf_inspect_sw_decimal_size (const sw *s)
{
- return buf_inspect_uw_base_size(&g_c3_base_decimal,
- u);
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_uw_decimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_sw_decimal.h b/libc3/buf_inspect_sw_decimal.h
index 6ad87c9..5ccadb7 100644
--- a/libc3/buf_inspect_sw_decimal.h
+++ b/libc3/buf_inspect_sw_decimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=decimal */
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=decimal */
+#include "types.h"
-sw buf_inspect_uw_decimal (s_buf *buf, const uw *u);
-sw buf_inspect_uw_decimal_size (const uw *u);
+sw buf_inspect_sw_decimal (s_buf *buf, const sw *s);
+sw buf_inspect_sw_decimal_size (const sw *s);
diff --git a/libc3/buf_inspect_sw_hexadecimal.c b/libc3/buf_inspect_sw_hexadecimal.c
index d09cada..c0537e3 100644
--- a/libc3/buf_inspect_sw_hexadecimal.c
+++ b/libc3/buf_inspect_sw_hexadecimal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=W bits=w BASE=hexadecimal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=hexadecimal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_uw_hexadecimal.h"
-sw buf_inspect_uw_hexadecimal (s_buf *buf, const uw *u)
+sw buf_inspect_sw_hexadecimal (s_buf *buf, const sw *s)
{
- return buf_inspect_uw_base(buf, &g_c3_base_hexadecimal, u);
+ sw r;
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_uw_hexadecimal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_uw_hexadecimal_size (const uw *u)
+sw buf_inspect_sw_hexadecimal_size (const sw *s)
{
- return buf_inspect_uw_base_size(&g_c3_base_hexadecimal,
- u);
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_uw_hexadecimal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_sw_hexadecimal.h b/libc3/buf_inspect_sw_hexadecimal.h
index 64223c0..b650043 100644
--- a/libc3/buf_inspect_sw_hexadecimal.h
+++ b/libc3/buf_inspect_sw_hexadecimal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=hexadecimal */
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=hexadecimal */
+#include "types.h"
-sw buf_inspect_uw_hexadecimal (s_buf *buf, const uw *u);
-sw buf_inspect_uw_hexadecimal_size (const uw *u);
+sw buf_inspect_sw_hexadecimal (s_buf *buf, const sw *s);
+sw buf_inspect_sw_hexadecimal_size (const sw *s);
diff --git a/libc3/buf_inspect_sw_octal.c b/libc3/buf_inspect_sw_octal.c
index 452989e..bf8f808 100644
--- a/libc3/buf_inspect_sw_octal.c
+++ b/libc3/buf_inspect_sw_octal.c
@@ -10,16 +10,38 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.c.in BITS=W bits=w BASE=octal */
-#include "c3.h"
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=octal */
+#include <string.h>
+#include "buf.h"
+#include "buf_inspect_uw_octal.h"
-sw buf_inspect_uw_octal (s_buf *buf, const uw *u)
+sw buf_inspect_sw_octal (s_buf *buf, const sw *s)
{
- return buf_inspect_uw_base(buf, &g_c3_base_octal, u);
+ sw r;
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ if ((r = buf_write_1(buf, "-")) < 0)
+ return r;
+ result += r;
+ u = -*s;
+ }
+ if ((r = buf_inspect_uw_octal(buf, &u)) < 0)
+ return r;
+ result += r;
+ return result;
}
-sw buf_inspect_uw_octal_size (const uw *u)
+sw buf_inspect_sw_octal_size (const sw *s)
{
- return buf_inspect_uw_base_size(&g_c3_base_octal,
- u);
+ sw result = 0;
+ uw u;
+ u = *s;
+ if (*s < 0) {
+ result += strlen("-");
+ u = -*s;
+ }
+ result += buf_inspect_uw_octal_size(&u);
+ return result;
}
diff --git a/libc3/buf_inspect_sw_octal.h b/libc3/buf_inspect_sw_octal.h
index fb3efa7..f35b725 100644
--- a/libc3/buf_inspect_sw_octal.h
+++ b/libc3/buf_inspect_sw_octal.h
@@ -10,7 +10,8 @@
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=octal */
+/* Gen from buf_inspect_s_base.c.in BITS=W bits=w base=octal */
+#include "types.h"
-sw buf_inspect_uw_octal (s_buf *buf, const uw *u);
-sw buf_inspect_uw_octal_size (const uw *u);
+sw buf_inspect_sw_octal (s_buf *buf, const sw *s);
+sw buf_inspect_sw_octal_size (const sw *s);
diff --git a/libc3/buf_inspect_u16_binary.c b/libc3/buf_inspect_u16_binary.c
index 5b6a524..da9bea9 100644
--- a/libc3/buf_inspect_u16_binary.c
+++ b/libc3/buf_inspect_u16_binary.c
@@ -15,7 +15,9 @@
sw buf_inspect_u16_binary (s_buf *buf, const u16 *u)
{
- return buf_inspect_u16_base(buf, &g_c3_base_binary, u);
+ return buf_inspect_u16_base(buf,
+ &g_c3_base_binary,
+ u);
}
sw buf_inspect_u16_binary_size (const u16 *u)
diff --git a/libc3/buf_inspect_u16_binary.h b/libc3/buf_inspect_u16_binary.h
index 23cd9d2..47fb25e 100644
--- a/libc3/buf_inspect_u16_binary.h
+++ b/libc3/buf_inspect_u16_binary.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=binary */
+#include "types.h"
sw buf_inspect_u16_binary (s_buf *buf, const u16 *u);
sw buf_inspect_u16_binary_size (const u16 *u);
diff --git a/libc3/buf_inspect_u16_decimal.c b/libc3/buf_inspect_u16_decimal.c
index 78f95ce..c4d8536 100644
--- a/libc3/buf_inspect_u16_decimal.c
+++ b/libc3/buf_inspect_u16_decimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u16_decimal (s_buf *buf, const u16 *u)
{
- return buf_inspect_u16_base(buf, &g_c3_base_decimal, u);
+ return buf_inspect_u16_base(buf,
+ &g_c3_base_decimal,
+ u);
}
sw buf_inspect_u16_decimal_size (const u16 *u)
diff --git a/libc3/buf_inspect_u16_decimal.h b/libc3/buf_inspect_u16_decimal.h
index e32de1e..0f2b5b5 100644
--- a/libc3/buf_inspect_u16_decimal.h
+++ b/libc3/buf_inspect_u16_decimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=decimal */
+#include "types.h"
sw buf_inspect_u16_decimal (s_buf *buf, const u16 *u);
sw buf_inspect_u16_decimal_size (const u16 *u);
diff --git a/libc3/buf_inspect_u16_hexadecimal.c b/libc3/buf_inspect_u16_hexadecimal.c
index 38b4490..0895db1 100644
--- a/libc3/buf_inspect_u16_hexadecimal.c
+++ b/libc3/buf_inspect_u16_hexadecimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u16_hexadecimal (s_buf *buf, const u16 *u)
{
- return buf_inspect_u16_base(buf, &g_c3_base_hexadecimal, u);
+ return buf_inspect_u16_base(buf,
+ &g_c3_base_hexadecimal,
+ u);
}
sw buf_inspect_u16_hexadecimal_size (const u16 *u)
diff --git a/libc3/buf_inspect_u16_hexadecimal.h b/libc3/buf_inspect_u16_hexadecimal.h
index f3b23e0..5ee45c0 100644
--- a/libc3/buf_inspect_u16_hexadecimal.h
+++ b/libc3/buf_inspect_u16_hexadecimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=hexadecimal */
+#include "types.h"
sw buf_inspect_u16_hexadecimal (s_buf *buf, const u16 *u);
sw buf_inspect_u16_hexadecimal_size (const u16 *u);
diff --git a/libc3/buf_inspect_u16_octal.c b/libc3/buf_inspect_u16_octal.c
index 82a4723..3800b8b 100644
--- a/libc3/buf_inspect_u16_octal.c
+++ b/libc3/buf_inspect_u16_octal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u16_octal (s_buf *buf, const u16 *u)
{
- return buf_inspect_u16_base(buf, &g_c3_base_octal, u);
+ return buf_inspect_u16_base(buf,
+ &g_c3_base_octal,
+ u);
}
sw buf_inspect_u16_octal_size (const u16 *u)
diff --git a/libc3/buf_inspect_u16_octal.h b/libc3/buf_inspect_u16_octal.h
index e19d6d2..ac7bfdf 100644
--- a/libc3/buf_inspect_u16_octal.h
+++ b/libc3/buf_inspect_u16_octal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=16 bits=16 BASE=octal */
+#include "types.h"
sw buf_inspect_u16_octal (s_buf *buf, const u16 *u);
sw buf_inspect_u16_octal_size (const u16 *u);
diff --git a/libc3/buf_inspect_u32_binary.c b/libc3/buf_inspect_u32_binary.c
index d524c6b..6fcab7c 100644
--- a/libc3/buf_inspect_u32_binary.c
+++ b/libc3/buf_inspect_u32_binary.c
@@ -15,7 +15,9 @@
sw buf_inspect_u32_binary (s_buf *buf, const u32 *u)
{
- return buf_inspect_u32_base(buf, &g_c3_base_binary, u);
+ return buf_inspect_u32_base(buf,
+ &g_c3_base_binary,
+ u);
}
sw buf_inspect_u32_binary_size (const u32 *u)
diff --git a/libc3/buf_inspect_u32_binary.h b/libc3/buf_inspect_u32_binary.h
index 27e2037..72318e6 100644
--- a/libc3/buf_inspect_u32_binary.h
+++ b/libc3/buf_inspect_u32_binary.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=binary */
+#include "types.h"
sw buf_inspect_u32_binary (s_buf *buf, const u32 *u);
sw buf_inspect_u32_binary_size (const u32 *u);
diff --git a/libc3/buf_inspect_u32_decimal.c b/libc3/buf_inspect_u32_decimal.c
index 910ca40..7e0c84f 100644
--- a/libc3/buf_inspect_u32_decimal.c
+++ b/libc3/buf_inspect_u32_decimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u32_decimal (s_buf *buf, const u32 *u)
{
- return buf_inspect_u32_base(buf, &g_c3_base_decimal, u);
+ return buf_inspect_u32_base(buf,
+ &g_c3_base_decimal,
+ u);
}
sw buf_inspect_u32_decimal_size (const u32 *u)
diff --git a/libc3/buf_inspect_u32_decimal.h b/libc3/buf_inspect_u32_decimal.h
index d8de5cc..2598a84 100644
--- a/libc3/buf_inspect_u32_decimal.h
+++ b/libc3/buf_inspect_u32_decimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=decimal */
+#include "types.h"
sw buf_inspect_u32_decimal (s_buf *buf, const u32 *u);
sw buf_inspect_u32_decimal_size (const u32 *u);
diff --git a/libc3/buf_inspect_u32_hexadecimal.c b/libc3/buf_inspect_u32_hexadecimal.c
index 2ec06ed..8e7e4be 100644
--- a/libc3/buf_inspect_u32_hexadecimal.c
+++ b/libc3/buf_inspect_u32_hexadecimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u32_hexadecimal (s_buf *buf, const u32 *u)
{
- return buf_inspect_u32_base(buf, &g_c3_base_hexadecimal, u);
+ return buf_inspect_u32_base(buf,
+ &g_c3_base_hexadecimal,
+ u);
}
sw buf_inspect_u32_hexadecimal_size (const u32 *u)
diff --git a/libc3/buf_inspect_u32_hexadecimal.h b/libc3/buf_inspect_u32_hexadecimal.h
index 03347ae..095743b 100644
--- a/libc3/buf_inspect_u32_hexadecimal.h
+++ b/libc3/buf_inspect_u32_hexadecimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=hexadecimal */
+#include "types.h"
sw buf_inspect_u32_hexadecimal (s_buf *buf, const u32 *u);
sw buf_inspect_u32_hexadecimal_size (const u32 *u);
diff --git a/libc3/buf_inspect_u32_octal.c b/libc3/buf_inspect_u32_octal.c
index 1490ef5..97edeec 100644
--- a/libc3/buf_inspect_u32_octal.c
+++ b/libc3/buf_inspect_u32_octal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u32_octal (s_buf *buf, const u32 *u)
{
- return buf_inspect_u32_base(buf, &g_c3_base_octal, u);
+ return buf_inspect_u32_base(buf,
+ &g_c3_base_octal,
+ u);
}
sw buf_inspect_u32_octal_size (const u32 *u)
diff --git a/libc3/buf_inspect_u32_octal.h b/libc3/buf_inspect_u32_octal.h
index 4098c0a..c32ebb7 100644
--- a/libc3/buf_inspect_u32_octal.h
+++ b/libc3/buf_inspect_u32_octal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=32 bits=32 BASE=octal */
+#include "types.h"
sw buf_inspect_u32_octal (s_buf *buf, const u32 *u);
sw buf_inspect_u32_octal_size (const u32 *u);
diff --git a/libc3/buf_inspect_u64_binary.c b/libc3/buf_inspect_u64_binary.c
index fd95d69..d051184 100644
--- a/libc3/buf_inspect_u64_binary.c
+++ b/libc3/buf_inspect_u64_binary.c
@@ -15,7 +15,9 @@
sw buf_inspect_u64_binary (s_buf *buf, const u64 *u)
{
- return buf_inspect_u64_base(buf, &g_c3_base_binary, u);
+ return buf_inspect_u64_base(buf,
+ &g_c3_base_binary,
+ u);
}
sw buf_inspect_u64_binary_size (const u64 *u)
diff --git a/libc3/buf_inspect_u64_binary.h b/libc3/buf_inspect_u64_binary.h
index c1a14bd..50a6ecf 100644
--- a/libc3/buf_inspect_u64_binary.h
+++ b/libc3/buf_inspect_u64_binary.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=binary */
+#include "types.h"
sw buf_inspect_u64_binary (s_buf *buf, const u64 *u);
sw buf_inspect_u64_binary_size (const u64 *u);
diff --git a/libc3/buf_inspect_u64_decimal.c b/libc3/buf_inspect_u64_decimal.c
index 6faaf5e..9d091b2 100644
--- a/libc3/buf_inspect_u64_decimal.c
+++ b/libc3/buf_inspect_u64_decimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u64_decimal (s_buf *buf, const u64 *u)
{
- return buf_inspect_u64_base(buf, &g_c3_base_decimal, u);
+ return buf_inspect_u64_base(buf,
+ &g_c3_base_decimal,
+ u);
}
sw buf_inspect_u64_decimal_size (const u64 *u)
diff --git a/libc3/buf_inspect_u64_decimal.h b/libc3/buf_inspect_u64_decimal.h
index 8685332..f746121 100644
--- a/libc3/buf_inspect_u64_decimal.h
+++ b/libc3/buf_inspect_u64_decimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=decimal */
+#include "types.h"
sw buf_inspect_u64_decimal (s_buf *buf, const u64 *u);
sw buf_inspect_u64_decimal_size (const u64 *u);
diff --git a/libc3/buf_inspect_u64_hexadecimal.c b/libc3/buf_inspect_u64_hexadecimal.c
index e1fe0f8..3b8199a 100644
--- a/libc3/buf_inspect_u64_hexadecimal.c
+++ b/libc3/buf_inspect_u64_hexadecimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u64_hexadecimal (s_buf *buf, const u64 *u)
{
- return buf_inspect_u64_base(buf, &g_c3_base_hexadecimal, u);
+ return buf_inspect_u64_base(buf,
+ &g_c3_base_hexadecimal,
+ u);
}
sw buf_inspect_u64_hexadecimal_size (const u64 *u)
diff --git a/libc3/buf_inspect_u64_hexadecimal.h b/libc3/buf_inspect_u64_hexadecimal.h
index efeff96..e496bc1 100644
--- a/libc3/buf_inspect_u64_hexadecimal.h
+++ b/libc3/buf_inspect_u64_hexadecimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=hexadecimal */
+#include "types.h"
sw buf_inspect_u64_hexadecimal (s_buf *buf, const u64 *u);
sw buf_inspect_u64_hexadecimal_size (const u64 *u);
diff --git a/libc3/buf_inspect_u64_octal.c b/libc3/buf_inspect_u64_octal.c
index a19f729..3dd203c 100644
--- a/libc3/buf_inspect_u64_octal.c
+++ b/libc3/buf_inspect_u64_octal.c
@@ -15,7 +15,9 @@
sw buf_inspect_u64_octal (s_buf *buf, const u64 *u)
{
- return buf_inspect_u64_base(buf, &g_c3_base_octal, u);
+ return buf_inspect_u64_base(buf,
+ &g_c3_base_octal,
+ u);
}
sw buf_inspect_u64_octal_size (const u64 *u)
diff --git a/libc3/buf_inspect_u64_octal.h b/libc3/buf_inspect_u64_octal.h
index 00218bc..74dd756 100644
--- a/libc3/buf_inspect_u64_octal.h
+++ b/libc3/buf_inspect_u64_octal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=64 bits=64 BASE=octal */
+#include "types.h"
sw buf_inspect_u64_octal (s_buf *buf, const u64 *u);
sw buf_inspect_u64_octal_size (const u64 *u);
diff --git a/libc3/buf_inspect_u8_binary.c b/libc3/buf_inspect_u8_binary.c
new file mode 100644
index 0000000..1fd2a25
--- /dev/null
+++ b/libc3/buf_inspect_u8_binary.c
@@ -0,0 +1,27 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=binary */
+#include "c3.h"
+
+sw buf_inspect_u8_binary (s_buf *buf, const u8 *u)
+{
+ return buf_inspect_u8_base(buf,
+ &g_c3_base_binary,
+ u);
+}
+
+sw buf_inspect_u8_binary_size (const u8 *u)
+{
+ return buf_inspect_u8_base_size(&g_c3_base_binary,
+ u);
+}
diff --git a/libc3/buf_inspect_u8_binary.h b/libc3/buf_inspect_u8_binary.h
new file mode 100644
index 0000000..9bd8bc1
--- /dev/null
+++ b/libc3/buf_inspect_u8_binary.h
@@ -0,0 +1,17 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=binary */
+#include "types.h"
+
+sw buf_inspect_u8_binary (s_buf *buf, const u8 *u);
+sw buf_inspect_u8_binary_size (const u8 *u);
diff --git a/libc3/buf_inspect_u8_decimal.c b/libc3/buf_inspect_u8_decimal.c
new file mode 100644
index 0000000..258015d
--- /dev/null
+++ b/libc3/buf_inspect_u8_decimal.c
@@ -0,0 +1,27 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=decimal */
+#include "c3.h"
+
+sw buf_inspect_u8_decimal (s_buf *buf, const u8 *u)
+{
+ return buf_inspect_u8_base(buf,
+ &g_c3_base_decimal,
+ u);
+}
+
+sw buf_inspect_u8_decimal_size (const u8 *u)
+{
+ return buf_inspect_u8_base_size(&g_c3_base_decimal,
+ u);
+}
diff --git a/libc3/buf_inspect_u8_decimal.h b/libc3/buf_inspect_u8_decimal.h
new file mode 100644
index 0000000..6ccdf5e
--- /dev/null
+++ b/libc3/buf_inspect_u8_decimal.h
@@ -0,0 +1,17 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=decimal */
+#include "types.h"
+
+sw buf_inspect_u8_decimal (s_buf *buf, const u8 *u);
+sw buf_inspect_u8_decimal_size (const u8 *u);
diff --git a/libc3/buf_inspect_u8_hexadecimal.c b/libc3/buf_inspect_u8_hexadecimal.c
new file mode 100644
index 0000000..b0cc24a
--- /dev/null
+++ b/libc3/buf_inspect_u8_hexadecimal.c
@@ -0,0 +1,27 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=hexadecimal */
+#include "c3.h"
+
+sw buf_inspect_u8_hexadecimal (s_buf *buf, const u8 *u)
+{
+ return buf_inspect_u8_base(buf,
+ &g_c3_base_hexadecimal,
+ u);
+}
+
+sw buf_inspect_u8_hexadecimal_size (const u8 *u)
+{
+ return buf_inspect_u8_base_size(&g_c3_base_hexadecimal,
+ u);
+}
diff --git a/libc3/buf_inspect_u8_hexadecimal.h b/libc3/buf_inspect_u8_hexadecimal.h
new file mode 100644
index 0000000..b1e7e9c
--- /dev/null
+++ b/libc3/buf_inspect_u8_hexadecimal.h
@@ -0,0 +1,17 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=hexadecimal */
+#include "types.h"
+
+sw buf_inspect_u8_hexadecimal (s_buf *buf, const u8 *u);
+sw buf_inspect_u8_hexadecimal_size (const u8 *u);
diff --git a/libc3/buf_inspect_u8_octal.c b/libc3/buf_inspect_u8_octal.c
new file mode 100644
index 0000000..a6e4045
--- /dev/null
+++ b/libc3/buf_inspect_u8_octal.c
@@ -0,0 +1,27 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.c.in BITS=8 bits=8 BASE=octal */
+#include "c3.h"
+
+sw buf_inspect_u8_octal (s_buf *buf, const u8 *u)
+{
+ return buf_inspect_u8_base(buf,
+ &g_c3_base_octal,
+ u);
+}
+
+sw buf_inspect_u8_octal_size (const u8 *u)
+{
+ return buf_inspect_u8_base_size(&g_c3_base_octal,
+ u);
+}
diff --git a/libc3/buf_inspect_u8_octal.h b/libc3/buf_inspect_u8_octal.h
new file mode 100644
index 0000000..1e561c2
--- /dev/null
+++ b/libc3/buf_inspect_u8_octal.h
@@ -0,0 +1,17 @@
+/* c3
+ * Copyright 2022,2023 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+/* Gen from buf_inspect_u_base.h.in BITS=8 bits=8 BASE=octal */
+#include "types.h"
+
+sw buf_inspect_u8_octal (s_buf *buf, const u8 *u);
+sw buf_inspect_u8_octal_size (const u8 *u);
diff --git a/libc3/buf_inspect_u_base.c.in b/libc3/buf_inspect_u_base.c.in
index 018b406..0c36cd1 100644
--- a/libc3/buf_inspect_u_base.c.in
+++ b/libc3/buf_inspect_u_base.c.in
@@ -15,7 +15,9 @@
sw buf_inspect_u_bits$__BASE$ (s_buf *buf, const u_bits$ *u)
{
- return buf_inspect_u_bits$_base(buf, &g_c3_base__BASE$, u);
+ return buf_inspect_u_bits$_base(buf,
+ &g_c3_base__BASE$,
+ u);
}
sw buf_inspect_u_bits$__BASE$_size (const u_bits$ *u)
diff --git a/libc3/buf_inspect_u_base.h.in b/libc3/buf_inspect_u_base.h.in
index 8add330..afc914f 100644
--- a/libc3/buf_inspect_u_base.h.in
+++ b/libc3/buf_inspect_u_base.h.in
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=_BITS$ bits=_bits$ BASE=_BASE$ */
+#include "types.h"
sw buf_inspect_u_bits$__BASE$ (s_buf *buf, const u_bits$ *u);
sw buf_inspect_u_bits$__BASE$_size (const u_bits$ *u);
diff --git a/libc3/buf_inspect_uw_binary.c b/libc3/buf_inspect_uw_binary.c
index e2f07b3..570f7f8 100644
--- a/libc3/buf_inspect_uw_binary.c
+++ b/libc3/buf_inspect_uw_binary.c
@@ -15,7 +15,9 @@
sw buf_inspect_uw_binary (s_buf *buf, const uw *u)
{
- return buf_inspect_uw_base(buf, &g_c3_base_binary, u);
+ return buf_inspect_uw_base(buf,
+ &g_c3_base_binary,
+ u);
}
sw buf_inspect_uw_binary_size (const uw *u)
diff --git a/libc3/buf_inspect_uw_binary.h b/libc3/buf_inspect_uw_binary.h
index 24957ae..93df1e6 100644
--- a/libc3/buf_inspect_uw_binary.h
+++ b/libc3/buf_inspect_uw_binary.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=binary */
+#include "types.h"
sw buf_inspect_uw_binary (s_buf *buf, const uw *u);
sw buf_inspect_uw_binary_size (const uw *u);
diff --git a/libc3/buf_inspect_uw_decimal.c b/libc3/buf_inspect_uw_decimal.c
index f8d6f86..0a801cb 100644
--- a/libc3/buf_inspect_uw_decimal.c
+++ b/libc3/buf_inspect_uw_decimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_uw_decimal (s_buf *buf, const uw *u)
{
- return buf_inspect_uw_base(buf, &g_c3_base_decimal, u);
+ return buf_inspect_uw_base(buf,
+ &g_c3_base_decimal,
+ u);
}
sw buf_inspect_uw_decimal_size (const uw *u)
diff --git a/libc3/buf_inspect_uw_decimal.h b/libc3/buf_inspect_uw_decimal.h
index 6ad87c9..ac2aebf 100644
--- a/libc3/buf_inspect_uw_decimal.h
+++ b/libc3/buf_inspect_uw_decimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=decimal */
+#include "types.h"
sw buf_inspect_uw_decimal (s_buf *buf, const uw *u);
sw buf_inspect_uw_decimal_size (const uw *u);
diff --git a/libc3/buf_inspect_uw_hexadecimal.c b/libc3/buf_inspect_uw_hexadecimal.c
index d09cada..a45a05b 100644
--- a/libc3/buf_inspect_uw_hexadecimal.c
+++ b/libc3/buf_inspect_uw_hexadecimal.c
@@ -15,7 +15,9 @@
sw buf_inspect_uw_hexadecimal (s_buf *buf, const uw *u)
{
- return buf_inspect_uw_base(buf, &g_c3_base_hexadecimal, u);
+ return buf_inspect_uw_base(buf,
+ &g_c3_base_hexadecimal,
+ u);
}
sw buf_inspect_uw_hexadecimal_size (const uw *u)
diff --git a/libc3/buf_inspect_uw_hexadecimal.h b/libc3/buf_inspect_uw_hexadecimal.h
index 64223c0..94729dd 100644
--- a/libc3/buf_inspect_uw_hexadecimal.h
+++ b/libc3/buf_inspect_uw_hexadecimal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=hexadecimal */
+#include "types.h"
sw buf_inspect_uw_hexadecimal (s_buf *buf, const uw *u);
sw buf_inspect_uw_hexadecimal_size (const uw *u);
diff --git a/libc3/buf_inspect_uw_octal.c b/libc3/buf_inspect_uw_octal.c
index 452989e..df9d20c 100644
--- a/libc3/buf_inspect_uw_octal.c
+++ b/libc3/buf_inspect_uw_octal.c
@@ -15,7 +15,9 @@
sw buf_inspect_uw_octal (s_buf *buf, const uw *u)
{
- return buf_inspect_uw_base(buf, &g_c3_base_octal, u);
+ return buf_inspect_uw_base(buf,
+ &g_c3_base_octal,
+ u);
}
sw buf_inspect_uw_octal_size (const uw *u)
diff --git a/libc3/buf_inspect_uw_octal.h b/libc3/buf_inspect_uw_octal.h
index fb3efa7..00baa53 100644
--- a/libc3/buf_inspect_uw_octal.h
+++ b/libc3/buf_inspect_uw_octal.h
@@ -11,6 +11,7 @@
* THIS SOFTWARE.
*/
/* Gen from buf_inspect_u_base.h.in BITS=W bits=w BASE=octal */
+#include "types.h"
sw buf_inspect_uw_octal (s_buf *buf, const uw *u);
sw buf_inspect_uw_octal_size (const uw *u);
diff --git a/libc3/gen.mk b/libc3/gen.mk
index 3b602e8..26abf68 100644
--- a/libc3/gen.mk
+++ b/libc3/gen.mk
@@ -37,6 +37,10 @@ GENERATED_FILES = \
buf_inspect_sw_decimal.c buf_inspect_sw_decimal.h \
buf_inspect_sw_hexadecimal.c buf_inspect_sw_hexadecimal.h \
buf_inspect_u8.c buf_inspect_u8.h \
+ buf_inspect_u8_binary.c buf_inspect_u8_binary.h \
+ buf_inspect_u8_octal.c buf_inspect_u8_octal.h \
+ buf_inspect_u8_decimal.c buf_inspect_u8_decimal.h \
+ buf_inspect_u8_hexadecimal.c buf_inspect_u8_hexadecimal.h \
buf_inspect_u16.c buf_inspect_u16.h \
buf_inspect_u16_binary.c buf_inspect_u16_binary.h \
buf_inspect_u16_octal.c buf_inspect_u16_octal.h \
@@ -100,29 +104,29 @@ buf_inspect_s8.c: buf_inspect_s.c.in gen.mk
buf_inspect_s8.h: buf_inspect_s.h.in gen.mk
${SED_BITS_8} < buf_inspect_s.h.in > buf_inspect_s8.h
-buf_inspect_s8_binary.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_8_BINARY} < buf_inspect_u_base.c.in > buf_inspect_s8_binary.c
+buf_inspect_s8_binary.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_8_BINARY} < buf_inspect_s_base.c.in > buf_inspect_s8_binary.c
-buf_inspect_s8_binary.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_8_BINARY} < buf_inspect_u_base.h.in > buf_inspect_s8_binary.h
+buf_inspect_s8_binary.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_8_BINARY} < buf_inspect_s_base.h.in > buf_inspect_s8_binary.h
-buf_inspect_s8_octal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_8_OCTAL} < buf_inspect_u_base.c.in > buf_inspect_s8_octal.c
+buf_inspect_s8_octal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_8_OCTAL} < buf_inspect_s_base.c.in > buf_inspect_s8_octal.c
-buf_inspect_s8_octal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_8_OCTAL} < buf_inspect_u_base.h.in > buf_inspect_s8_octal.h
+buf_inspect_s8_octal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_8_OCTAL} < buf_inspect_s_base.h.in > buf_inspect_s8_octal.h
-buf_inspect_s8_decimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_8_DECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s8_decimal.c
+buf_inspect_s8_decimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_8_DECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s8_decimal.c
-buf_inspect_s8_decimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_8_DECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s8_decimal.h
+buf_inspect_s8_decimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_8_DECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s8_decimal.h
-buf_inspect_s8_hexadecimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_8_HEXADECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s8_hexadecimal.c
+buf_inspect_s8_hexadecimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_8_HEXADECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s8_hexadecimal.c
-buf_inspect_s8_hexadecimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_8_HEXADECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s8_hexadecimal.h
+buf_inspect_s8_hexadecimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_8_HEXADECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s8_hexadecimal.h
buf_inspect_u8.c: buf_inspect_u.c.in gen.mk
${SED_BITS_8} < buf_inspect_u.c.in > buf_inspect_u8.c
@@ -188,29 +192,29 @@ buf_inspect_s16.c: buf_inspect_s.c.in gen.mk
buf_inspect_s16.h: buf_inspect_s.h.in gen.mk
${SED_BITS_16} < buf_inspect_s.h.in > buf_inspect_s16.h
-buf_inspect_s16_binary.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_16_BINARY} < buf_inspect_u_base.c.in > buf_inspect_s16_binary.c
+buf_inspect_s16_binary.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_16_BINARY} < buf_inspect_s_base.c.in > buf_inspect_s16_binary.c
-buf_inspect_s16_binary.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_16_BINARY} < buf_inspect_u_base.h.in > buf_inspect_s16_binary.h
+buf_inspect_s16_binary.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_16_BINARY} < buf_inspect_s_base.h.in > buf_inspect_s16_binary.h
-buf_inspect_s16_octal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_16_OCTAL} < buf_inspect_u_base.c.in > buf_inspect_s16_octal.c
+buf_inspect_s16_octal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_16_OCTAL} < buf_inspect_s_base.c.in > buf_inspect_s16_octal.c
-buf_inspect_s16_octal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_16_OCTAL} < buf_inspect_u_base.h.in > buf_inspect_s16_octal.h
+buf_inspect_s16_octal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_16_OCTAL} < buf_inspect_s_base.h.in > buf_inspect_s16_octal.h
-buf_inspect_s16_decimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_16_DECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s16_decimal.c
+buf_inspect_s16_decimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_16_DECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s16_decimal.c
-buf_inspect_s16_decimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_16_DECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s16_decimal.h
+buf_inspect_s16_decimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_16_DECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s16_decimal.h
-buf_inspect_s16_hexadecimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_16_HEXADECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s16_hexadecimal.c
+buf_inspect_s16_hexadecimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_16_HEXADECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s16_hexadecimal.c
-buf_inspect_s16_hexadecimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_16_HEXADECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s16_hexadecimal.h
+buf_inspect_s16_hexadecimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_16_HEXADECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s16_hexadecimal.h
buf_inspect_u16.c: buf_inspect_u.c.in gen.mk
${SED_BITS_16} < buf_inspect_u.c.in > buf_inspect_u16.c
@@ -276,29 +280,29 @@ buf_inspect_s32.c: buf_inspect_s.c.in gen.mk
buf_inspect_s32.h: buf_inspect_s.h.in gen.mk
${SED_BITS_32} < buf_inspect_s.h.in > buf_inspect_s32.h
-buf_inspect_s32_binary.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_32_BINARY} < buf_inspect_u_base.c.in > buf_inspect_s32_binary.c
+buf_inspect_s32_binary.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_32_BINARY} < buf_inspect_s_base.c.in > buf_inspect_s32_binary.c
-buf_inspect_s32_binary.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_32_BINARY} < buf_inspect_u_base.h.in > buf_inspect_s32_binary.h
+buf_inspect_s32_binary.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_32_BINARY} < buf_inspect_s_base.h.in > buf_inspect_s32_binary.h
-buf_inspect_s32_octal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_32_OCTAL} < buf_inspect_u_base.c.in > buf_inspect_s32_octal.c
+buf_inspect_s32_octal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_32_OCTAL} < buf_inspect_s_base.c.in > buf_inspect_s32_octal.c
-buf_inspect_s32_octal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_32_OCTAL} < buf_inspect_u_base.h.in > buf_inspect_s32_octal.h
+buf_inspect_s32_octal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_32_OCTAL} < buf_inspect_s_base.h.in > buf_inspect_s32_octal.h
-buf_inspect_s32_decimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_32_DECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s32_decimal.c
+buf_inspect_s32_decimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_32_DECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s32_decimal.c
-buf_inspect_s32_decimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_32_DECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s32_decimal.h
+buf_inspect_s32_decimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_32_DECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s32_decimal.h
-buf_inspect_s32_hexadecimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_32_HEXADECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s32_hexadecimal.c
+buf_inspect_s32_hexadecimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_32_HEXADECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s32_hexadecimal.c
-buf_inspect_s32_hexadecimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_32_HEXADECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s32_hexadecimal.h
+buf_inspect_s32_hexadecimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_32_HEXADECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s32_hexadecimal.h
buf_inspect_u32.c: buf_inspect_u.c.in gen.mk
${SED_BITS_32} < buf_inspect_u.c.in > buf_inspect_u32.c
@@ -364,29 +368,29 @@ buf_inspect_s64.c: buf_inspect_s.c.in gen.mk
buf_inspect_s64.h: buf_inspect_s.h.in gen.mk
${SED_BITS_64} < buf_inspect_s.h.in > buf_inspect_s64.h
-buf_inspect_s64_binary.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_64_BINARY} < buf_inspect_u_base.c.in > buf_inspect_s64_binary.c
+buf_inspect_s64_binary.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_64_BINARY} < buf_inspect_s_base.c.in > buf_inspect_s64_binary.c
-buf_inspect_s64_binary.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_64_BINARY} < buf_inspect_u_base.h.in > buf_inspect_s64_binary.h
+buf_inspect_s64_binary.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_64_BINARY} < buf_inspect_s_base.h.in > buf_inspect_s64_binary.h
-buf_inspect_s64_octal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_64_OCTAL} < buf_inspect_u_base.c.in > buf_inspect_s64_octal.c
+buf_inspect_s64_octal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_64_OCTAL} < buf_inspect_s_base.c.in > buf_inspect_s64_octal.c
-buf_inspect_s64_octal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_64_OCTAL} < buf_inspect_u_base.h.in > buf_inspect_s64_octal.h
+buf_inspect_s64_octal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_64_OCTAL} < buf_inspect_s_base.h.in > buf_inspect_s64_octal.h
-buf_inspect_s64_decimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_64_DECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s64_decimal.c
+buf_inspect_s64_decimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_64_DECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s64_decimal.c
-buf_inspect_s64_decimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_64_DECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s64_decimal.h
+buf_inspect_s64_decimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_64_DECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s64_decimal.h
-buf_inspect_s64_hexadecimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_64_HEXADECIMAL} < buf_inspect_u_base.c.in > buf_inspect_s64_hexadecimal.c
+buf_inspect_s64_hexadecimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_64_HEXADECIMAL} < buf_inspect_s_base.c.in > buf_inspect_s64_hexadecimal.c
-buf_inspect_s64_hexadecimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_64_HEXADECIMAL} < buf_inspect_u_base.h.in > buf_inspect_s64_hexadecimal.h
+buf_inspect_s64_hexadecimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_64_HEXADECIMAL} < buf_inspect_s_base.h.in > buf_inspect_s64_hexadecimal.h
buf_inspect_u64.c: buf_inspect_u.c.in gen.mk
${SED_BITS_64} < buf_inspect_u.c.in > buf_inspect_u64.c
@@ -452,29 +456,29 @@ buf_inspect_sw.c: buf_inspect_s.c.in gen.mk
buf_inspect_sw.h: buf_inspect_s.h.in gen.mk
${SED_BITS_W} < buf_inspect_s.h.in > buf_inspect_sw.h
-buf_inspect_sw_binary.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_W_BINARY} < buf_inspect_u_base.c.in > buf_inspect_sw_binary.c
+buf_inspect_sw_binary.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_W_BINARY} < buf_inspect_s_base.c.in > buf_inspect_sw_binary.c
-buf_inspect_sw_binary.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_W_BINARY} < buf_inspect_u_base.h.in > buf_inspect_sw_binary.h
+buf_inspect_sw_binary.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_W_BINARY} < buf_inspect_s_base.h.in > buf_inspect_sw_binary.h
-buf_inspect_sw_octal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_W_OCTAL} < buf_inspect_u_base.c.in > buf_inspect_sw_octal.c
+buf_inspect_sw_octal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_W_OCTAL} < buf_inspect_s_base.c.in > buf_inspect_sw_octal.c
-buf_inspect_sw_octal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_W_OCTAL} < buf_inspect_u_base.h.in > buf_inspect_sw_octal.h
+buf_inspect_sw_octal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_W_OCTAL} < buf_inspect_s_base.h.in > buf_inspect_sw_octal.h
-buf_inspect_sw_decimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_W_DECIMAL} < buf_inspect_u_base.c.in > buf_inspect_sw_decimal.c
+buf_inspect_sw_decimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_W_DECIMAL} < buf_inspect_s_base.c.in > buf_inspect_sw_decimal.c
-buf_inspect_sw_decimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_W_DECIMAL} < buf_inspect_u_base.h.in > buf_inspect_sw_decimal.h
+buf_inspect_sw_decimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_W_DECIMAL} < buf_inspect_s_base.h.in > buf_inspect_sw_decimal.h
-buf_inspect_sw_hexadecimal.c: buf_inspect_u_base.c.in gen.mk
- ${SED_BITS_W_HEXADECIMAL} < buf_inspect_u_base.c.in > buf_inspect_sw_hexadecimal.c
+buf_inspect_sw_hexadecimal.c: buf_inspect_s_base.c.in gen.mk
+ ${SED_BITS_W_HEXADECIMAL} < buf_inspect_s_base.c.in > buf_inspect_sw_hexadecimal.c
-buf_inspect_sw_hexadecimal.h: buf_inspect_u_base.h.in gen.mk
- ${SED_BITS_W_HEXADECIMAL} < buf_inspect_u_base.h.in > buf_inspect_sw_hexadecimal.h
+buf_inspect_sw_hexadecimal.h: buf_inspect_s_base.h.in gen.mk
+ ${SED_BITS_W_HEXADECIMAL} < buf_inspect_s_base.h.in > buf_inspect_sw_hexadecimal.h
buf_inspect_uw.c: buf_inspect_u.c.in gen.mk
${SED_BITS_W} < buf_inspect_u.c.in > buf_inspect_uw.c
diff --git a/libc3/sources.mk b/libc3/sources.mk
index d48dc21..d8c9fc3 100644
--- a/libc3/sources.mk
+++ b/libc3/sources.mk
@@ -49,6 +49,10 @@ HEADERS = \
buf_inspect_u64_hexadecimal.h \
buf_inspect_u64_octal.h \
buf_inspect_u8.h \
+ buf_inspect_u8_binary.h \
+ buf_inspect_u8_decimal.h \
+ buf_inspect_u8_hexadecimal.h \
+ buf_inspect_u8_octal.h \
buf_inspect_uw.h \
buf_inspect_uw_binary.h \
buf_inspect_uw_decimal.h \
@@ -166,6 +170,10 @@ SOURCES = \
buf_inspect_u64_hexadecimal.c \
buf_inspect_u64_octal.c \
buf_inspect_u8.c \
+ buf_inspect_u8_binary.c \
+ buf_inspect_u8_decimal.c \
+ buf_inspect_u8_hexadecimal.c \
+ buf_inspect_u8_octal.c \
buf_inspect_uw.c \
buf_inspect_uw_binary.c \
buf_inspect_uw_decimal.c \
@@ -278,6 +286,10 @@ LO_SOURCES = \
buf_inspect_u64_hexadecimal.c \
buf_inspect_u64_octal.c \
buf_inspect_u8.c \
+ buf_inspect_u8_binary.c \
+ buf_inspect_u8_decimal.c \
+ buf_inspect_u8_hexadecimal.c \
+ buf_inspect_u8_octal.c \
buf_inspect_uw.c \
buf_inspect_uw_binary.c \
buf_inspect_uw_decimal.c \
diff --git a/libc3/sources.sh b/libc3/sources.sh
index d283c43..37b6b47 100644
--- a/libc3/sources.sh
+++ b/libc3/sources.sh
@@ -1,4 +1,4 @@
# sources.sh generated by update_sources
-HEADERS='abs.h arg.h array.h binding.h bool.h buf.h buf_file.h buf_inspect.h buf_inspect_s16.h buf_inspect_s16_binary.h buf_inspect_s16_decimal.h buf_inspect_s16_hexadecimal.h buf_inspect_s16_octal.h buf_inspect_s32.h buf_inspect_s32_binary.h buf_inspect_s32_decimal.h buf_inspect_s32_hexadecimal.h buf_inspect_s32_octal.h buf_inspect_s64.h buf_inspect_s64_binary.h buf_inspect_s64_decimal.h buf_inspect_s64_hexadecimal.h buf_inspect_s64_octal.h buf_inspect_s8.h buf_inspect_s8_binary.h buf_inspect_s8_decimal.h buf_inspect_s8_hexadecimal.h buf_inspect_s8_octal.h buf_inspect_sw.h buf_inspect_sw_binary.h buf_inspect_sw_decimal.h buf_inspect_sw_hexadecimal.h buf_inspect_sw_octal.h buf_inspect_u16.h buf_inspect_u16_binary.h buf_inspect_u16_decimal.h buf_inspect_u16_hexadecimal.h buf_inspect_u16_octal.h buf_inspect_u32.h buf_inspect_u32_binary.h buf_inspect_u32_decimal.h buf_inspect_u32_hexadecimal.h buf_inspect_u32_octal.h buf_inspect_u64.h buf_inspect_u64_binary.h buf_inspect_u64_decimal.h buf_inspect_u64_hexadecimal.h buf_inspect_u64_octal.h buf_inspect_u8.h buf_inspect_uw.h buf_inspect_uw_binary.h buf_inspect_uw_decimal.h buf_inspect_uw_hexadecimal.h buf_inspect_uw_octal.h buf_parse.h buf_parse_c.h buf_parse_s16.h buf_parse_s32.h buf_parse_s64.h buf_parse_s8.h buf_parse_sw.h buf_parse_u16.h buf_parse_u32.h buf_parse_u64.h buf_parse_u8.h buf_parse_uw.h buf_save.h c3.h c_types.h call.h ceiling.h cfn.h character.h compare.h config.h env.h error.h error_handler.h eval.h fact.h facts.h facts_cursor.h facts_spec.h facts_spec_cursor.h facts_with.h facts_with_cursor.h float.h fn.h frame.h hash.h ident.h integer.h io.h list.h log.h module.h operator.h quote.h set__fact.h set__tag.h set_cursor__fact.h set_cursor__tag.h set_item__fact.h set_item__tag.h sha1.h sign.h skiplist__fact.h skiplist_node__fact.h str.h sym.h tag.h tuple.h type.h types.h ucd.h '
-SOURCES='abs.c arg.c array.c binding.c bool.c buf.c buf_file.c buf_inspect.c buf_inspect_s16.c buf_inspect_s16_binary.c buf_inspect_s16_decimal.c buf_inspect_s16_hexadecimal.c buf_inspect_s16_octal.c buf_inspect_s32.c buf_inspect_s32_binary.c buf_inspect_s32_decimal.c buf_inspect_s32_hexadecimal.c buf_inspect_s32_octal.c buf_inspect_s64.c buf_inspect_s64_binary.c buf_inspect_s64_decimal.c buf_inspect_s64_hexadecimal.c buf_inspect_s64_octal.c buf_inspect_s8.c buf_inspect_s8_binary.c buf_inspect_s8_decimal.c buf_inspect_s8_hexadecimal.c buf_inspect_s8_octal.c buf_inspect_sw.c buf_inspect_sw_binary.c buf_inspect_sw_decimal.c buf_inspect_sw_hexadecimal.c buf_inspect_sw_octal.c buf_inspect_u16.c buf_inspect_u16_binary.c buf_inspect_u16_decimal.c buf_inspect_u16_hexadecimal.c buf_inspect_u16_octal.c buf_inspect_u32.c buf_inspect_u32_binary.c buf_inspect_u32_decimal.c buf_inspect_u32_hexadecimal.c buf_inspect_u32_octal.c buf_inspect_u64.c buf_inspect_u64_binary.c buf_inspect_u64_decimal.c buf_inspect_u64_hexadecimal.c buf_inspect_u64_octal.c buf_inspect_u8.c buf_inspect_uw.c buf_inspect_uw_binary.c buf_inspect_uw_decimal.c buf_inspect_uw_hexadecimal.c buf_inspect_uw_octal.c buf_parse.c buf_parse_c.c buf_parse_s16.c buf_parse_s32.c buf_parse_s64.c buf_parse_s8.c buf_parse_sw.c buf_parse_u16.c buf_parse_u32.c buf_parse_u64.c buf_parse_u8.c buf_parse_uw.c buf_save.c c3.c call.c ceiling.c cfn.c character.c compare.c env.c error.c error_handler.c eval.c fact.c facts.c facts_cursor.c facts_spec.c facts_spec_cursor.c facts_with.c facts_with_cursor.c fn.c frame.c hash.c ident.c integer.c io.c list.c log.c module.c operator.c quote.c set__fact.c set__tag.c set_cursor__fact.c set_cursor__tag.c set_item__fact.c set_item__tag.c sign.c skiplist__fact.c skiplist_node__fact.c str.c sym.c tag.c tuple.c type.c ucd.c '
-LO_SOURCES='abs.c arg.c array.c binding.c bool.c buf.c buf_file.c buf_inspect.c buf_inspect_s16.c buf_inspect_s16_binary.c buf_inspect_s16_decimal.c buf_inspect_s16_hexadecimal.c buf_inspect_s16_octal.c buf_inspect_s32.c buf_inspect_s32_binary.c buf_inspect_s32_decimal.c buf_inspect_s32_hexadecimal.c buf_inspect_s32_octal.c buf_inspect_s64.c buf_inspect_s64_binary.c buf_inspect_s64_decimal.c buf_inspect_s64_hexadecimal.c buf_inspect_s64_octal.c buf_inspect_s8.c buf_inspect_s8_binary.c buf_inspect_s8_decimal.c buf_inspect_s8_hexadecimal.c buf_inspect_s8_octal.c buf_inspect_sw.c buf_inspect_sw_binary.c buf_inspect_sw_decimal.c buf_inspect_sw_hexadecimal.c buf_inspect_sw_octal.c buf_inspect_u16.c buf_inspect_u16_binary.c buf_inspect_u16_decimal.c buf_inspect_u16_hexadecimal.c buf_inspect_u16_octal.c buf_inspect_u32.c buf_inspect_u32_binary.c buf_inspect_u32_decimal.c buf_inspect_u32_hexadecimal.c buf_inspect_u32_octal.c buf_inspect_u64.c buf_inspect_u64_binary.c buf_inspect_u64_decimal.c buf_inspect_u64_hexadecimal.c buf_inspect_u64_octal.c buf_inspect_u8.c buf_inspect_uw.c buf_inspect_uw_binary.c buf_inspect_uw_decimal.c buf_inspect_uw_hexadecimal.c buf_inspect_uw_octal.c buf_parse.c buf_parse_c.c buf_parse_s16.c buf_parse_s32.c buf_parse_s64.c buf_parse_s8.c buf_parse_sw.c buf_parse_u16.c buf_parse_u32.c buf_parse_u64.c buf_parse_u8.c buf_parse_uw.c buf_save.c c3.c call.c ceiling.c cfn.c character.c compare.c env.c error.c error_handler.c eval.c fact.c facts.c facts_cursor.c facts_spec.c facts_spec_cursor.c facts_with.c facts_with_cursor.c fn.c frame.c hash.c ident.c integer.c io.c list.c log.c module.c operator.c quote.c set__fact.c set__tag.c set_cursor__fact.c set_cursor__tag.c set_item__fact.c set_item__tag.c sign.c skiplist__fact.c skiplist_node__fact.c str.c sym.c tag.c tuple.c type.c ucd.c ../libtommath/bn_cutoffs.c ../libtommath/bn_mp_2expt.c ../libtommath/bn_mp_abs.c ../libtommath/bn_mp_add.c ../libtommath/bn_mp_add_d.c ../libtommath/bn_mp_and.c ../libtommath/bn_mp_clamp.c ../libtommath/bn_mp_clear.c ../libtommath/bn_mp_clear_multi.c ../libtommath/bn_mp_cmp.c ../libtommath/bn_mp_cmp_d.c ../libtommath/bn_mp_cmp_mag.c ../libtommath/bn_mp_cnt_lsb.c ../libtommath/bn_mp_complement.c ../libtommath/bn_mp_copy.c ../libtommath/bn_mp_count_bits.c ../libtommath/bn_mp_div.c ../libtommath/bn_mp_div_2.c ../libtommath/bn_mp_div_2d.c ../libtommath/bn_mp_div_3.c ../libtommath/bn_mp_div_d.c ../libtommath/bn_mp_dr_is_modulus.c ../libtommath/bn_mp_dr_reduce.c ../libtommath/bn_mp_dr_setup.c ../libtommath/bn_mp_error_to_string.c ../libtommath/bn_mp_exch.c ../libtommath/bn_mp_exptmod.c ../libtommath/bn_mp_gcd.c ../libtommath/bn_mp_get_i32.c ../libtommath/bn_mp_get_i64.c ../libtommath/bn_mp_get_mag_u32.c ../libtommath/bn_mp_get_mag_u64.c ../libtommath/bn_mp_grow.c ../libtommath/bn_mp_init.c ../libtommath/bn_mp_init_copy.c ../libtommath/bn_mp_init_multi.c ../libtommath/bn_mp_init_size.c ../libtommath/bn_mp_invmod.c ../libtommath/bn_mp_lcm.c ../libtommath/bn_mp_lshd.c ../libtommath/bn_mp_mod.c ../libtommath/bn_mp_mod_2d.c ../libtommath/bn_mp_montgomery_calc_normalization.c ../libtommath/bn_mp_montgomery_reduce.c ../libtommath/bn_mp_montgomery_setup.c ../libtommath/bn_mp_mul.c ../libtommath/bn_mp_mul_2.c ../libtommath/bn_mp_mul_2d.c ../libtommath/bn_mp_mul_d.c ../libtommath/bn_mp_mulmod.c ../libtommath/bn_mp_neg.c ../libtommath/bn_mp_or.c ../libtommath/bn_mp_radix_size.c ../libtommath/bn_mp_reduce.c ../libtommath/bn_mp_reduce_2k.c ../libtommath/bn_mp_reduce_2k_l.c ../libtommath/bn_mp_reduce_2k_setup.c ../libtommath/bn_mp_reduce_2k_setup_l.c ../libtommath/bn_mp_reduce_is_2k.c ../libtommath/bn_mp_reduce_is_2k_l.c ../libtommath/bn_mp_reduce_setup.c ../libtommath/bn_mp_rshd.c ../libtommath/bn_mp_set.c ../libtommath/bn_mp_sqr.c ../libtommath/bn_mp_sqrt.c ../libtommath/bn_mp_sub.c ../libtommath/bn_mp_sub_d.c ../libtommath/bn_mp_xor.c ../libtommath/bn_mp_zero.c ../libtommath/bn_s_mp_add.c ../libtommath/bn_s_mp_balance_mul.c ../libtommath/bn_s_mp_exptmod.c ../libtommath/bn_s_mp_exptmod_fast.c ../libtommath/bn_s_mp_invmod_fast.c ../libtommath/bn_s_mp_invmod_slow.c ../libtommath/bn_s_mp_karatsuba_mul.c ../libtommath/bn_s_mp_karatsuba_sqr.c ../libtommath/bn_s_mp_montgomery_reduce_fast.c ../libtommath/bn_s_mp_mul_digs.c ../libtommath/bn_s_mp_mul_digs_fast.c ../libtommath/bn_s_mp_mul_high_digs.c ../libtommath/bn_s_mp_mul_high_digs_fast.c ../libtommath/bn_s_mp_rand_platform.c ../libtommath/bn_s_mp_sqr.c ../libtommath/bn_s_mp_sqr_fast.c ../libtommath/bn_s_mp_sub.c ../libtommath/bn_s_mp_toom_mul.c ../libtommath/bn_s_mp_toom_sqr.c '
+HEADERS='abs.h arg.h array.h binding.h bool.h buf.h buf_file.h buf_inspect.h buf_inspect_s16.h buf_inspect_s16_binary.h buf_inspect_s16_decimal.h buf_inspect_s16_hexadecimal.h buf_inspect_s16_octal.h buf_inspect_s32.h buf_inspect_s32_binary.h buf_inspect_s32_decimal.h buf_inspect_s32_hexadecimal.h buf_inspect_s32_octal.h buf_inspect_s64.h buf_inspect_s64_binary.h buf_inspect_s64_decimal.h buf_inspect_s64_hexadecimal.h buf_inspect_s64_octal.h buf_inspect_s8.h buf_inspect_s8_binary.h buf_inspect_s8_decimal.h buf_inspect_s8_hexadecimal.h buf_inspect_s8_octal.h buf_inspect_sw.h buf_inspect_sw_binary.h buf_inspect_sw_decimal.h buf_inspect_sw_hexadecimal.h buf_inspect_sw_octal.h buf_inspect_u16.h buf_inspect_u16_binary.h buf_inspect_u16_decimal.h buf_inspect_u16_hexadecimal.h buf_inspect_u16_octal.h buf_inspect_u32.h buf_inspect_u32_binary.h buf_inspect_u32_decimal.h buf_inspect_u32_hexadecimal.h buf_inspect_u32_octal.h buf_inspect_u64.h buf_inspect_u64_binary.h buf_inspect_u64_decimal.h buf_inspect_u64_hexadecimal.h buf_inspect_u64_octal.h buf_inspect_u8.h buf_inspect_u8_binary.h buf_inspect_u8_decimal.h buf_inspect_u8_hexadecimal.h buf_inspect_u8_octal.h buf_inspect_uw.h buf_inspect_uw_binary.h buf_inspect_uw_decimal.h buf_inspect_uw_hexadecimal.h buf_inspect_uw_octal.h buf_parse.h buf_parse_c.h buf_parse_s16.h buf_parse_s32.h buf_parse_s64.h buf_parse_s8.h buf_parse_sw.h buf_parse_u16.h buf_parse_u32.h buf_parse_u64.h buf_parse_u8.h buf_parse_uw.h buf_save.h c3.h c_types.h call.h ceiling.h cfn.h character.h compare.h config.h env.h error.h error_handler.h eval.h fact.h facts.h facts_cursor.h facts_spec.h facts_spec_cursor.h facts_with.h facts_with_cursor.h float.h fn.h frame.h hash.h ident.h integer.h io.h list.h log.h module.h operator.h quote.h set__fact.h set__tag.h set_cursor__fact.h set_cursor__tag.h set_item__fact.h set_item__tag.h sha1.h sign.h skiplist__fact.h skiplist_node__fact.h str.h sym.h tag.h tuple.h type.h types.h ucd.h '
+SOURCES='abs.c arg.c array.c binding.c bool.c buf.c buf_file.c buf_inspect.c buf_inspect_s16.c buf_inspect_s16_binary.c buf_inspect_s16_decimal.c buf_inspect_s16_hexadecimal.c buf_inspect_s16_octal.c buf_inspect_s32.c buf_inspect_s32_binary.c buf_inspect_s32_decimal.c buf_inspect_s32_hexadecimal.c buf_inspect_s32_octal.c buf_inspect_s64.c buf_inspect_s64_binary.c buf_inspect_s64_decimal.c buf_inspect_s64_hexadecimal.c buf_inspect_s64_octal.c buf_inspect_s8.c buf_inspect_s8_binary.c buf_inspect_s8_decimal.c buf_inspect_s8_hexadecimal.c buf_inspect_s8_octal.c buf_inspect_sw.c buf_inspect_sw_binary.c buf_inspect_sw_decimal.c buf_inspect_sw_hexadecimal.c buf_inspect_sw_octal.c buf_inspect_u16.c buf_inspect_u16_binary.c buf_inspect_u16_decimal.c buf_inspect_u16_hexadecimal.c buf_inspect_u16_octal.c buf_inspect_u32.c buf_inspect_u32_binary.c buf_inspect_u32_decimal.c buf_inspect_u32_hexadecimal.c buf_inspect_u32_octal.c buf_inspect_u64.c buf_inspect_u64_binary.c buf_inspect_u64_decimal.c buf_inspect_u64_hexadecimal.c buf_inspect_u64_octal.c buf_inspect_u8.c buf_inspect_u8_binary.c buf_inspect_u8_decimal.c buf_inspect_u8_hexadecimal.c buf_inspect_u8_octal.c buf_inspect_uw.c buf_inspect_uw_binary.c buf_inspect_uw_decimal.c buf_inspect_uw_hexadecimal.c buf_inspect_uw_octal.c buf_parse.c buf_parse_c.c buf_parse_s16.c buf_parse_s32.c buf_parse_s64.c buf_parse_s8.c buf_parse_sw.c buf_parse_u16.c buf_parse_u32.c buf_parse_u64.c buf_parse_u8.c buf_parse_uw.c buf_save.c c3.c call.c ceiling.c cfn.c character.c compare.c env.c error.c error_handler.c eval.c fact.c facts.c facts_cursor.c facts_spec.c facts_spec_cursor.c facts_with.c facts_with_cursor.c fn.c frame.c hash.c ident.c integer.c io.c list.c log.c module.c operator.c quote.c set__fact.c set__tag.c set_cursor__fact.c set_cursor__tag.c set_item__fact.c set_item__tag.c sign.c skiplist__fact.c skiplist_node__fact.c str.c sym.c tag.c tuple.c type.c ucd.c '
+LO_SOURCES='abs.c arg.c array.c binding.c bool.c buf.c buf_file.c buf_inspect.c buf_inspect_s16.c buf_inspect_s16_binary.c buf_inspect_s16_decimal.c buf_inspect_s16_hexadecimal.c buf_inspect_s16_octal.c buf_inspect_s32.c buf_inspect_s32_binary.c buf_inspect_s32_decimal.c buf_inspect_s32_hexadecimal.c buf_inspect_s32_octal.c buf_inspect_s64.c buf_inspect_s64_binary.c buf_inspect_s64_decimal.c buf_inspect_s64_hexadecimal.c buf_inspect_s64_octal.c buf_inspect_s8.c buf_inspect_s8_binary.c buf_inspect_s8_decimal.c buf_inspect_s8_hexadecimal.c buf_inspect_s8_octal.c buf_inspect_sw.c buf_inspect_sw_binary.c buf_inspect_sw_decimal.c buf_inspect_sw_hexadecimal.c buf_inspect_sw_octal.c buf_inspect_u16.c buf_inspect_u16_binary.c buf_inspect_u16_decimal.c buf_inspect_u16_hexadecimal.c buf_inspect_u16_octal.c buf_inspect_u32.c buf_inspect_u32_binary.c buf_inspect_u32_decimal.c buf_inspect_u32_hexadecimal.c buf_inspect_u32_octal.c buf_inspect_u64.c buf_inspect_u64_binary.c buf_inspect_u64_decimal.c buf_inspect_u64_hexadecimal.c buf_inspect_u64_octal.c buf_inspect_u8.c buf_inspect_u8_binary.c buf_inspect_u8_decimal.c buf_inspect_u8_hexadecimal.c buf_inspect_u8_octal.c buf_inspect_uw.c buf_inspect_uw_binary.c buf_inspect_uw_decimal.c buf_inspect_uw_hexadecimal.c buf_inspect_uw_octal.c buf_parse.c buf_parse_c.c buf_parse_s16.c buf_parse_s32.c buf_parse_s64.c buf_parse_s8.c buf_parse_sw.c buf_parse_u16.c buf_parse_u32.c buf_parse_u64.c buf_parse_u8.c buf_parse_uw.c buf_save.c c3.c call.c ceiling.c cfn.c character.c compare.c env.c error.c error_handler.c eval.c fact.c facts.c facts_cursor.c facts_spec.c facts_spec_cursor.c facts_with.c facts_with_cursor.c fn.c frame.c hash.c ident.c integer.c io.c list.c log.c module.c operator.c quote.c set__fact.c set__tag.c set_cursor__fact.c set_cursor__tag.c set_item__fact.c set_item__tag.c sign.c skiplist__fact.c skiplist_node__fact.c str.c sym.c tag.c tuple.c type.c ucd.c ../libtommath/bn_cutoffs.c ../libtommath/bn_mp_2expt.c ../libtommath/bn_mp_abs.c ../libtommath/bn_mp_add.c ../libtommath/bn_mp_add_d.c ../libtommath/bn_mp_and.c ../libtommath/bn_mp_clamp.c ../libtommath/bn_mp_clear.c ../libtommath/bn_mp_clear_multi.c ../libtommath/bn_mp_cmp.c ../libtommath/bn_mp_cmp_d.c ../libtommath/bn_mp_cmp_mag.c ../libtommath/bn_mp_cnt_lsb.c ../libtommath/bn_mp_complement.c ../libtommath/bn_mp_copy.c ../libtommath/bn_mp_count_bits.c ../libtommath/bn_mp_div.c ../libtommath/bn_mp_div_2.c ../libtommath/bn_mp_div_2d.c ../libtommath/bn_mp_div_3.c ../libtommath/bn_mp_div_d.c ../libtommath/bn_mp_dr_is_modulus.c ../libtommath/bn_mp_dr_reduce.c ../libtommath/bn_mp_dr_setup.c ../libtommath/bn_mp_error_to_string.c ../libtommath/bn_mp_exch.c ../libtommath/bn_mp_exptmod.c ../libtommath/bn_mp_gcd.c ../libtommath/bn_mp_get_i32.c ../libtommath/bn_mp_get_i64.c ../libtommath/bn_mp_get_mag_u32.c ../libtommath/bn_mp_get_mag_u64.c ../libtommath/bn_mp_grow.c ../libtommath/bn_mp_init.c ../libtommath/bn_mp_init_copy.c ../libtommath/bn_mp_init_multi.c ../libtommath/bn_mp_init_size.c ../libtommath/bn_mp_invmod.c ../libtommath/bn_mp_lcm.c ../libtommath/bn_mp_lshd.c ../libtommath/bn_mp_mod.c ../libtommath/bn_mp_mod_2d.c ../libtommath/bn_mp_montgomery_calc_normalization.c ../libtommath/bn_mp_montgomery_reduce.c ../libtommath/bn_mp_montgomery_setup.c ../libtommath/bn_mp_mul.c ../libtommath/bn_mp_mul_2.c ../libtommath/bn_mp_mul_2d.c ../libtommath/bn_mp_mul_d.c ../libtommath/bn_mp_mulmod.c ../libtommath/bn_mp_neg.c ../libtommath/bn_mp_or.c ../libtommath/bn_mp_radix_size.c ../libtommath/bn_mp_reduce.c ../libtommath/bn_mp_reduce_2k.c ../libtommath/bn_mp_reduce_2k_l.c ../libtommath/bn_mp_reduce_2k_setup.c ../libtommath/bn_mp_reduce_2k_setup_l.c ../libtommath/bn_mp_reduce_is_2k.c ../libtommath/bn_mp_reduce_is_2k_l.c ../libtommath/bn_mp_reduce_setup.c ../libtommath/bn_mp_rshd.c ../libtommath/bn_mp_set.c ../libtommath/bn_mp_sqr.c ../libtommath/bn_mp_sqrt.c ../libtommath/bn_mp_sub.c ../libtommath/bn_mp_sub_d.c ../libtommath/bn_mp_xor.c ../libtommath/bn_mp_zero.c ../libtommath/bn_s_mp_add.c ../libtommath/bn_s_mp_balance_mul.c ../libtommath/bn_s_mp_exptmod.c ../libtommath/bn_s_mp_exptmod_fast.c ../libtommath/bn_s_mp_invmod_fast.c ../libtommath/bn_s_mp_invmod_slow.c ../libtommath/bn_s_mp_karatsuba_mul.c ../libtommath/bn_s_mp_karatsuba_sqr.c ../libtommath/bn_s_mp_montgomery_reduce_fast.c ../libtommath/bn_s_mp_mul_digs.c ../libtommath/bn_s_mp_mul_digs_fast.c ../libtommath/bn_s_mp_mul_high_digs.c ../libtommath/bn_s_mp_mul_high_digs_fast.c ../libtommath/bn_s_mp_rand_platform.c ../libtommath/bn_s_mp_sqr.c ../libtommath/bn_s_mp_sqr_fast.c ../libtommath/bn_s_mp_sub.c ../libtommath/bn_s_mp_toom_mul.c ../libtommath/bn_s_mp_toom_sqr.c '
diff --git a/libc3/tag.c b/libc3/tag.c
index e6ffc4d..3cd47a5 100644
--- a/libc3/tag.c
+++ b/libc3/tag.c
@@ -294,7 +294,7 @@ s_tag * tag_add (const s_tag *a, const s_tag *b, s_tag *dest)
bool tag_and (const s_tag *a, const s_tag *b)
{
s_tag f;
- tag_init_1(&f, "false");
+ tag_init_bool(&f, false);
return compare_tag(a, &f) != 0 && compare_tag(b, &f) != 0;
}
@@ -1525,14 +1525,14 @@ s_tag * tag_new_copy (const s_tag *src)
bool tag_not (const s_tag *a)
{
s_tag f;
- tag_init_1(&f, "false");
+ tag_init_bool(&f, false);
return compare_tag(a, &f) == 0;
}
bool tag_or (const s_tag *a, const s_tag *b)
{
s_tag f;
- tag_init_1(&f, "false");
+ tag_init_bool(&f, false);
return compare_tag(a, &f) != 0 || compare_tag(b, &f) != 0;
}
diff --git a/sources.mk b/sources.mk
index dafb96a..542b01c 100644
--- a/sources.mk
+++ b/sources.mk
@@ -28,83 +28,132 @@ C3_C_SOURCES = \
c3s/buf_readline.c \
c3s/c3s.c \
c3s/buf_readline.h \
- ic3/buf_linenoise.c \
ic3/ic3.c \
+ ic3/buf_linenoise.c \
ic3/buf_linenoise.h \
ic3/linenoise.c \
libc3/abs.c \
libc3/abs.h \
- libc3/buf_inspect_s8.c \
+ libc3/buf.c \
+ libc3/buf.h \
+ libc3/buf_inspect_s32.h \
+ libc3/buf_inspect_s64.c \
+ libc3/buf_inspect_s64.h \
+ libc3/buf_inspect_sw.c \
+ libc3/buf_inspect_sw.h \
+ libc3/buf_inspect_u8.c \
+ libc3/buf_inspect_u8.h \
+ libc3/buf_inspect_u16.c \
+ libc3/buf_parse_s8.c \
+ libc3/call.c \
libc3/arg.c \
libc3/arg.h \
+ libc3/buf_inspect_u16.h \
libc3/array.c \
libc3/array.h \
libc3/binding.c \
libc3/c3.c \
- libc3/skiplist__fact.c \
- libc3/skiplist__fact.h \
- libc3/skiplist_node__fact.c \
- libc3/skiplist_node__fact.h \
+ libc3/buf_inspect_u32.c \
+ libc3/buf_inspect_u32.h \
+ libc3/buf_inspect_u64.c \
+ libc3/buf_inspect_u64.h \
+ libc3/buf_inspect_u64_binary.c \
libc3/binding.h \
+ libc3/buf_inspect_u64_binary.h \
+ libc3/buf_inspect_u64_octal.c \
+ libc3/buf_inspect_u64_octal.h \
+ libc3/buf_inspect_u64_decimal.c \
+ libc3/buf_inspect_u64_decimal.h \
+ libc3/buf_inspect_u64_hexadecimal.c \
libc3/bool.c \
libc3/bool.h \
- libc3/buf.c \
- libc3/buf.h \
libc3/buf_file.c \
libc3/buf_file.h \
- libc3/buf_inspect.h \
- libc3/buf_parse.h \
- libc3/buf_parse_c.c \
+ libc3/buf_inspect_u64_hexadecimal.h \
+ libc3/buf_inspect_uw.c \
+ libc3/buf_inspect_uw.h \
+ libc3/buf_parse_s16.c \
+ libc3/buf_parse_s16.h \
+ libc3/buf_parse_s32.c \
+ libc3/buf_parse_s32.h \
+ libc3/buf_parse_s64.c \
+ libc3/buf_parse_s64.h \
+ libc3/buf_parse_sw.c \
+ libc3/buf_parse_sw.h \
+ libc3/buf_parse_u8.c \
+ libc3/buf_parse_u8.h \
libc3/buf_parse_u16.c \
- libc3/buf_save.c \
- libc3/facts_spec_cursor.c \
libc3/buf_parse_u16.h \
libc3/buf_parse_u32.c \
+ libc3/buf_inspect.h \
libc3/buf_parse_u32.h \
+ libc3/buf_parse.h \
+ libc3/buf_parse_c.c \
+ libc3/buf_save.c \
libc3/buf_parse_u64.c \
libc3/buf_parse_u64.h \
libc3/buf_parse_uw.c \
libc3/buf_parse_uw.h \
libc3/set__fact.c \
+ libc3/facts_spec_cursor.c \
libc3/set__fact.h \
libc3/set__tag.c \
+ libc3/set__tag.h \
+ libc3/set_cursor__fact.c \
+ libc3/set_cursor__fact.h \
+ libc3/set_cursor__tag.c \
+ libc3/set_cursor__tag.h \
+ libc3/set_item__fact.c \
+ libc3/set_item__fact.h \
libc3/buf_parse_c.h \
libc3/buf_save.h \
libc3/c3.h \
libc3/c_types.h \
- libc3/call.c \
libc3/call.h \
+ libc3/set_item__tag.c \
+ libc3/set_item__tag.h \
+ libc3/skiplist__fact.c \
+ libc3/skiplist__fact.h \
+ libc3/skiplist_node__fact.c \
+ libc3/skiplist_node__fact.h \
libc3/ceiling.c \
libc3/ceiling.h \
libc3/cfn.c \
libc3/cfn.h \
libc3/character.c \
libc3/character.h \
- libc3/buf_inspect_s8_binary.c \
+ libc3/buf_inspect_u8_octal.h \
libc3/compare.c \
- libc3/buf_inspect_u32.h \
- libc3/buf_inspect_u64.c \
+ libc3/buf_inspect.c \
libc3/compare.h \
- libc3/buf_inspect_u64.h \
- libc3/buf_inspect_u64_binary.c \
- libc3/buf_inspect_u64_binary.h \
+ libc3/buf_parse.c \
libc3/env.c \
- libc3/buf_inspect_u64_octal.c \
- libc3/buf_inspect_u64_octal.h \
libc3/env.h \
+ libc3/facts.c \
+ libc3/facts.h \
+ libc3/hash.c \
+ libc3/ident.c \
+ libc3/operator.c \
+ libc3/operator.h \
+ libc3/buf_inspect_s8.c \
+ libc3/buf_inspect_s8.h \
+ libc3/sym.c \
+ libc3/tag.c \
+ libc3/tag.h \
+ libc3/buf_inspect_s16.c \
+ libc3/buf_inspect_s16.h \
+ libc3/buf_inspect_s32.c \
+ libc3/buf_parse_s8.h \
libc3/error.c \
libc3/error.h \
libc3/error_handler.c \
libc3/error_handler.h \
libc3/eval.c \
libc3/eval.h \
+ libc3/buf_inspect_u8_binary.h \
libc3/fact.c \
libc3/fact.h \
- libc3/facts.h \
libc3/facts_cursor.c \
- libc3/buf_parse.c \
- libc3/tag.c \
- libc3/buf_inspect.c \
libc3/facts_cursor.h \
libc3/facts_spec.c \
libc3/facts_spec.h \
@@ -113,70 +162,31 @@ C3_C_SOURCES = \
libc3/facts_with.h \
libc3/facts_with_cursor.c \
libc3/facts_with_cursor.h \
- libc3/buf_inspect_u64_decimal.c \
libc3/float.h \
libc3/fn.c \
- libc3/buf_inspect_u64_decimal.h \
libc3/fn.h \
libc3/frame.c \
- libc3/buf_inspect_u64_hexadecimal.c \
- libc3/buf_inspect_u64_hexadecimal.h \
libc3/frame.h \
- libc3/buf_inspect_uw.c \
- libc3/buf_inspect_uw.h \
- libc3/buf_parse_s8.h \
- libc3/hash.c \
libc3/hash.h \
- libc3/ident.c \
libc3/ident.h \
libc3/integer.c \
libc3/integer.h \
libc3/io.c \
libc3/io.h \
- libc3/buf_inspect_s8_binary.h \
libc3/list.c \
libc3/list.h \
libc3/log.c \
libc3/log.h \
libc3/buf_inspect_s.h.in \
libc3/module.c \
- libc3/buf_parse_s16.c \
- libc3/buf_parse_s16.h \
- libc3/buf_parse_s32.c \
- libc3/buf_parse_s32.h \
- libc3/buf_parse_s64.c \
- libc3/buf_parse_s64.h \
- libc3/buf_parse_sw.c \
- libc3/buf_parse_sw.h \
- libc3/buf_parse_u8.c \
- libc3/buf_parse_u8.h \
- libc3/facts.c \
libc3/str.c \
libc3/module.h \
- libc3/operator.c \
- libc3/set__tag.h \
- libc3/operator.h \
libc3/buf_parse_u.c.in \
libc3/quote.c \
libc3/quote.h \
- libc3/set_cursor__fact.c \
- libc3/set_cursor__fact.h \
- libc3/set_cursor__tag.c \
- libc3/set_cursor__tag.h \
- libc3/set_item__fact.c \
- libc3/set_item__fact.h \
- libc3/set_item__tag.c \
- libc3/set_item__tag.h \
libc3/set.c.in \
libc3/set.h.in \
- libc3/tag.h \
- libc3/buf_inspect_s8.h \
- libc3/buf_inspect_s16.c \
- libc3/buf_inspect_s16.h \
- libc3/buf_inspect_s32.c \
- libc3/buf_inspect_s32.h \
- libc3/buf_inspect_s64.c \
- libc3/buf_inspect_s64.h \
+ libc3/buf_inspect_s_base.h.in \
libc3/sha1.h \
libc3/set_cursor.c.in \
libc3/set_cursor.h.in \
@@ -192,99 +202,103 @@ C3_C_SOURCES = \
libc3/str.h \
libc3/types.h \
libc3/ucd.c \
- libc3/sym.c \
libc3/sym.h \
libc3/tuple.c \
libc3/tuple.h \
libc3/type.c \
libc3/ucd.h \
- libc3/buf_inspect_sw.c \
libc3/buf_parse_s.c.in \
libc3/buf_parse_s.h.in \
- libc3/buf_inspect_sw.h \
- libc3/buf_inspect_u8.c \
- libc3/buf_inspect_u8.h \
- libc3/buf_inspect_u16.c \
- libc3/buf_inspect_u16.h \
- libc3/buf_inspect_u32.c \
libc3/buf_inspect_s.c.in \
- libc3/buf_parse_s8.c \
libc3/buf_parse_u.h.in \
- libc3/buf_inspect_s8_octal.c \
- libc3/buf_inspect_s8_octal.h \
- libc3/buf_inspect_s8_decimal.c \
- libc3/buf_inspect_s8_decimal.h \
- libc3/buf_inspect_s8_hexadecimal.c \
- libc3/buf_inspect_s_base.c.in \
- libc3/buf_inspect_s8_hexadecimal.h \
- libc3/buf_inspect_u.c.in \
- libc3/buf_inspect_u.h.in \
libc3/buf_inspect_s16_binary.c \
libc3/buf_inspect_s16_binary.h \
- libc3/buf_inspect_s16_octal.c \
- libc3/buf_inspect_s16_octal.h \
libc3/buf_inspect_s16_decimal.c \
+ libc3/buf_inspect_s_base.c.in \
libc3/buf_inspect_s16_decimal.h \
+ libc3/buf_inspect_u.c.in \
+ libc3/buf_inspect_u.h.in \
libc3/buf_inspect_s16_hexadecimal.c \
libc3/buf_inspect_s16_hexadecimal.h \
+ libc3/buf_inspect_s16_octal.c \
+ libc3/buf_inspect_s16_octal.h \
libc3/buf_inspect_s32_binary.c \
libc3/buf_inspect_s32_binary.h \
- libc3/buf_inspect_s32_octal.c \
- libc3/buf_inspect_s32_octal.h \
libc3/buf_inspect_s32_decimal.c \
libc3/buf_inspect_s32_decimal.h \
- libc3/buf_inspect_u_base.c.in \
- libc3/buf_inspect_u_base.h.in \
libc3/buf_inspect_s32_hexadecimal.c \
libc3/buf_inspect_s32_hexadecimal.h \
+ libc3/buf_inspect_s32_octal.c \
+ libc3/buf_inspect_s32_octal.h \
libc3/buf_inspect_s64_binary.c \
+ libc3/buf_inspect_u_base.c.in \
+ libc3/buf_inspect_u_base.h.in \
libc3/buf_inspect_s64_binary.h \
- libc3/buf_inspect_s64_octal.c \
- libc3/buf_inspect_s64_octal.h \
libc3/buf_inspect_s64_decimal.c \
libc3/buf_inspect_s64_decimal.h \
libc3/buf_inspect_s64_hexadecimal.c \
libc3/buf_inspect_s64_hexadecimal.h \
+ libc3/buf_inspect_s64_octal.c \
+ libc3/buf_inspect_s64_octal.h \
+ libc3/buf_inspect_s8_binary.c \
+ libc3/buf_inspect_s8_binary.h \
+ libc3/buf_inspect_s8_decimal.c \
+ libc3/buf_inspect_s8_decimal.h \
+ libc3/buf_inspect_s8_hexadecimal.c \
+ libc3/buf_inspect_s8_hexadecimal.h \
+ libc3/buf_inspect_s8_octal.c \
+ libc3/buf_inspect_s8_octal.h \
libc3/buf_inspect_sw_binary.c \
libc3/buf_inspect_sw_binary.h \
- libc3/buf_inspect_sw_octal.c \
- libc3/buf_inspect_sw_octal.h \
libc3/buf_inspect_sw_decimal.c \
libc3/buf_inspect_sw_decimal.h \
libc3/buf_inspect_sw_hexadecimal.c \
libc3/buf_inspect_sw_hexadecimal.h \
+ libc3/buf_inspect_sw_octal.c \
+ libc3/buf_inspect_sw_octal.h \
libc3/buf_inspect_u16_binary.c \
libc3/buf_inspect_u16_binary.h \
- libc3/buf_inspect_u16_octal.c \
- libc3/buf_inspect_u16_octal.h \
libc3/buf_inspect_u16_decimal.c \
libc3/buf_inspect_u16_decimal.h \
libc3/buf_inspect_u16_hexadecimal.c \
libc3/buf_inspect_u16_hexadecimal.h \
+ libc3/buf_inspect_u16_octal.c \
+ libc3/buf_inspect_u16_octal.h \
libc3/buf_inspect_u32_binary.c \
libc3/buf_inspect_u32_binary.h \
- libc3/buf_inspect_u32_octal.c \
- libc3/buf_inspect_u32_octal.h \
libc3/buf_inspect_u32_decimal.c \
libc3/buf_inspect_u32_decimal.h \
libc3/buf_inspect_u32_hexadecimal.c \
libc3/buf_inspect_u32_hexadecimal.h \
+ libc3/buf_inspect_u32_octal.c \
+ libc3/buf_inspect_u32_octal.h \
libc3/buf_inspect_uw_binary.c \
libc3/buf_inspect_uw_binary.h \
- libc3/buf_inspect_uw_octal.c \
- libc3/buf_inspect_uw_octal.h \
libc3/buf_inspect_uw_decimal.c \
libc3/buf_inspect_uw_decimal.h \
libc3/buf_inspect_uw_hexadecimal.c \
libc3/buf_inspect_uw_hexadecimal.h \
+ libc3/buf_inspect_uw_octal.c \
+ libc3/buf_inspect_uw_octal.h \
+ libc3/buf_inspect_u8_octal.c \
+ libc3/buf_inspect_u8_binary.c \
+ libc3/buf_inspect_u8_decimal.c \
+ libc3/buf_inspect_u8_decimal.h \
+ libc3/buf_inspect_u8_hexadecimal.c \
+ libc3/buf_inspect_u8_hexadecimal.h \
+ test/buf_inspect_test.c \
test/bool_test.c \
+ test/buf_parse_test.c \
+ test/facts_test.c \
test/buf_file_test.c \
- test/buf_inspect_test.c \
+ test/libc3_test.c \
+ test/list_test.c \
+ test/test.c \
+ test/test.h \
test/buf_parse_test_u8.c \
test/buf_parse_test.h \
test/buf_parse_test_s16.c \
test/buf_parse_test_s32.c \
- test/list_test.c \
test/buf_parse_test_s64.c \
test/buf_parse_test_s8.c \
test/buf_parse_test_su.h \
@@ -294,7 +308,6 @@ C3_C_SOURCES = \
test/buf_parse_test_u64.c \
test/call_test.c \
test/facts_cursor_test.c \
- test/test.c \
test/cfn_test.c \
test/character_test.c \
test/compare_test.c \
@@ -302,12 +315,9 @@ C3_C_SOURCES = \
test/env_test.c \
test/fact_test.c \
test/fact_test.h \
- test/facts_test.c \
- test/buf_parse_test.c \
test/facts_with_test.c \
test/hash_test.c \
test/ident_test.c \
- test/libc3_test.c \
test/set__fact_test.c \
test/set__tag_test.c \
test/skiplist__fact_test.c \
@@ -315,7 +325,6 @@ C3_C_SOURCES = \
test/sym_test.c \
test/tag_test.c \
test/tag_test.h \
- test/test.h \
test/tuple_test.c \
test/types_test.c \
ucd2c/ucd.h \
diff --git a/sources.sh b/sources.sh
index 893e959..283c6f1 100644
--- a/sources.sh
+++ b/sources.sh
@@ -1,4 +1,4 @@
# sources.sh generated by update_sources
C3_CONFIGURES='c3c/configure c3s/configure c3s/update_sources ic3/configure ic3/update_sources libc3/configure libc3/update_sources libtommath/configure libtommath/update_sources test/configure test/update_sources ucd2c/configure '
C3_MAKEFILES='c3c/Makefile c3s/Makefile ic3/Makefile libc3/Makefile libc3/gen.mk libtommath/Makefile test/Makefile ucd2c/Makefile '
-C3_C_SOURCES='c3c/c3c.c c3s/buf_readline.c c3s/c3s.c c3s/buf_readline.h ic3/buf_linenoise.c ic3/ic3.c ic3/buf_linenoise.h ic3/linenoise.c libc3/abs.c libc3/abs.h libc3/buf_inspect_s8.c libc3/arg.c libc3/arg.h libc3/array.c libc3/array.h libc3/binding.c libc3/c3.c libc3/skiplist__fact.c libc3/skiplist__fact.h libc3/skiplist_node__fact.c libc3/skiplist_node__fact.h libc3/binding.h libc3/bool.c libc3/bool.h libc3/buf.c libc3/buf.h libc3/buf_file.c libc3/buf_file.h libc3/buf_inspect.h libc3/buf_parse.h libc3/buf_parse_c.c libc3/buf_parse_u16.c libc3/buf_save.c libc3/facts_spec_cursor.c libc3/buf_parse_u16.h libc3/buf_parse_u32.c libc3/buf_parse_u32.h libc3/buf_parse_u64.c libc3/buf_parse_u64.h libc3/buf_parse_uw.c libc3/buf_parse_uw.h libc3/set__fact.c libc3/set__fact.h libc3/set__tag.c libc3/buf_parse_c.h libc3/buf_save.h libc3/c3.h libc3/c_types.h libc3/call.c libc3/call.h libc3/ceiling.c libc3/ceiling.h libc3/cfn.c libc3/cfn.h libc3/character.c libc3/character.h libc3/buf_inspect_s8_binary.c libc3/compare.c libc3/buf_inspect_u32.h libc3/buf_inspect_u64.c libc3/compare.h libc3/buf_inspect_u64.h libc3/buf_inspect_u64_binary.c libc3/buf_inspect_u64_binary.h libc3/env.c libc3/buf_inspect_u64_octal.c libc3/buf_inspect_u64_octal.h libc3/env.h libc3/error.c libc3/error.h libc3/error_handler.c libc3/error_handler.h libc3/eval.c libc3/eval.h libc3/fact.c libc3/fact.h libc3/facts.h libc3/facts_cursor.c libc3/buf_parse.c libc3/tag.c libc3/buf_inspect.c libc3/facts_cursor.h libc3/facts_spec.c libc3/facts_spec.h libc3/facts_spec_cursor.h libc3/facts_with.c libc3/facts_with.h libc3/facts_with_cursor.c libc3/facts_with_cursor.h libc3/buf_inspect_u64_decimal.c libc3/float.h libc3/fn.c libc3/buf_inspect_u64_decimal.h libc3/fn.h libc3/frame.c libc3/buf_inspect_u64_hexadecimal.c libc3/buf_inspect_u64_hexadecimal.h libc3/frame.h libc3/buf_inspect_uw.c libc3/buf_inspect_uw.h libc3/buf_parse_s8.h libc3/hash.c libc3/hash.h libc3/ident.c libc3/ident.h libc3/integer.c libc3/integer.h libc3/io.c libc3/io.h libc3/buf_inspect_s8_binary.h libc3/list.c libc3/list.h libc3/log.c libc3/log.h libc3/buf_inspect_s.h.in libc3/module.c libc3/buf_parse_s16.c libc3/buf_parse_s16.h libc3/buf_parse_s32.c libc3/buf_parse_s32.h libc3/buf_parse_s64.c libc3/buf_parse_s64.h libc3/buf_parse_sw.c libc3/buf_parse_sw.h libc3/buf_parse_u8.c libc3/buf_parse_u8.h libc3/facts.c libc3/str.c libc3/module.h libc3/operator.c libc3/set__tag.h libc3/operator.h libc3/buf_parse_u.c.in libc3/quote.c libc3/quote.h libc3/set_cursor__fact.c libc3/set_cursor__fact.h libc3/set_cursor__tag.c libc3/set_cursor__tag.h libc3/set_item__fact.c libc3/set_item__fact.h libc3/set_item__tag.c libc3/set_item__tag.h libc3/set.c.in libc3/set.h.in libc3/tag.h libc3/buf_inspect_s8.h libc3/buf_inspect_s16.c libc3/buf_inspect_s16.h libc3/buf_inspect_s32.c libc3/buf_inspect_s32.h libc3/buf_inspect_s64.c libc3/buf_inspect_s64.h libc3/sha1.h libc3/set_cursor.c.in libc3/set_cursor.h.in libc3/set_item.c.in libc3/set_item.h.in libc3/sign.c libc3/sign.h libc3/skiplist.c.in libc3/skiplist.h.in libc3/type.h libc3/skiplist_node.c.in libc3/skiplist_node.h.in libc3/str.h libc3/types.h libc3/ucd.c libc3/sym.c libc3/sym.h libc3/tuple.c libc3/tuple.h libc3/type.c libc3/ucd.h libc3/buf_inspect_sw.c libc3/buf_parse_s.c.in libc3/buf_parse_s.h.in libc3/buf_inspect_sw.h libc3/buf_inspect_u8.c libc3/buf_inspect_u8.h libc3/buf_inspect_u16.c libc3/buf_inspect_u16.h libc3/buf_inspect_u32.c libc3/buf_inspect_s.c.in libc3/buf_parse_s8.c libc3/buf_parse_u.h.in libc3/buf_inspect_s8_octal.c libc3/buf_inspect_s8_octal.h libc3/buf_inspect_s8_decimal.c libc3/buf_inspect_s8_decimal.h libc3/buf_inspect_s8_hexadecimal.c libc3/buf_inspect_s_base.c.in libc3/buf_inspect_s8_hexadecimal.h libc3/buf_inspect_u.c.in libc3/buf_inspect_u.h.in libc3/buf_inspect_s16_binary.c libc3/buf_inspect_s16_binary.h libc3/buf_inspect_s16_octal.c libc3/buf_inspect_s16_octal.h libc3/buf_inspect_s16_decimal.c libc3/buf_inspect_s16_decimal.h libc3/buf_inspect_s16_hexadecimal.c libc3/buf_inspect_s16_hexadecimal.h libc3/buf_inspect_s32_binary.c libc3/buf_inspect_s32_binary.h libc3/buf_inspect_s32_octal.c libc3/buf_inspect_s32_octal.h libc3/buf_inspect_s32_decimal.c libc3/buf_inspect_s32_decimal.h libc3/buf_inspect_u_base.c.in libc3/buf_inspect_u_base.h.in libc3/buf_inspect_s32_hexadecimal.c libc3/buf_inspect_s32_hexadecimal.h libc3/buf_inspect_s64_binary.c libc3/buf_inspect_s64_binary.h libc3/buf_inspect_s64_octal.c libc3/buf_inspect_s64_octal.h libc3/buf_inspect_s64_decimal.c libc3/buf_inspect_s64_decimal.h libc3/buf_inspect_s64_hexadecimal.c libc3/buf_inspect_s64_hexadecimal.h libc3/buf_inspect_sw_binary.c libc3/buf_inspect_sw_binary.h libc3/buf_inspect_sw_octal.c libc3/buf_inspect_sw_octal.h libc3/buf_inspect_sw_decimal.c libc3/buf_inspect_sw_decimal.h libc3/buf_inspect_sw_hexadecimal.c libc3/buf_inspect_sw_hexadecimal.h libc3/buf_inspect_u16_binary.c libc3/buf_inspect_u16_binary.h libc3/buf_inspect_u16_octal.c libc3/buf_inspect_u16_octal.h libc3/buf_inspect_u16_decimal.c libc3/buf_inspect_u16_decimal.h libc3/buf_inspect_u16_hexadecimal.c libc3/buf_inspect_u16_hexadecimal.h libc3/buf_inspect_u32_binary.c libc3/buf_inspect_u32_binary.h libc3/buf_inspect_u32_octal.c libc3/buf_inspect_u32_octal.h libc3/buf_inspect_u32_decimal.c libc3/buf_inspect_u32_decimal.h libc3/buf_inspect_u32_hexadecimal.c libc3/buf_inspect_u32_hexadecimal.h libc3/buf_inspect_uw_binary.c libc3/buf_inspect_uw_binary.h libc3/buf_inspect_uw_octal.c libc3/buf_inspect_uw_octal.h libc3/buf_inspect_uw_decimal.c libc3/buf_inspect_uw_decimal.h libc3/buf_inspect_uw_hexadecimal.c libc3/buf_inspect_uw_hexadecimal.h test/bool_test.c test/buf_file_test.c test/buf_inspect_test.c test/buf_parse_test_u8.c test/buf_parse_test.h test/buf_parse_test_s16.c test/buf_parse_test_s32.c test/list_test.c test/buf_parse_test_s64.c test/buf_parse_test_s8.c test/buf_parse_test_su.h test/buf_parse_test_u16.c test/buf_parse_test_u32.c test/buf_test.c test/buf_parse_test_u64.c test/call_test.c test/facts_cursor_test.c test/test.c test/cfn_test.c test/character_test.c test/compare_test.c test/compare_test.h test/env_test.c test/fact_test.c test/fact_test.h test/facts_test.c test/buf_parse_test.c test/facts_with_test.c test/hash_test.c test/ident_test.c test/libc3_test.c test/set__fact_test.c test/set__tag_test.c test/skiplist__fact_test.c test/str_test.c test/sym_test.c test/tag_test.c test/tag_test.h test/test.h test/tuple_test.c test/types_test.c ucd2c/ucd.h ucd2c/ucd2c.c '
+C3_C_SOURCES='c3c/c3c.c c3s/buf_readline.c c3s/c3s.c c3s/buf_readline.h ic3/ic3.c ic3/buf_linenoise.c ic3/buf_linenoise.h ic3/linenoise.c libc3/abs.c libc3/abs.h libc3/buf.c libc3/buf.h libc3/buf_inspect_s32.h libc3/buf_inspect_s64.c libc3/buf_inspect_s64.h libc3/buf_inspect_sw.c libc3/buf_inspect_sw.h libc3/buf_inspect_u8.c libc3/buf_inspect_u8.h libc3/buf_inspect_u16.c libc3/buf_parse_s8.c libc3/call.c libc3/arg.c libc3/arg.h libc3/buf_inspect_u16.h libc3/array.c libc3/array.h libc3/binding.c libc3/c3.c libc3/buf_inspect_u32.c libc3/buf_inspect_u32.h libc3/buf_inspect_u64.c libc3/buf_inspect_u64.h libc3/buf_inspect_u64_binary.c libc3/binding.h libc3/buf_inspect_u64_binary.h libc3/buf_inspect_u64_octal.c libc3/buf_inspect_u64_octal.h libc3/buf_inspect_u64_decimal.c libc3/buf_inspect_u64_decimal.h libc3/buf_inspect_u64_hexadecimal.c libc3/bool.c libc3/bool.h libc3/buf_file.c libc3/buf_file.h libc3/buf_inspect_u64_hexadecimal.h libc3/buf_inspect_uw.c libc3/buf_inspect_uw.h libc3/buf_parse_s16.c libc3/buf_parse_s16.h libc3/buf_parse_s32.c libc3/buf_parse_s32.h libc3/buf_parse_s64.c libc3/buf_parse_s64.h libc3/buf_parse_sw.c libc3/buf_parse_sw.h libc3/buf_parse_u8.c libc3/buf_parse_u8.h libc3/buf_parse_u16.c libc3/buf_parse_u16.h libc3/buf_parse_u32.c libc3/buf_inspect.h libc3/buf_parse_u32.h libc3/buf_parse.h libc3/buf_parse_c.c libc3/buf_save.c libc3/buf_parse_u64.c libc3/buf_parse_u64.h libc3/buf_parse_uw.c libc3/buf_parse_uw.h libc3/set__fact.c libc3/facts_spec_cursor.c libc3/set__fact.h libc3/set__tag.c libc3/set__tag.h libc3/set_cursor__fact.c libc3/set_cursor__fact.h libc3/set_cursor__tag.c libc3/set_cursor__tag.h libc3/set_item__fact.c libc3/set_item__fact.h libc3/buf_parse_c.h libc3/buf_save.h libc3/c3.h libc3/c_types.h libc3/call.h libc3/set_item__tag.c libc3/set_item__tag.h libc3/skiplist__fact.c libc3/skiplist__fact.h libc3/skiplist_node__fact.c libc3/skiplist_node__fact.h libc3/ceiling.c libc3/ceiling.h libc3/cfn.c libc3/cfn.h libc3/character.c libc3/character.h libc3/buf_inspect_u8_octal.h libc3/compare.c libc3/buf_inspect.c libc3/compare.h libc3/buf_parse.c libc3/env.c libc3/env.h libc3/facts.c libc3/facts.h libc3/hash.c libc3/ident.c libc3/operator.c libc3/operator.h libc3/buf_inspect_s8.c libc3/buf_inspect_s8.h libc3/sym.c libc3/tag.c libc3/tag.h libc3/buf_inspect_s16.c libc3/buf_inspect_s16.h libc3/buf_inspect_s32.c libc3/buf_parse_s8.h libc3/error.c libc3/error.h libc3/error_handler.c libc3/error_handler.h libc3/eval.c libc3/eval.h libc3/buf_inspect_u8_binary.h libc3/fact.c libc3/fact.h libc3/facts_cursor.c libc3/facts_cursor.h libc3/facts_spec.c libc3/facts_spec.h libc3/facts_spec_cursor.h libc3/facts_with.c libc3/facts_with.h libc3/facts_with_cursor.c libc3/facts_with_cursor.h libc3/float.h libc3/fn.c libc3/fn.h libc3/frame.c libc3/frame.h libc3/hash.h libc3/ident.h libc3/integer.c libc3/integer.h libc3/io.c libc3/io.h libc3/list.c libc3/list.h libc3/log.c libc3/log.h libc3/buf_inspect_s.h.in libc3/module.c libc3/str.c libc3/module.h libc3/buf_parse_u.c.in libc3/quote.c libc3/quote.h libc3/set.c.in libc3/set.h.in libc3/buf_inspect_s_base.h.in libc3/sha1.h libc3/set_cursor.c.in libc3/set_cursor.h.in libc3/set_item.c.in libc3/set_item.h.in libc3/sign.c libc3/sign.h libc3/skiplist.c.in libc3/skiplist.h.in libc3/type.h libc3/skiplist_node.c.in libc3/skiplist_node.h.in libc3/str.h libc3/types.h libc3/ucd.c libc3/sym.h libc3/tuple.c libc3/tuple.h libc3/type.c libc3/ucd.h libc3/buf_parse_s.c.in libc3/buf_parse_s.h.in libc3/buf_inspect_s.c.in libc3/buf_parse_u.h.in libc3/buf_inspect_s16_binary.c libc3/buf_inspect_s16_binary.h libc3/buf_inspect_s16_decimal.c libc3/buf_inspect_s_base.c.in libc3/buf_inspect_s16_decimal.h libc3/buf_inspect_u.c.in libc3/buf_inspect_u.h.in libc3/buf_inspect_s16_hexadecimal.c libc3/buf_inspect_s16_hexadecimal.h libc3/buf_inspect_s16_octal.c libc3/buf_inspect_s16_octal.h libc3/buf_inspect_s32_binary.c libc3/buf_inspect_s32_binary.h libc3/buf_inspect_s32_decimal.c libc3/buf_inspect_s32_decimal.h libc3/buf_inspect_s32_hexadecimal.c libc3/buf_inspect_s32_hexadecimal.h libc3/buf_inspect_s32_octal.c libc3/buf_inspect_s32_octal.h libc3/buf_inspect_s64_binary.c libc3/buf_inspect_u_base.c.in libc3/buf_inspect_u_base.h.in libc3/buf_inspect_s64_binary.h libc3/buf_inspect_s64_decimal.c libc3/buf_inspect_s64_decimal.h libc3/buf_inspect_s64_hexadecimal.c libc3/buf_inspect_s64_hexadecimal.h libc3/buf_inspect_s64_octal.c libc3/buf_inspect_s64_octal.h libc3/buf_inspect_s8_binary.c libc3/buf_inspect_s8_binary.h libc3/buf_inspect_s8_decimal.c libc3/buf_inspect_s8_decimal.h libc3/buf_inspect_s8_hexadecimal.c libc3/buf_inspect_s8_hexadecimal.h libc3/buf_inspect_s8_octal.c libc3/buf_inspect_s8_octal.h libc3/buf_inspect_sw_binary.c libc3/buf_inspect_sw_binary.h libc3/buf_inspect_sw_decimal.c libc3/buf_inspect_sw_decimal.h libc3/buf_inspect_sw_hexadecimal.c libc3/buf_inspect_sw_hexadecimal.h libc3/buf_inspect_sw_octal.c libc3/buf_inspect_sw_octal.h libc3/buf_inspect_u16_binary.c libc3/buf_inspect_u16_binary.h libc3/buf_inspect_u16_decimal.c libc3/buf_inspect_u16_decimal.h libc3/buf_inspect_u16_hexadecimal.c libc3/buf_inspect_u16_hexadecimal.h libc3/buf_inspect_u16_octal.c libc3/buf_inspect_u16_octal.h libc3/buf_inspect_u32_binary.c libc3/buf_inspect_u32_binary.h libc3/buf_inspect_u32_decimal.c libc3/buf_inspect_u32_decimal.h libc3/buf_inspect_u32_hexadecimal.c libc3/buf_inspect_u32_hexadecimal.h libc3/buf_inspect_u32_octal.c libc3/buf_inspect_u32_octal.h libc3/buf_inspect_uw_binary.c libc3/buf_inspect_uw_binary.h libc3/buf_inspect_uw_decimal.c libc3/buf_inspect_uw_decimal.h libc3/buf_inspect_uw_hexadecimal.c libc3/buf_inspect_uw_hexadecimal.h libc3/buf_inspect_uw_octal.c libc3/buf_inspect_uw_octal.h libc3/buf_inspect_u8_octal.c libc3/buf_inspect_u8_binary.c libc3/buf_inspect_u8_decimal.c libc3/buf_inspect_u8_decimal.h libc3/buf_inspect_u8_hexadecimal.c libc3/buf_inspect_u8_hexadecimal.h test/buf_inspect_test.c test/bool_test.c test/buf_parse_test.c test/facts_test.c test/buf_file_test.c test/libc3_test.c test/list_test.c test/test.c test/test.h test/buf_parse_test_u8.c test/buf_parse_test.h test/buf_parse_test_s16.c test/buf_parse_test_s32.c test/buf_parse_test_s64.c test/buf_parse_test_s8.c test/buf_parse_test_su.h test/buf_parse_test_u16.c test/buf_parse_test_u32.c test/buf_test.c test/buf_parse_test_u64.c test/call_test.c test/facts_cursor_test.c test/cfn_test.c test/character_test.c test/compare_test.c test/compare_test.h test/env_test.c test/fact_test.c test/fact_test.h test/facts_with_test.c test/hash_test.c test/ident_test.c test/set__fact_test.c test/set__tag_test.c test/skiplist__fact_test.c test/str_test.c test/sym_test.c test/tag_test.c test/tag_test.h test/tuple_test.c test/types_test.c ucd2c/ucd.h ucd2c/ucd2c.c '