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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 144
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 56
Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 45 of 128
REJ10J1822-0101
5.6.3 CLNT_CALLCHK
Format:
CLNT_CALLCHK;
Description:
RPCGEN creates the following code in <config file>_clnt.c to facilitate saving of the return values
of RPC calls (rpc_call() or rpc_call_copycbk()) and outputs the API of *rpc_retval_adr() in
<config file>_clnt.h.
*rpc_retval_adr() = rpc_call(...);
rpc_retval_adr() must be implemented by the user. If this definition is omitted, the following code,
which discards the return value of an RPC call, will be created.
rpc_call(...);
For how to implement rpc_retval_adr(), refer to section 8.8, rpc_retval_adr().
Example:
CLNT_CALLCHK;
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 143 144

Comentarios a estos manuales

Sin comentarios