git.haldean.org qb / b340f54 qbshim.hpp
b340f54

Tree @b340f54 (Download .tar.gz)

qbshim.hpp @b340f54raw · history · blame

#ifdef __cplusplus
#define EXPORT extern "C"
#else
#define EXPORT
#endif

typedef void* qb_context_ptr;

EXPORT qb_context_ptr qb_init();
EXPORT void qb_frame(qb_context_ptr ctx, int width, int height);
EXPORT void qb_shutdown(qb_context_ptr ctx);

#undef EXPORT