Renesas Stub Generator V.1.00 Informacje Techniczne Strona 102

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 144
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 143 144

Komentarze do niniejszej Instrukcji

Brak uwag