forked from enlightenment/efl
fix eina_binshare_add_length() using EINA_PURE.
Amazingly this was caught by a test (eina_binshare_small) that was failing... Who said we didn't had test?! :-P SVN revision: 82946
This commit is contained in:
parent
14ff8920a6
commit
5f8c760406
|
@ -107,7 +107,7 @@
|
|||
* @see eina_binshare_add()
|
||||
*/
|
||||
EAPI const void *eina_binshare_add_length(const void *obj,
|
||||
unsigned int olen) EINA_PURE EINA_WARN_UNUSED_RESULT;
|
||||
unsigned int olen) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* Increment references of the given shared object.
|
||||
|
@ -152,7 +152,7 @@ EAPI void eina_binshare_del(const void *obj);
|
|||
* @note If the given pointer is not shared, bad things will happen, likely a
|
||||
* segmentation fault. If in doubt, try strlen().
|
||||
*/
|
||||
EAPI int eina_binshare_length(const void *obj) EINA_WARN_UNUSED_RESULT;
|
||||
EAPI int eina_binshare_length(const void *obj) EINA_WARN_UNUSED_RESULT EINA_PURE;
|
||||
|
||||
/**
|
||||
* @brief Dump the contents of the share_common.
|
||||
|
|
Loading…
Reference in New Issue