beautypg.com

2 function-type directives, 1 function with a return value – Renesas Stub Generator V.1.00 User Manual

Page 64

background image

Section 6 Definitions of Server Functions

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

REJ10J1822-0101

6.2

Function-Type Directives

6.2.1

Function with a Return Value

Format:

Δ

=

Description:

refers to a local variable used to store the return value in both
client and server stubs. A parameter of the function may be specified as this variable.

Example:

Specification of a server function

int func(int par);

The function takes par as an input and returns a value of type int.

Definition of the server function

int ret =

func([IN DFLT]int par);

This manual is related to the following products: