eina_config.h | eina_config.h | |||
---|---|---|---|---|
skipping to change at line 71 | skipping to change at line 71 | |||
#endif | #endif | |||
#ifdef EINA_SIZEOF_WCHAR_T | #ifdef EINA_SIZEOF_WCHAR_T | |||
# undef EINA_SIZEOF_WCHAR_T | # undef EINA_SIZEOF_WCHAR_T | |||
#endif | #endif | |||
#define EINA_SIZEOF_WCHAR_T 4 | #define EINA_SIZEOF_WCHAR_T 4 | |||
#ifdef EINA_HAVE_ON_OFF_THREADS | #ifdef EINA_HAVE_ON_OFF_THREADS | |||
# undef EINA_HAVE_ON_OFF_THREADS | # undef EINA_HAVE_ON_OFF_THREADS | |||
#endif | #endif | |||
#define EINA_HAVE_ON_OFF_THREADS | ||||
#ifdef EINA_CONFIGURE_HAVE_DIRENT_H | #ifdef EINA_CONFIGURE_HAVE_DIRENT_H | |||
# undef EINA_CONFIGURE_HAVE_DIRENT_H | # undef EINA_CONFIGURE_HAVE_DIRENT_H | |||
#endif | #endif | |||
#define EINA_HAVE_DIRENT_H | #define EINA_HAVE_DIRENT_H | |||
#ifdef EINA_CONFIGURE_ENABLE_LOG | #ifdef EINA_CONFIGURE_ENABLE_LOG | |||
# undef EINA_CONFIGURE_ENABLE_LOG | # undef EINA_CONFIGURE_ENABLE_LOG | |||
#endif | #endif | |||
#define EINA_ENABLE_LOG | #define EINA_ENABLE_LOG | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added | |||
eina_list.h | eina_list.h | |||
---|---|---|---|---|
skipping to change at line 935 | skipping to change at line 935 | |||
* @param left First list to merge. | * @param left First list to merge. | |||
* @param right Second list to merge. | * @param right Second list to merge. | |||
* @param func A function pointer that can handle comparing the list data | * @param func A function pointer that can handle comparing the list data | |||
* nodes. | * nodes. | |||
* @return A new sorted list. | * @return A new sorted list. | |||
* | * | |||
* This function compares the head of @p left and @p right, and choose the | * This function compares the head of @p left and @p right, and choose the | |||
* smallest one to be head of the returned list. It will continue this proc ess | * smallest one to be head of the returned list. It will continue this proc ess | |||
* for all entry of both list. | * for all entry of both list. | |||
* | * | |||
* Both left and right do not exist anymore after the merge. | * Both left and right lists are not vailid anymore after the merge and sho | |||
* If @p func is @c NULL, it will return @c NULL. | uld | |||
* not be used. If @p func is @c NULL, it will return @c NULL. | ||||
* | * | |||
* Example: | * Example: | |||
* @code | * @code | |||
* int | * int | |||
* sort_cb(void *d1, void *d2) | * sort_cb(void *d1, void *d2) | |||
* { | * { | |||
* const char *txt = NULL; | * const char *txt = NULL; | |||
* const char *txt2 = NULL; | * const char *txt2 = NULL; | |||
* | * | |||
* if(!d1) return(1); | * if(!d1) return(1); | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||
eina_stringshare.h | eina_stringshare.h | |||
---|---|---|---|---|
skipping to change at line 314 | skipping to change at line 314 | |||
* | * | |||
* @note If the given pointer is not shared, bad things will happen, likely a | * @note If the given pointer is not shared, bad things will happen, likely a | |||
* segmentation fault. | * segmentation fault. | |||
*/ | */ | |||
EAPI void eina_stringshare_del(Eina_Stringshare *str); | EAPI void eina_stringshare_del(Eina_Stringshare *str); | |||
/** | /** | |||
* @brief Note that the given string @b must be shared. | * @brief Note that the given string @b must be shared. | |||
* | * | |||
* @param str the shared string to know the length. It is safe to | * @param str the shared string to know the length. It is safe to | |||
* give @c NULL, in that case @c -1 is returned. | * give @c NULL, in that case @c 0 is returned. | |||
* @return The length of a shared string. | * @return The length of a shared string. | |||
* | * | |||
* This function is a cheap way to known the length of a shared | * This function is a cheap way to known the length of a shared | |||
* string. | * string. | |||
* | * | |||
* @note If the given pointer is not shared, bad things will happen, likely a | * @note If the given pointer is not shared, bad things will happen, likely a | |||
* segmentation fault. If in doubt, try strlen(). | * segmentation fault. If in doubt, try strlen(). | |||
*/ | */ | |||
EAPI int eina_stringshare_strlen(Eina_Stringshare *str) EINA _PURE EINA_WARN_UNUSED_RESULT; | EAPI int eina_stringshare_strlen(Eina_Stringshare *str) EINA _PURE EINA_WARN_UNUSED_RESULT; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||