rtengine/include/voyage.h
Kevin Trogant 63e3f973b2 feat: config variables, mutex abstraction
- Mutex abstraction (create, destroy, lock, unlock)
- Config variables (cvars)
2023-10-14 00:15:05 +02:00

21 lines
404 B
C

#ifndef VY_VOYAGE_H
#define VY_VOYAGE_H
/* basic types and macros */
#include <stddef.h>
#define VY_UNUSED(x) ((void)sizeof((x)))
#define VY_ARRAY_COUNT(x) (sizeof((x)) / sizeof((x)[0]))
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