Max's string object is a simple wrapper for c-strings, useful when working with Max's t_dictionary, t_linklist, or t_hashtab.
More...
Detailed Description
Max's string object is a simple wrapper for c-strings, useful when working with Max's t_dictionary, t_linklist, or t_hashtab.
- See also:
- Dictionary
Function Documentation
const char* string_getptr |
( |
t_string * |
x |
) |
|
Create a new string object.
- Parameters:
-
| x | The string object instance. |
- Returns:
- A pointer to the internally maintained C-string.
t_string* string_new |
( |
const char * |
psz |
) |
|
Create a new string object.
- Parameters:
-
| psz | Pointer to a C-string that will be copied to memory internal to this string object instance. |
- Returns:
- The new string object instance pointer.