MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laString_Allocate Function
MPLAB® Harmony Graphics Suite
laString_Allocate Function
C
LIB_EXPORT laResult laString_Allocate(
    laString* str, 
    uint32_t size
);
Parameters
Parameters 
Description 
laString* str 
the string to modify 
uint32_t size 
the desired size of the string 
Returns

laResult - LA_SUCCESS if the function succeeded

Remarks

If size is zero then the memory will be freed and the function will return success.

MPLAB® Harmony Graphics Suite