summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_value.h
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-11 16:49:13 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-11 16:50:40 +0900
commit69e27abdc37f222183ce27f4ce0e3fe2a45ca590 (patch)
tree487cbabad5e0a5e5efd0c56063cf5d437484b4ea /src/lib/eina/eina_value.h
parent725237df0a8b8cab83c8f38368e5d0389dbd196e (diff)
eina - and e3fl in general - stop using eina_error_get/set - useless really
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_value.h38
1 files changed, 11 insertions, 27 deletions
diff --git a/src/lib/eina/eina_value.h b/src/lib/eina/eina_value.h
index d0299760a0..bb619ddbe0 100644
--- a/src/lib/eina/eina_value.h
+++ b/src/lib/eina/eina_value.h
@@ -587,13 +587,7 @@ EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_BLOB;
587 */ 587 */
588EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT; 588EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT;
589 589
590/** 590EAPI extern Eina_Error EINA_ERROR_VALUE_FAILED;
591 * @var EINA_ERROR_VALUE_FAILED
592 * Error identifier corresponding to value check failure.
593 *
594 * @since 1.2
595 */
596EAPI extern int EINA_ERROR_VALUE_FAILED;
597 591
598/** 592/**
599 * @defgroup Eina_Value_Value_Group Generic Value management 593 * @defgroup Eina_Value_Value_Group Generic Value management
@@ -625,8 +619,7 @@ struct _Eina_Value
625 * eg. #EINA_VALUE_TYPE_ARRAY uses eina_value_array_set(), 619 * eg. #EINA_VALUE_TYPE_ARRAY uses eina_value_array_set(),
626 * eina_value_array_get() and so on. 620 * eina_value_array_get() and so on.
627 * 621 *
628 * On failure, @c NULL is returned and either #EINA_ERROR_OUT_OF_MEMORY 622 * On failure, @c NULL is returned.
629 * or #EINA_ERROR_VALUE_FAILED is set.
630 * 623 *
631 * @note this calls creates from mempool and then uses 624 * @note this calls creates from mempool and then uses
632 * eina_value_setup(). Consider using eina_value_flush() and 625 * eina_value_setup(). Consider using eina_value_flush() and
@@ -664,8 +657,7 @@ EAPI void eina_value_free(Eina_Value *value) EINA_ARG_NONNULL(1);
664 * @note Existing contents are ignored! If the value was previously used, then 657 * @note Existing contents are ignored! If the value was previously used, then
665 * use eina_value_flush() first. 658 * use eina_value_flush() first.
666 * 659 *
667 * On failure, #EINA_FALSE is returned and #EINA_ERROR_OUT_OF_MEMORY 660 * On failure, #EINA_FALSE is returned.
668 * or #EINA_ERROR_VALUE_FAILED is set.
669 * 661 *
670 * @see eina_value_flush() 662 * @see eina_value_flush()
671 * 663 *
@@ -1103,8 +1095,7 @@ struct _Eina_Value_Array
1103 * Create a new generic value storage of type array. The members are 1095 * Create a new generic value storage of type array. The members are
1104 * managed using the description specified by @a subtype. 1096 * managed using the description specified by @a subtype.
1105 * 1097 *
1106 * On failure, @c NULL is returned and #EINA_ERROR_OUT_OF_MEMORY 1098 * On failure, @c NULL is returned.
1107 * or #EINA_ERROR_VALUE_FAILED is set.
1108 * 1099 *
1109 * @note this creates from mempool and then uses 1100 * @note this creates from mempool and then uses
1110 * eina_value_array_setup(). @see eina_value_free() @see 1101 * eina_value_array_setup(). @see eina_value_free() @see
@@ -1132,8 +1123,7 @@ EAPI Eina_Value *eina_value_array_new(const Eina_Value_Type *subtype,
1132 * @note Existing contents are ignored! If the value was previously used, then 1123 * @note Existing contents are ignored! If the value was previously used, then
1133 * use eina_value_flush() first. 1124 * use eina_value_flush() first.
1134 * 1125 *
1135 * On failure, #EINA_FALSE is returned and #EINA_ERROR_OUT_OF_MEMORY 1126 * On failure, #EINA_FALSE is returned.
1136 * or #EINA_ERROR_VALUE_FAILED is set.
1137 * 1127 *
1138 * @see eina_value_flush() 1128 * @see eina_value_flush()
1139 * 1129 *
@@ -1753,8 +1743,7 @@ struct _Eina_Value_List
1753 * Create a new generic value storage of type list. The members are 1743 * Create a new generic value storage of type list. The members are
1754 * managed using the description specified by @a subtype. 1744 * managed using the description specified by @a subtype.
1755 * 1745 *
1756 * On failure, @c NULL is returned and #EINA_ERROR_OUT_OF_MEMORY 1746 * On failure, @c NULL is returned.
1757 * or #EINA_ERROR_VALUE_FAILED is set.
1758 * 1747 *
1759 * @note this creates from mempool and then uses 1748 * @note this creates from mempool and then uses
1760 * eina_value_list_setup(). 1749 * eina_value_list_setup().
@@ -1782,8 +1771,7 @@ EAPI Eina_Value *eina_value_list_new(const Eina_Value_Type *subtype) EINA_ARG_NO
1782 * @note Existing contents are ignored! If the value was previously used, then 1771 * @note Existing contents are ignored! If the value was previously used, then
1783 * use eina_value_flush() first. 1772 * use eina_value_flush() first.
1784 * 1773 *
1785 * On failure, #EINA_FALSE is returned and #EINA_ERROR_OUT_OF_MEMORY 1774 * On failure, #EINA_FALSE is returned.
1786 * or #EINA_ERROR_VALUE_FAILED is set.
1787 * 1775 *
1788 * @see eina_value_flush() 1776 * @see eina_value_flush()
1789 * 1777 *
@@ -2379,8 +2367,7 @@ struct _Eina_Value_Hash
2379 * Create a new generic value storage of type hash. The members are 2367 * Create a new generic value storage of type hash. The members are
2380 * managed using the description specified by @a subtype. 2368 * managed using the description specified by @a subtype.
2381 * 2369 *
2382 * On failure, @c NULL is returned and #EINA_ERROR_OUT_OF_MEMORY 2370 * On failure, @c NULL is returned.
2383 * or #EINA_ERROR_VALUE_FAILED is set.
2384 * 2371 *
2385 * @note this creates from mempool and then uses 2372 * @note this creates from mempool and then uses
2386 * eina_value_hash_setup(). 2373 * eina_value_hash_setup().
@@ -2410,8 +2397,7 @@ EAPI Eina_Value *eina_value_hash_new(const Eina_Value_Type *subtype, unsigned in
2410 * @note Existing contents are ignored! If the value was previously used, then 2397 * @note Existing contents are ignored! If the value was previously used, then
2411 * use eina_value_flush() first. 2398 * use eina_value_flush() first.
2412 * 2399 *
2413 * On failure, #EINA_FALSE is returned and #EINA_ERROR_OUT_OF_MEMORY 2400 * On failure, #EINA_FALSE is returned.
2414 * or #EINA_ERROR_VALUE_FAILED is set.
2415 * 2401 *
2416 * @see eina_value_flush() 2402 * @see eina_value_flush()
2417 * 2403 *
@@ -2942,8 +2928,7 @@ struct _Eina_Value_Struct
2942 * Create a new generic value storage of type struct. The members are 2928 * Create a new generic value storage of type struct. The members are
2943 * managed using the description specified by @a desc. 2929 * managed using the description specified by @a desc.
2944 * 2930 *
2945 * On failure, @c NULL is returned and #EINA_ERROR_OUT_OF_MEMORY 2931 * On failure, @c NULL is returned.
2946 * or #EINA_ERROR_VALUE_FAILED is set.
2947 * 2932 *
2948 * @note this creates from mempool and then uses 2933 * @note this creates from mempool and then uses
2949 * eina_value_struct_setup(). 2934 * eina_value_struct_setup().
@@ -2971,8 +2956,7 @@ EAPI Eina_Value *eina_value_struct_new(const Eina_Value_Struct_Desc *desc) EINA_
2971 * @note Existing contents are ignored! If the value was previously used, then 2956 * @note Existing contents are ignored! If the value was previously used, then
2972 * use eina_value_flush() first. 2957 * use eina_value_flush() first.
2973 * 2958 *
2974 * On failure, #EINA_FALSE is returned and #EINA_ERROR_OUT_OF_MEMORY 2959 * On failure, #EINA_FALSE is returned.
2975 * or #EINA_ERROR_VALUE_FAILED is set.
2976 * 2960 *
2977 * @see eina_value_flush() 2961 * @see eina_value_flush()
2978 * 2962 *