Renesas Stub Generator V.1.00 Technical Information Seite 76

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 144
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
Seitenansicht 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 143 144

Kommentare zu diesen Handbüchern

Keine Kommentare