Renesas Stub Generator V.1.00 Informacje Techniczne Strona 63

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 144
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 62
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 51 of 128
REJ10J1822-0101
Example 3:
Specification of a server function
double func(double inf);
The input is inf and a value of type double will be returned.
Definition of the server function
[RETEXT]double dret = func([IN DFLT]double inf);
Description
Directive to extend the return value: [RETEXT]
Specification of the return value: double dret =
Function name: func
Parameter directive: [IN DFLT]
Parameter specification: double inf
Option: None
For details on each of the descriptions, refer to the following sections.
Function-type directives: 6.2, Function-Type Directives
Specifying the return value: 6.2, Function-Type Directives
Function name: 6.3, Function Names
Parameter: 6.4, Parameters
Option: 6.7, Optional Keywords
Przeglądanie stron 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 143 144

Komentarze do niniejszej Instrukcji

Brak uwag