Renesas Stub Generator V.1.00 Informacje Techniczne Strona 87

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 144
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 86
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 75 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 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([OUT 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 output that has count elements. func outputs all count elements.
Definition of the server function
int ret = func([OUT ARY]struct ST *ptr,
[COUNT
]count, [COUNT]count,[IN DFLT]int count);
Przeglądanie stron 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 143 144

Komentarze do niniejszej Instrukcji

Brak uwag