libroadrunner C API
Functions
StringArray routines

Utility routines to deal with the string array type. More...

Functions

C_DECL_SPEC int rrcCallConv getNumberOfStringElements (const RRStringArrayPtr list)
 Returns the length of a string array. More...
 
C_DECL_SPEC char *rrcCallConv getStringElement (RRStringArrayPtr list, int index)
 Returns the indexth element from the string array in the argument value. More...
 

Detailed Description

Utility routines to deal with the string array type.

Function Documentation

◆ getNumberOfStringElements()

C_DECL_SPEC int rrcCallConv getNumberOfStringElements ( const RRStringArrayPtr  list)

Returns the length of a string array.

Returns
Returns the length of a string array, return -1 if string array is NULL

◆ getStringElement()

C_DECL_SPEC char* rrcCallConv getStringElement ( RRStringArrayPtr  list,
int  index 
)

Returns the indexth element from the string array in the argument value.

Returns
Returns pointer to string else return null if error