Vuo  0.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Typedefs | Functions
VuoString.h File Reference

Description

VuoString C type definition.

Typedefs

typedef const char * VuoString
 A zero-terminated UTF-8 string.
 

Functions

VuoString VuoString_valueFromString (const char *initializer)
 Creates a new VuoString from the UTF-8 C string initializer.
 
char * VuoString_stringFromValue (const VuoString value)
 Creates a new UTF-8 C string from value.
 
char * VuoString_summaryFromValue (const VuoString value)
 Creates a new double-quoted UTF-8 C string from value, or, if it's more than 32 characters long, creates an aposiopesis.
 
size_t VuoString_length (const VuoString string)
 Returns the number of UTF-8 characters in the string.
 
const char * VuoString_substring (const VuoString string, size_t startIndex, size_t length)
 Returns the substring of string starting at index startIndex and spanning length UTF-8 characters.