MPLABĀ® Harmony Graphics Suite
GFX v3.13.0
Legato API Documentation
|
Fixed string functions and definitions. More...
#include "gfx/legato/string/legato_string.h"
Go to the source code of this file.
Data Structures | |
struct | leFixedString |
This struct represents a fixed string. More... | |
Macros | |
#define | THIS_TYPE struct leWidget |
Typedefs | |
typedef struct leFixedString | leFixedString |
This struct represents a fixed string. More... | |
Functions | |
leFixedString * | leFixedString_New (leChar *buf, uint32_t size) |
Create a new fixed string. More... | |
void | leFixedString_Constructor (leFixedString *str, leChar *buf, uint32_t size) |
Consructs a fixed string. More... | |
virtual leResult | setBuffer (leFixedString *_this, leChar *buf, uint32_t size) |
Set capacity of the dynamic string. More... | |
Fixed string functions and definitions.
typedef struct leFixedString leFixedString |
This struct represents a fixed string.
String type that allocates internal memory to accommodate fixed string operations
void leFixedString_Constructor | ( | leFixedString * | str, |
leChar * | buf, | ||
uint32_t | size | ||
) |
Consructs a fixed string.
Allocates a memory for an existing str .
leFixedString* leFixedString_New | ( | leChar * | buf, |
uint32_t | size | ||
) |
Create a new fixed string.
Creates a new leFixedString and automatically calls its constructor function.
|
virtual |
Set capacity of the dynamic string.
Copies up to size items of buf to _this.
_this | is the string to operate on; |
buf | is the buffer to set; |
size | is the size of the buffer; |