Hey,
here is a patch for eet that adds @since 1.0.0 in the doxy doc, like Peter
said previously
to commit or not to commit, that is the question
Vincent
? eet-0.9.10.042.tar.bz2
? eet_since.diff
? eet_win32.diff
? toto
? toto.log
? src/bin/toto.log
? src/lib/toto.log
Index: src/lib/Eet.h
===================================================================
RCS file: /cvs/e/e17/libs/eet/src/lib/Eet.h,v
retrieving revision 1.51
diff -u -r1.51 Eet.h
--- src/lib/Eet.h 29 Mar 2008 07:28:18 -0000 1.51
+++ src/lib/Eet.h 29 Mar 2008 08:49:12 -0000
@@ -124,6 +124,8 @@
* Initialize the EET library.
*
* @return The new init count.
+ *
+ * @since 1.0.0
*/
EAPI int eet_init(void);
@@ -131,6 +133,8 @@
* Shut down the EET library.
*
* @return The new init count.
+ *
+ * @since 1.0.0
*/
EAPI int eet_shutdown(void);
@@ -140,6 +144,8 @@
* Eet didn't free items by default. If you are under memory presure, just
* call this function to recall all memory that are not yet referenced
anymore.
* The cache take care of modification on disk.
+ *
+ * @since 1.0.0
*/
EAPI void eet_clearcache(void);
@@ -203,6 +209,8 @@
* return 0;
* }
* @endcode
+ *
+ * @since 1.0.0
*/
EAPI Eet_File *eet_open(const char *file, Eet_File_Mode mode);
@@ -210,6 +218,8 @@
* Get the mode an Eet_File was opened with.
* @param ef A valid eet file handle.
* @return The mode ef was opened with.
+ *
+ * @since 1.0.0
*/
EAPI Eet_File_Mode eet_mode_get(Eet_File *ef);
@@ -222,6 +232,8 @@
* and file, and close the file.
*
* If the eet file handle is not valid nothing will be done.
+ *
+ * @since 1.0.0
*/
EAPI Eet_Error eet_close(Eet_File *ef);
@@ -234,6 +246,8 @@
* This function returns a handle to the dictionary of an Eet file whose
* handle is @p ef, if a dictionary exists. NULL is returned otherwise or
* if the file handle is known to be invalid.
+ *
+ * @since 1.0.0
*/
EAPI Eet_Dictionary *eet_dictionary_get(Eet_File *ef);
@@ -247,6 +261,8 @@
* inside that dictionary (i.e. comes from it) and returns 1 if it does.
* If the dictionary handle is invlide, the string is NULL or the string is
* not in the dictionary, 0 is returned.
+ *
+ * @since 1.0.0
*/
EAPI int eet_dictionary_string_check(Eet_Dictionary *ed, const char
*string);
@@ -266,6 +282,8 @@
*
* If the eet file handle is not valid NULL is returned and size_ret is
* filled with 0.
+ *
+ * @since 1.0.0
*/
EAPI void *eet_read(Eet_File *ef, const char *name, int *size_ret);
@@ -285,6 +303,8 @@
*
* If the eet file handle is not valid NULL is returned and size_ret is
* filled with 0.
+ *
+ * @since 1.0.0
*/
EAPI const void *eet_read_direct(Eet_File *ef, const char *name, int
*size_ret);
@@ -310,6 +330,8 @@
* The data will be copied (and optionally compressed) in ram, pending
* a flush to disk (it will stay in ram till the eet file handle is
* closed though).
+ *
+ * @since 1.0.0
*/
EAPI int eet_write(Eet_File *ef, const char *name, const void *data, int
size, int compress);
@@ -327,6 +349,8 @@
* performed.
*
* Name, must not be NULL, otherwise 0 will be returned.
+ *
+ * @since 1.0.0
*/
EAPI int eet_delete(Eet_File *ef, const char *name);
@@ -356,6 +380,8 @@
*
* Hint: an easy way to list all entries in an eet file is to use a glob
* value of "*".
+ *
+ * @since 1.0.0
*/
EAPI char **eet_list(Eet_File *ef, const char *glob, int *count_ret);
@@ -364,6 +390,8 @@
* @param ef A valid eet file handle.
* @return Number of entries in ef or -1 if the number of entries
* cannot be read due to open mode restrictions.
+ *
+ * @since 1.0.0
*/
EAPI int eet_num_entries(Eet_File *ef);
@@ -399,6 +427,8 @@
*
* On success the function returns 1 indicating the header was read and
* decoded properly, or 0 on failure.
+ *
+ * @since 1.0.0
*/
EAPI int eet_data_image_header_read(Eet_File *ef, const char *name,
unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int
*lossy);
@@ -434,6 +464,8 @@
* calling application is responsible for calling free() on the image data
* when it is done with it. On failure NULL is returned and the parameter
* values may not contain any sensible data.
+ *
+ * @since 1.0.0
*/
EAPI void *eet_data_image_read(Eet_File *ef, const char *name, unsigned int
*w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
@@ -466,6 +498,8 @@
*
* On success this function returns the number of bytes that were required
* to encode the image data, or on failure it returns 0.
+ *
+ * @since 1.0.0
*/
EAPI int eet_data_image_write(Eet_File *ef, const char *name, const void
*data, unsigned int w, unsigned int h, int alpha, int compress, int quality,
int lossy);
@@ -499,6 +533,8 @@
*
* On success the function returns 1 indicating the header was read and
* decoded properly, or 0 on failure.
+ *
+ * @since 1.0.0
*/
EAPI int eet_data_image_header_decode(const void *data, int size, unsigned
int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
@@ -534,6 +570,8 @@
* calling application is responsible for calling free() on the image data
* when it is done with it. On failure NULL is returned and the parameter
* values may not contain any sensible data.
+ *
+ * @since 1.0.0
*/
EAPI void *eet_data_image_decode(const void *data, int size, unsigned int
*w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
@@ -565,6 +603,8 @@
*
* On success this function returns a pointer to the encoded data that you
* can free with free() when no longer needed.
+ *
+ * @since 1.0.0
*/
EAPI void *eet_data_image_encode(const void *data, int *size_ret, unsigned
int w, unsigned int h, int alpha, int compress, int quality, int lossy);
@@ -734,6 +774,7 @@
*
* @endcode
*
+ * @since 1.0.0
*/
EAPI Eet_Data_Descriptor *eet_data_descriptor_new(const char *name, int
size, void *(*func_list_next) (void *l), void *(*func_list_append) (void *l,
void *d), void *(*func_list_data) (void *l), void *(*func_list_free) (void *l),
void (*func_hash_foreach) (void *h, int (*func) (void *h, const char *k, void
*dt, void *fdt), void *fdt), void *(*func_hash_add) (void *h, const char *k,
void *d), void (*func_hash_free) (void *h));
/*
@@ -753,6 +794,7 @@
* data allocated for the data descriptor and the handle itself. After this
* call the descriptor is no longer valid.
*
+ * @since 1.0.0
*/
EAPI void eet_data_descriptor_free(Eet_Data_Descriptor *edd);
@@ -764,6 +806,7 @@
* complex to use by hand and should be left to be used by the macros, and
* thus is not documented.
*
+ * @since 1.0.0
*/
EAPI void eet_data_descriptor_element_add(Eet_Data_Descriptor *edd, const
char *name, int type, int group_type, int offset, int count, const char
*counter_name, Eet_Data_Descriptor *subtype);
@@ -789,6 +832,7 @@
* from an eet file, or from a chunk of memory is as simple as a single
* function call.
*
+ * @since 1.0.0
*/
EAPI void *eet_data_read(Eet_File *ef, Eet_Data_Descriptor *edd, const char
*name);
@@ -804,6 +848,7 @@
* This function is the reverse of eet_data_read(), saving a data structure
* to an eet file.
*
+ * @since 1.0.0
*/
EAPI int eet_data_write(Eet_File *ef, Eet_Data_Descriptor *edd, const char
*name, const void *data, int compress);
@@ -848,6 +893,7 @@
* }
* @endcode
*
+ * @since 1.0.0
*/
EAPI int eet_data_text_dump(const void *data_in, int size_in, void
(*dumpfunc) (void *data, const char *str), void *dumpdata);
@@ -863,6 +909,7 @@
* in-memory data struct and encodes into a binary blob. @p text is a normal
* C string.
*
+ * @since 1.0.0
*/
EAPI void *eet_data_text_undump(const char *text, int textlen, int
*size_ret);
@@ -888,6 +935,7 @@
*
* Please see eet_data_read() for more information.
*
+ * @since 1.0.0
*/
EAPI void *eet_data_descriptor_decode(Eet_Data_Descriptor *edd, const void
*data_in, int size_in);
@@ -915,6 +963,7 @@
*
* Please see eet_data_write() for more information.
*
+ * @since 1.0.0
*/
EAPI void *eet_data_descriptor_encode(Eet_Data_Descriptor *edd, const void
*data_in, int *size_ret);
@@ -937,6 +986,7 @@
* EET_T_FLOAT, EET_T_DOUBLE, EET_T_UCHAR, EET_T_USHORT, EET_T_UINT,
* EET_T_ULONG_LONG or EET_T_STRING.
*
+ * @since 1.0.0
*/
#define EET_DATA_DESCRIPTOR_ADD_BASIC(edd, struct_type, name, member, type) \
{ \
@@ -961,6 +1011,7 @@
* This must be the data descriptor of the struct that is pointed to by
* this element.
*
+ * @since 1.0.0
*/
#define EET_DATA_DESCRIPTOR_ADD_SUB(edd, struct_type, name, member, subtype) \
{ \
@@ -984,6 +1035,7 @@
* @p subtype being the exception. This must be the data descriptor of the
* element that is in each member of the linked list to be stored.
*
+ * @since 1.0.0
*/
#define EET_DATA_DESCRIPTOR_ADD_LIST(edd, struct_type, name, member, subtype) \
{ \
@@ -1007,6 +1059,7 @@
* @p subtype being the exception. This must be the data descriptor of the
* element that is in each member of the hash to be stored.
*
+ * @since 1.0.0
*/
#define EET_DATA_DESCRIPTOR_ADD_HASH(edd, struct_type, name, member, subtype) \
{ \
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel