summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-06-10 14:05:00 +0000
committerTom Hacohen <tom@stosb.com>2012-06-10 14:05:00 +0000
commitc612697a4e39a906166886efc9dd1c02b0217ab5 (patch)
tree208dcb0f07cf936f49e5527118df6276db609294 /legacy/eobj
parent402bad01866594529f412553e26039f7cffe4620 (diff)
Eo: move manual_free functions to the right doc group
SVN revision: 71901
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/lib/Eo.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/legacy/eobj/lib/Eo.h b/legacy/eobj/lib/Eo.h
index 04e9a0cbb9..5ec12af37f 100644
--- a/legacy/eobj/lib/Eo.h
+++ b/legacy/eobj/lib/Eo.h
@@ -756,6 +756,34 @@ EAPI Eo *eo_xref_internal(Eo *obj, const Eo *ref_obj, const char *file, int line
756EAPI void eo_xunref(Eo *obj, const Eo *ref_obj); 756EAPI void eo_xunref(Eo *obj, const Eo *ref_obj);
757 757
758/** 758/**
759 * @brief Enable or disable the manual free feature.
760 * @param obj the object to work on.
761 * @param manual_free indicates if the free is manual (EINA_TRUE) or automatic (EINA_FALSE).
762 *
763 * The developer is in charge to call the function eo_manual_free to free the memory allocated for this object.
764 *
765 * Do not use, unless you really know what you are doing. It's used by Evas
766 * because evas wants to keep its private data available even after the object
767 * is deleted. Setting this to true makes Eo destruct the object but not free
768 * the private data or the object itself.
769 *
770 * @see eo_manual_free()
771 */
772EAPI void eo_manual_free_set(Eo *obj, Eina_Bool manual_free);
773
774/**
775 * @brief Frees the object.
776 * @param obj the object to work on.
777 * This function must be called by the developer if the function
778 * eo_manual_free_set has been called before with the parameter EINA_TRUE.
779 * An error will be printed if this function is called when the manual
780 * free option is not set to EINA_TRUE or the number of refs is not 0.
781 *
782 * @see eo_manual_free_set()
783 */
784EAPI void eo_manual_free(Eo *obj);
785
786/**
759 * @addtogroup Eo_Composite_Objects Composite Objects. 787 * @addtogroup Eo_Composite_Objects Composite Objects.
760 * @{ 788 * @{
761 */ 789 */
@@ -791,34 +819,6 @@ EAPI void eo_composite_object_detach(Eo *obj, Eo *comp_obj);
791EAPI Eina_Bool eo_composite_is(const Eo *comp_obj); 819EAPI Eina_Bool eo_composite_is(const Eo *comp_obj);
792 820
793/** 821/**
794 * @brief Enable or disable the manual free feature.
795 * @param obj the object to work on.
796 * @param manual_free indicates if the free is manual (EINA_TRUE) or automatic (EINA_FALSE).
797 *
798 * The developer is in charge to call the function eo_manual_free to free the memory allocated for this object.
799 *
800 * Do not use, unless you really know what you are doing. It's used by Evas
801 * because evas wants to keep its private data available even after the object
802 * is deleted. Setting this to true makes Eo destruct the object but not free
803 * the private data or the object itself.
804 *
805 * @see eo_manual_free()
806 */
807EAPI void eo_manual_free_set(Eo *obj, Eina_Bool manual_free);
808
809/**
810 * @brief Frees the object.
811 * @param obj the object to work on.
812 * This function must be called by the developer if the function
813 * eo_manual_free_set has been called before with the parameter EINA_TRUE.
814 * An error will be printed if this function is called when the manual
815 * free option is not set to EINA_TRUE or the number of refs is not 0.
816 *
817 * @see eo_manual_free_set()
818 */
819EAPI void eo_manual_free(Eo *obj);
820
821/**
822 * @} 822 * @}
823 */ 823 */
824 824