COM Vuser Functions (LRC) > Alphabetical List of Functions > lrc_<type>_by_ref

lrc_<type>_by_ref

Example: lrc_<type>_by_ref Type Conversion From String

Allocates memory of the specified type, and initializes it with a value.

int * lrc_<type>_by_ref( const char* str );
str A character string containing an integer.

The lrc_<type>_by_ref function allocates memory for a pointer to a variable of type <type>, and initializes it with the value contained in str.

Return Values

This function returns a pointer of type <type>.

Parameterization

The following argument can be parameterized using standard parameterization: str