MPLAB® Harmony Graphics Suite
|
LIB_EXPORT laResult laString_Copy( laString* dst, const laString* src );
Parameters |
Description |
laString* dst |
the destination string object |
laString* src |
the source string object |
laResult - LA_SUCCESS if the function succeeded
Makes duplicate of a given string. Destination will have the same length and data but may not have the same overall capacity. The source may have lots of unused space and the destination may not match to avoid waste. Caller is responsible for the allocated memory but does not need to preserve the input string to maintain the destination string buffer state.
Caller must also ensure that the font contains all the glyphs for the string or rendering may not be possible.
MPLAB® Harmony Graphics Suite
|