hi
the serialize sample code in Eet.h does not work.
I've added eet_init and eet_shutdown
for the sake of completeness I've added it to the other sample too,
although it seems to work without it
hanspeter
Index: Eet.h
===================================================================
--- Eet.h (Revision 41229)
+++ Eet.h (Arbeitskopie)
@@ -187,6 +187,7 @@
* @code
* #include <Eet.h>
* #include <stdio.h>
+ * #include <string.h>
*
* int
* main(int argc, char **argv)
@@ -195,6 +196,8 @@
* char buf[1024], *ret, **list;
* int size, num, i;
*
+ * eet_init();
+ *
* strcpy(buf, "Here is a string of data to save!");
*
* ef = eet_open("/tmp/my_file.eet", EET_FILE_MODE_WRITE);
@@ -220,6 +223,8 @@
* }
* eet_close(ef);
*
+ * eet_shutdown();
+ *
* return 0;
* }
* @endcode
@@ -874,6 +879,8 @@
* FILE *f;
* Blah *blah_in;
*
+ * eet_init();
+ *
* edd3 = eet_data_descriptor_new("blah3", sizeof(Blah3),
* eina_list_next,
* eina_list_append,
@@ -960,6 +967,8 @@
* eet_data_descriptor_free(edd2);
* eet_data_descriptor_free(edd3);
*
+ * eet_shutdown();
+ *
* return 0;
* }
*
------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel