Renesas Stub Generator V.1.00 Technické informace Strana 76

  • 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 75
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 64 of 128
REJ10J1822-0101
6.6.2 STR (String)
Input/Output Keywords Available in Combination with STR:
IN
Description:
The string specified as the parameter is transferred from the client to the server. STR is only
specifiable when the parameter is of the character type.
When STR is used with REF, the pointer to the string is transferred instead of the string itself. For
details, refer to section 6.5.4, REF (Passing by Reference).
Example:
Specification of a server function
int func(const char *s);
The function takes string s as an input and returns a value of type int.
Definition of the server function
int ret = func([IN STR]const char *s);
Zobrazit stránku 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 143 144

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

Žádné komentáře