-struct jwxyz_Drawable {
- enum { WINDOW, PIXMAP } type;
- XRectangle frame;
- EGLSurface egl_surface;
- union {
- struct {
- struct running_hack *rh;
- int last_mouse_x, last_mouse_y;
- } window;
- struct {
- int depth;
- } pixmap;
- };
-};
-
-extern void do_logv(int prio, const char *fmt, va_list args);
-
-extern void Log(const char *format, ...); // TODO: GCC can verify printf strings.
-#define Logv(format, args) (do_logv(ANDROID_LOG_INFO, format, args))
-
-extern void prepare_context (struct running_hack *rh);
-