#include "qb.hpp"
#include "qbshim.hpp"
qb_context_ptr
qb_init()
{
return new qb::context();
}
void qb_frame(qb_context_ptr ctx, int width, int height)
{
reinterpret_cast<qb::context*>(ctx)->frame(width, height);
}
void qb_shutdown(qb_context_ptr ctx)
{
reinterpret_cast<qb::context*>(ctx)->shutdown();
}