Renesas Stub Generator V.1.00 Technické informace Strana 63

  • 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 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
Zobrazit stránku 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 143 144

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

Žádné komentáře