- VALUE disp, parent, geom[4];
- Ecore_Evas **ee = NULL;
+ c_ecore_evas_mark (&ee->ee);
+
+ if (!NIL_P (ee->window))
+ rb_gc_mark (ee->window);
+}
+
+static void c_free (RbEcoreEvasSoftwareX11 *ee)
+{
+ c_ecore_evas_free (&ee->ee, false);
+
+ free (ee);
+}
+
+/*
+ * call-seq:
+ * Ecore::Evas::SoftwareX11.new([display, parent, x, y, w, h]) => swx11
+ *
+ * Creates an Ecore::Evas::SoftwareX11 object.
+ */
+static VALUE c_new (int argc, VALUE *argv, VALUE klass)
+{
+ VALUE self, disp, parent, geom[4];
+ RbEcoreEvasSoftwareX11 *ee = NULL;