From 07b32c8be2e2bd468ba9f5dd5da59790dfb9ad47 Mon Sep 17 00:00:00 2001 From: halw Date: Sun, 6 Mar 2011 17:25:15 +0000 Subject: [PATCH] Overhaul. Author:halw Date:2011-03-06T17:25:15.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@801 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../cecil/cecil-reference/eif-adopt.wiki | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-adopt.wiki b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-adopt.wiki index 10516b96..cfcdf5e5 100644 --- a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-adopt.wiki +++ b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-adopt.wiki @@ -2,20 +2,26 @@ [[Property:link_title|eif_adopt]] [[Property:weight|-13]] [[Property:uuid|dc8ef8a9-7082-2a27-4e45-8f1d4472dbda]] -==SYNOPSYS== - -'''#include "eif_hector.h" +==Synopsis== + +#include "eif_hector.h" -EIF_OBJECT eif_adopt (EIF_OBJECT''' ''obj''''');''' +EIF_OBJECT eif_adopt (EIF_OBJECT obj); + -==DESCRIPTION== -The '''eif_adopt()''' function adopts ''obj''. By adopting it, the user prevents ''obj'' from being unprotected automatically by the Eiffel run-time. The run-time protects automatically the Eiffel objects passed to a C external before entering in it and unprotects them after exiting the C external. To keep this protection later on, you must call '''eif_adopt()'''. -==RETURN VALUE== -The '''eif_adopt()''' function returns an EIF_OBJECT. This return value can be used later on to access the nested protected Eiffel reference with '''eif_access()'''. -==CONFORMANCE== +==Description== +The eif_adopt() function adopts obj. By adopting it, the user prevents obj from being unprotected automatically by the Eiffel run-time. The run-time protects automatically the Eiffel objects passed to a C external before entering the external and unprotects them after exiting the C external. To keep this protection later on, you must call eif_adopt(). + +==Return value== +An EIF_OBJECT. This return value can be used later to access the nested, protected Eiffel reference with eif_access(). + +==Conformance== ISE Eiffel 4.1 and later. -==SEE ALSO== -'''eif_access''' (1), '''eif_protect''' (1), '''eif_wean''' (1). +{{SeeAlso|
+[[Reference for `eif_access']]
+[[Reference for `eif_protect']]
+[[Reference for `eif_wean']] }} +