diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-05-16 19:13:05 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-05-16 19:13:05 +0200 |
commit | 831af1d49c9bb7d17794d259c99f92b2513496c5 (patch) | |
tree | 1a7674bb6d4fbcecf1e6b83ff1834b238b06f2a5 /test/test_framework.h | |
parent | 6aebd10ba045085ed1d0ca7c0ffbf69196c3308c (diff) |
server: WIP utf8 validation implementation
Diffstat (limited to 'test/test_framework.h')
-rw-r--r-- | test/test_framework.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_framework.h b/test/test_framework.h index 327de00..3323190 100644 --- a/test/test_framework.h +++ b/test/test_framework.h @@ -1,5 +1,7 @@ #pragma once +#include <stdio.h> + #define TEST(name) testfn__ ## name @@ -23,3 +25,5 @@ void test_report_error( return (ret_); \ } \ } while (0) + +void print_buffer(FILE *stream, const void *buffer, size_t length); |