CVS difference for ais/ai-00131.txt
--- ais/ai-00131.txt 2000/04/14 01:45:07 1.14
+++ ais/ai-00131.txt 2000/06/21 23:39:08 1.15
@@ -28,13 +28,11 @@
!question
-B.3(69) says:
+The Implementation Advice B.3(69) says:
- Implementation Advice
- ...
- 69 An Ada parameter of a record type T, of any mode, is passed as a
- t* argument to a C function, where t is the C struct
- corresponding to the Ada type T.
+ An Ada parameter of a record type T, of any mode, is passed as a
+ t* argument to a C function, where t is the C struct
+ corresponding to the Ada type T.
The problem with this is that if one has a C function that is passed a
struct, then how can one pass an Ada record to that? One might think that if
@@ -114,9 +112,9 @@
these modes, and the closest correspondence to C is a pointer-to-struct
argument.
-Although this is not explicitly stated in the RM, it is clear that an Ada
-function with result type T corresponds to a C function with return type t,
-where t is the C type corresponding to the Ada type T.
+Although this is not explicitly stated in the International Standard, it is
+clear that an Ada function with result type T corresponds to a C function
+with return type t, where t is the C type corresponding to the Ada type T.
!corrigendum B.03(1)
Questions? Ask the ACAA Technical Agent