mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 15:22:31 +01:00
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1433 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
31 lines
835 B
Plaintext
31 lines
835 B
Plaintext
[[Property:title|eif_create]]
|
|
[[Property:weight|-7]]
|
|
[[Property:uuid|b928f4b9-2830-5723-6f02-57eac618b116]]
|
|
==Synopsis==
|
|
<code lang="text">
|
|
#include "eif_cecil. h"
|
|
|
|
EIF_OBJECT eif_create (EIF_TYPE_ID tid);
|
|
</code>
|
|
|
|
==Description==
|
|
The <code lang="text">eif_create</code> function creates an Eiffel object, which type identifier is <code lang="text">tid</code>.
|
|
==Return value==
|
|
It returns an Eiffel object, which is already protected.
|
|
==Notes==
|
|
You cannot pass the return value to Eiffel routines as is: you must call [[eif_access]] to pass it to Eiffel routine.
|
|
|
|
To release the protection of an Eiffel object created with <code lang="text">eif_create</code>, call [[eif_wean]]. It will be collected during the next collection.
|
|
|
|
==Conformance==
|
|
|
|
ISE Eiffel 4.1 and later.
|
|
|
|
|
|
{{SeeAlso| <br/>
|
|
[[eif_wean]]<br/>
|
|
[[eif_type_id]] }}
|
|
|
|
|
|
|