The SSAStringCpy() function makes a deep copy of string2 to string1. This function assumes that string1
has been processed by the SSAStringZero() function. Memory is allocated inside the string1 and the contents of string2, not just
the pointer, is copied to the string1. If an error is encountered, an error message is stored in the error_label buffer.
The SSAStringInit() function copies the char array from chars to the string instance with the specified length len. This function
assumes that the string instance has been processed by the SSAStringZero() function or no memory is allocated inside the string instance. If an error is encountered, an error message
is stored in the error_label buffer.
The SSAStringToChar() function returns a temporary char array buffer for printing purposes.
The SSAStringZero() function frees the memory inside of the String instance, but not the string object itself.
|