beautypg.com

2 function without a return value – Renesas Stub Generator V.1.00 User Manual

Page 65

background image

Section 6 Definitions of Server Functions

Rev. 1.01 Mar. 17, 2008 Page 53 of 128

REJ10J1822-0101

6.2.2

Function without a Return Value

Description:

For a function that doesn’t have a return value, a return-value specification must not be made.

Example:

Specification of a server function

void func(struct ST *ptr);

The function has no input and returns a value in the ST structure indicated by *ptr.

Definition of the server function

func([OUT PTR]struct ST *ptr);

This manual is related to the following products: