Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 65 of 128
REJ10J1822-0101
6.6.3 PTR (Pointer)
Input/Output Keywords Available in Combination with PTR:
All
Description:
The data pointed to by a specified pointer are transferred between the client and the server. PTR is
only specifiable when the parameter is of the pointer type.
When IN has been selected and REF is used with PTR, the pointer value is transferred instead of
the data it indicates. For details, refer to section 6.5.4, REF (Passing by Reference).
Example:
Specification of a server function
void func(struct ST *ptr);
The function has no input and returns the structure of type ST that is indicated by *ptr.
Definition of the server function
func([OUT PTR]struct ST *ptr);