mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-04-05 17:49:26 +02:00
Author:admin
Date:2008-09-17T13:53:28.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@3 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
[[Property:title|Reference for `eif_procedure']]
|
||||
[[Property:link_title|eif_procedure]]
|
||||
[[Property:weight|1]]
|
||||
==SYNOPSYS==
|
||||
<code>
|
||||
'''#include "eif_cecil.h"
|
||||
|
||||
EIF_PROCEDURE eif_procedure (char *''' ''name''''', int *''' ''tid''''');'''</code>
|
||||
|
||||
==DESCRIPTION==
|
||||
The '''eif_procedure()''' function returns the address of the Eiffel procedure of name ''name'' from the class, which type identifier is ''tid''.
|
||||
If the visible exception is enabled, it raises an visible exception upon failure.
|
||||
|
||||
==RETURN VALUE==
|
||||
It returns NULL when it fails ( the procedure does not exist or is not visible). Otherwise, the address of the procedure is returned.
|
||||
==NOTES==
|
||||
The Eiffel procedure cannot be a C external. In this case, you must directly call the C routine. <br/>
|
||||
The return value is an address: to use it as a routine, you must call it with arguments or at least with (). <br/>
|
||||
No argument type checking is done. You may cast the address of an Eiffel routine obtained with '''eif_procedure()''' when calling it with real arguments.
|
||||
==CONFORMANCE==
|
||||
ISE Eiffel 4.4 and later.
|
||||
==COMPATIBILITY==
|
||||
'''eif_procedure()''' is equivalent to '''eif_proc()''', which is deprecated.
|
||||
==SEE ALSO==
|
||||
'''eif_type_id'''(1), '''eif_reference_function'''(1).
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user