Renesas Stub Generator V.1.00 Informações Técnicas Página 87

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 144
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 143 144

Comentários a estes Manuais

Sem comentários