Renesas Stub Generator V.1.00 Technické informace Strana 93

  • 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 92
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 81 of 128
REJ10J1822-0101
Example 4
Specification of a server function
int func(struct ST *ptr, int *p_count);
ptr points to an array for input and output that has *p_count elements. func outputs the return
parameter *p_count as the number of elements.
Definition of the server function
int ret = func([INOUT ARY]struct ST *ptr,
[COUNT
]*p_count,[COUNT]*p_count,[INOUT PTR]int *p_count);
Example 5
Specification of a server function
int func(struct ST *ptr, int count);
ptr points to an array for input and output that has count elements. func outputs all count
elements.
Definition of the server function
int ret = func([INOUT ARY]struct ST *ptr,
[COUNT
]count, [COUNT]count, [IN DFLT]int count);
Zobrazit stránku 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 143 144

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

Žádné komentáře