1
0
Fork 0
forked from hanez/xtc
xtc/include/xtc/xtc.h

26 lines
464 B
C

#ifndef XTC_H
#define XTC_H
#include "xtc_types.h"
#ifdef __cplusplus
extern "C" {
#endif
#define XTC_VERSION_MAJOR 0
#define XTC_VERSION_MINOR 1
#define XTC_VERSION_PATCH 0
typedef struct xtc_app xtc_app;
/* Creates an application context. On success, *out_app is caller-owned. */
xtc_result xtc_app_create(xtc_app **out_app);
/* Destroys an application context; NULL is accepted. */
void xtc_app_destroy(xtc_app *app);
#ifdef __cplusplus
}
#endif
#endif