Renesas Stub Generator V.1.00 Informations techniques Page 94

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 144
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 93
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 82 of 128
REJ10J1822-0101
Example 6
Specification of a server function
int func(struct INF *inf, struct ST *ptr, int *p_count);
ptr points to an array for input and output and inf indicates other input information, including a
type-int member count, which indicates the number of elements in the array pointed to by ptr.
func outputs the return parameter *p_count as the number of elements.
Definition of the server function
int ret = func([IN PTR]struct INF *inf, [INOUT ARY]struct ST *ptr,
[COUNT
]inf->count, [COUNT]*p_count, [OUT PTR]int *p_count);
Example 7
Specification of a server function
int func(struct INF *inf, struct ST *ptr);
ptr points to an array for input and output and inf indicates other input information, including a
type-int member count, which indicates the number of elements in the array pointed to by ptr.
func outputs all inf -> count elements.
Definition of the server function
int ret = func([IN PTR]struct INF *inf, [INOUT ARY]struct ST *ptr,
[COUNT
]inf->count, [COUNT]inf->count );
Vue de la page 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 143 144

Commentaires sur ces manuels

Pas de commentaire