Renesas Stub Generator V.1.00 Información técnica Pagina 87

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 144
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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);
Vista de pagina 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 143 144

Comentarios a estos manuales

Sin comentarios