Renesas Stub Generator V.1.00 Technické informace Strana 77

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 144
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 76
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);
Zobrazit stránku 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 143 144

Komentáře k této Příručce

Žádné komentáře