mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-02-06 17:04:26 +01:00
Author:halw Date:2011-03-06T20:56:08.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@810 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
24 lines
800 B
Plaintext
24 lines
800 B
Plaintext
[[Property:title|eif_create]]
|
|
[[Property:weight|-7]]
|
|
[[Property:uuid|b928f4b9-2830-5723-6f02-57eac618b116]]
|
|
==SYNOPSYS==
|
|
<code>
|
|
'''#include "eif_cecil. h"'''
|
|
|
|
'''EIF_OBJECT eif_create (EIF_TYPE_ID''' ''tid''''');'''</code>
|
|
|
|
==DESCRIPTION==
|
|
The '''eif_create()''' function creates an Eiffel object, which type identifier is ''tid''.
|
|
==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. <br/>
|
|
To release the protection of an Eiffel object created with '''eif_create()''', call '''eif_wean()'''. It will be collected during the next collection.
|
|
==CONFORMANCE==
|
|
ISE Eiffel 4.1 and later.
|
|
==SEE ALSO==
|
|
'''eif_wean'''(1) , '''eif_type_id'''(1).
|
|
|
|
|
|
|