Use ecore_evas_data_set/get to store a pointer to self.
[ruby-ecore.git] / src / ecore_evas / rb_fb.c
index 42412ee25740371595059069315794036f9911e4..8192169278ec4ff6e4f409276e7cb3a27b113828 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: rb_fb.c 50 2004-08-01 10:18:39Z tilman $
+ * $Id: rb_fb.c 77 2004-08-19 17:39:29Z tilman $
  *
- * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
+ * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -31,6 +31,12 @@ static void c_free (RbEcoreEvas *ee)
        c_ecore_evas_free (ee, true);
 }
 
+/*
+ * call-seq:
+ *  Ecore::Evas::Fb.new([display, rotation, w, h]) => fb
+ *
+ * Creates an Ecore::Evas::Fb object.
+ */
 static VALUE c_new (int argc, VALUE *argv, VALUE klass)
 {
        VALUE self, disp, rot, w, h;