eif_create

Synopsis

#include "eif_cecil. h" EIF_OBJECT eif_create (EIF_TYPE_ID tid);

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.

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
eif_type_id