summaryrefslogtreecommitdiff
path: root/test/tests.h
blob: 4bc725a3fc1166340afc690960995aee5badd382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Common functions and includes for our test programs. */

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stdarg.h>

#include "../utf8proc.h"

extern size_t lineno;

void check(int cond, const char *format, ...);
size_t skipspaces(const char *buf, size_t i);
size_t encode(char *dest, const char *buf);