beautypg.com

Renesas Stub Generator V.1.00 User Manual

Page 135

background image

Section 11 Samples

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

REJ10J1822-0101

nptr = ( const char *)( __pInfo->pucParamArea +

__ulInputParamOffset);

ret = atof( nptr );

*((double *)(__pInfo->pOutputIOVectorTable[ __ulOutputParamCount

].pBaseAddress)) = ret;

__pInfo->pOutputIOVectorTable[ __ulOutputParamCount ].ulSize =

sizeof(double);

__pInfo->ulOutputIOVectorTableSize = 1UL;

return (UINT32)NULL;

}

UINT32 rpcsvr_SMPL_atoi( rpc_server_stub_info * __pInfo )

{

const char * nptr;

UINT32 __ulInputParamOffset = 0UL;

int ret;

nptr = *( const char **)( __pInfo->pucParamArea +

__ulInputParamOffset);

ret = atoi( nptr );

__pInfo->ulOutputIOVectorTableSize = 0UL;

return ((UINT32)ret);

}

UINT32 rpcsvr_SMPL_ref_tsk2( rpc_server_stub_info * __pInfo )

{

ID tskid;

This manual is related to the following products: