Renesas Stub Generator V.1.00 Informations techniques Page 102

  • 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 101
Section 7 Server Functions Not Supported by RPCGEN
Rev. 1.01 Mar. 17, 2008 Page 90 of 128
REJ10J1822-0101
(2) Multiple-level pointers
RPCGEN only recognizes the first level of multiple-level pointers.
Example:
Specification of a server function
int func(int **ptr);
The function takes ptr, a pointer to a pointer to int-type data, as an input.
Definition of the server function
int ret = func([IN PTR] int **ptr);
In this case, RPCGEN creates code to transfer *ptr from the client to the server. *ptr is a pointer
to the target int-type data, but this data (**ptr) will not be transferred.
(3) Function pointer
RPCGEN does not support server functions whose parameters are pointers to functions.
Vue de la page 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 143 144

Commentaires sur ces manuels

Pas de commentaire