Contents
    1. Synopsis
    2. Description
    3. Return value
    4. Conformance

Synopsis

#include "eif_hector.h" 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 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
eif_protect
eif_wean

dc8ef8a9-7082-2a27-4e45-8f1d4472dbda
cached: 06/26/2017 1:44:20.000 PM