- [win32] FIO thread no longer hangs during application exit - Signal if a file operation was actually successfull. - Add a logging function (currently identical to vyReportError)
20 lines
347 B
C
20 lines
347 B
C
#ifndef VY_VOYAGE_H
|
|
#define VY_VOYAGE_H
|
|
|
|
/* basic types and macros */
|
|
|
|
#include <stddef.h>
|
|
|
|
#define VY_UNUSED(x) ((void)sizeof((x)))
|
|
|
|
typedef struct {
|
|
const char *start;
|
|
unsigned int length;
|
|
} vy_text_span;
|
|
|
|
void vyReportError(const char *subsystem, const char *fmt, ...);
|
|
|
|
void vyLog(const char *subsystem, const char *fmt, ...);
|
|
|
|
#endif
|