@Import(name = "putwchar", module = "teavm") static native void writeImpl(int b); }
@Import(name = "cairo_rectangle") public static native void rectangle(Context context, double x, double y, double width, double height);
@Import(name = "cairo_line_to") public static native void lineTo(Context context, double x, double y);
@Import(name = "cairo_set_line_width") public static native void setLineWidth(Context context, double width);
@Import(name = "gtk_button_new_with_label") public static native Button buttonNewWithLabel(String label);
@Import(name = "gtk_widget_set_size_request") public static native void setSizeRequest(Widget widget, int width, int height);
@Import(name = "gtk_window_new") static native Window windowNew(int type);
@Import(name = "gtk_widget_show") static native void show(Widget widget);
@Import(name = "g_signal_connect") public static native long signalConnect(GObject instance, String signalName, Callback callback, Address data);
@Import(name = "TeaVM_rand") private static native double crand();
@Import(name = "cairo_fill") public static native void fill(Context context);
@Import(name = "gtk_widget_show") public static native void show(Widget widget);
@Import(name = "gtk_widget_queue_draw") public static native void queueDraw(Widget widget);
@Import(name = "gtk_init") static native void init(Address argc, Address argv);
@Import(name = "gtk_container_add") static native void add(Container container, Widget widget);
@Import(name = "g_signal_connect") static native long signalConnect(GObject instance, String signalName, Callback callback, Address data);
@JSBody(script = "return Math.random();") @Import(module = "teavmMath", name = "random") private static native double random(); }
@JSBody(script = "return NaN;") @Import(module = "teavm", name = "TeaVM_getNaN") private static native double getNaN();
@JSBody(params = "v", script = "return isFinite(v);") @Import(module = "teavm", name = "isfinite") public static native boolean isFinite(double v);
@InjectedBy(DoubleGenerator.class) @Import(name = "teavm_reinterpretDoubleToLong") public static native long doubleToLongBits(double value);