![]() |
MPLABĀ® Harmony Graphics Suite
|
Dynamic string functions and definitions. More...
#include "gfx/legato/string/legato_string.h"

Go to the source code of this file.
Data Structures | |
| struct | leDynamicString |
| This struct represents a dynamic string. More... | |
Macros | |
| #define | THIS_TYPE struct leWidget |
Typedefs | |
| typedef struct leDynamicString | leDynamicString |
| This struct represents a dynamic string. More... | |
Functions | |
| LIB_EXPORT leDynamicString * | leDynamicString_New () |
| Create a new dynamic string. More... | |
| LIB_EXPORT void | leDynamicString_Constructor (leDynamicString *str) |
| Consructs a dynamic string. More... | |
| virtual uint32_t | getCapacity (leDynamicString *_this) |
| Get capacity of the dynamic string. More... | |
| virtual leResult | setCapacity (leDynamicString *_this, uint32_t cap) |
| Set capacity of the dynamic string. More... | |
Dynamic string functions and definitions.
| typedef struct leDynamicString leDynamicString |
This struct represents a dynamic string.
String type that dynamically allocates internal memory to accommodate dynamic string operations
|
virtual |
Get capacity of the dynamic string.
Gets the capacity of _this.
| str | is the string to operate on |
| LIB_EXPORT void leDynamicString_Constructor | ( | leDynamicString * | str | ) |
Consructs a dynamic string.
Allocates a memory for an existing str.
| str | the string to construct. |
| LIB_EXPORT leDynamicString* leDynamicString_New | ( | ) |
Create a new dynamic string.
Creates a new leDynamicString and automatically calls its constructor function.
|
virtual |
Set capacity of the dynamic string.
Sets capacity of _this to cap.
| _this | is the string to operate on; |
| cap | is the desired capacity; |
1.8.18