Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
|
Immutable UTF-8 strings. More...
#include <ctype.h>
#include <wctype.h>
#include <stdarg.h>
#include <Objectively/Array.h>
#include <Objectively/Data.h>
Go to the source code of this file.
Data Structures | |
struct | String |
Immutable UTF-8 strings. More... | |
Typedefs | |
typedef wchar_t | Unicode |
The Unicode type. More... | |
Enumerations | |
enum | StringEncoding { STRING_ENCODING_ASCII = 1 , STRING_ENCODING_LATIN1 , STRING_ENCODING_LATIN2 , STRING_ENCODING_MACROMAN , STRING_ENCODING_UTF16 , STRING_ENCODING_UTF32 , STRING_ENCODING_UTF8 , STRING_ENCODING_WCHAR } |
Character encodings for Strings. More... | |
Functions | |
OBJECTIVELY_EXPORT Class * | _String (void) |
OBJECTIVELY_EXPORT char * | strtrim (const char *s) |
Copies the given null-terminated C string, trimming leading and trailing whitespace. More... | |
Immutable UTF-8 strings.
Definition in file String.h.
enum StringEncoding |
Character encodings for Strings.
Enumerator | |
---|---|
STRING_ENCODING_ASCII | |
STRING_ENCODING_LATIN1 | |
STRING_ENCODING_LATIN2 | |
STRING_ENCODING_MACROMAN | |
STRING_ENCODING_UTF16 | |
STRING_ENCODING_UTF32 | |
STRING_ENCODING_UTF8 | |
STRING_ENCODING_WCHAR |
OBJECTIVELY_EXPORT Class * _String | ( | void | ) |
Definition at line 654 of file String.c.
OBJECTIVELY_EXPORT char * strtrim | ( | const char * | s | ) |
Copies the given null-terminated C string, trimming leading and trailing whitespace.
s | A null-terminated C string. |
str
which must be freed by the caller. Definition at line 752 of file String.c.