rtengine/include/voyage.h
Kevin Trogant 1dba3d2d63 fix, feat: various issues
- [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)
2023-10-13 23:15:23 +02:00

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