mirror of
https://github.com/depp/syncfiles.git
synced 2025-02-16 17:30:25 +00:00
This simplifies the conversion test, since we don't need to be careful about which data we run the conversion test in. It will also simplify the command-line conversion tool and its distribution. The classic Mac OS version of this program will continue to embed conversion tables in the resource fork.
15 lines
386 B
C
15 lines
386 B
C
#ifndef test_h
|
|
#define test_h
|
|
/* test.h - unit testing definitions. */
|
|
|
|
#include "convert/defs.h"
|
|
|
|
/* Print an error message and exit. */
|
|
void Dief(const char *msg, ...) __attribute__((noreturn, format(printf, 1, 2)));
|
|
|
|
/* Print an error message with an error code and exit. */
|
|
void DieErrorf(int errcode, const char *msg, ...)
|
|
__attribute__((noreturn, format(printf, 2, 3)));
|
|
|
|
#endif
|