Renesas Stub Generator V.1.00 Technical Information Seite 90

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 144
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 89
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 78 of 128
REJ10J1822-0101
int func (struct INF * inf, struct ST * ptr )
{
IOVEC __input[2];
IOVEC __output[1];
...
__input[ __ulInputParamCount ].pBaseAddress = (UINT8 *)(inf);
__input[ __ulInputParamCount++ ].ulSize = sizeof(*inf);
if (((UINT32)(inf->count)) > 0UL)
{
__input[ __ulInputParamCount ].pBaseAddress = (UINT8 *)(ptr);
__input[ __ulInputParamCount++ ].ulSize = sizeof(*ptr) * ((UINT32)(inf->count));
}
if (((UINT32)(inf->count)) > 0UL)
{
__output[ __ulOutputParamCount ].pBaseAddress = (UINT8 *)(ptr);
__output[ __ulOutputParamCount++ ].ulSize = sizeof(*ptr) * ((UINT32)(inf->count));
}
...
rpc_call(...);
}
Figure 6.6 Code Output to the Client Stub (INOUT) for First COUNT
Seitenansicht 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 143 144

Kommentare zu diesen Handbüchern

Keine Kommentare