From 048afa270abab5f5b2288009eea9ad8709f224c9 Mon Sep 17 00:00:00 2001 From: halw Date: Sun, 6 Mar 2011 23:35:49 +0000 Subject: [PATCH] Author:halw Date:2011-03-06T23:07:47.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@828 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../cecil/cecil-reference/eif-name-tid.wiki | 2 +- .../cecil/cecil-reference/eif-name.wiki | 2 +- .../cecil/cecil-reference/eif-procedure.wiki | 53 +++++++++++++------ 3 files changed, 38 insertions(+), 19 deletions(-) diff --git a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name-tid.wiki b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name-tid.wiki index 46d7d495..15f973f0 100644 --- a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name-tid.wiki +++ b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name-tid.wiki @@ -23,7 +23,7 @@ ISE Eiffel 4.4 and later. ==Compatibility== -[[eif_name]] is equivalent to [[eif_name_by_tid]]. +[[eif_name_by_tid]] is equivalent to [[eif_name]]. {{SeeAlso|
diff --git a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name.wiki b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name.wiki index ac4bcc34..1be441bc 100644 --- a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name.wiki +++ b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-name.wiki @@ -22,7 +22,7 @@ ISE Eiffel 4.4 and later. ==Compatibility== -eif_name is equivalent to [[eif_name_by_tid]]. +[[eif_name]] is equivalent to [[eif_name_by_tid]]. {{SeeAlso|
diff --git a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-procedure.wiki b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-procedure.wiki index 55953761..b755702a 100644 --- a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-procedure.wiki +++ b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-procedure.wiki @@ -1,28 +1,47 @@ [[Property:title|eif_procedure]] [[Property:weight|1]] [[Property:uuid|3937f124-fffa-3244-d2e4-46ccfcec5fa8]] -==SYNOPSYS== - -'''#include "eif_cecil.h" +==Synopsis== -EIF_PROCEDURE eif_procedure (char *''' ''name''''', int *''' ''tid''''');''' + +#include "eif_cecil.h" + +EIF_PROCEDURE eif_procedure (char * name, int * tid); + + +==Description== + +The eif_procedure function returns the address of the Eiffel procedure of name name from the class, which type identifier is tid. -==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.
-The return value is an address: to use it as a routine, you must call it with arguments or at least with ().
-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== +==Return value== + +Successful: Address of the procedure. +Failing: NULL. (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. + +The return value is an address: to use it as a routine, you must call it with arguments or at least with (). + +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). + +==Compatibility== + +eif_procedure is equivalent to eif_proc, which is deprecated. + + +{{SeeAlso|
+[[eif_type_id]]
+[[eif_reference_function]] }}