Vuo  0.4.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
VuoText.h File Reference

Description

VuoText C type definition.

Typedefs

typedef const char * VuoText
 A Unicode (UTF-8) text string.
 

Functions

VuoText VuoText_valueFromString (const char *initializer)
 Creates a new VuoText from the UTF-8 C string initializer.
 
char * VuoText_stringFromValue (const VuoText value)
 Creates a new UTF-8 C string from value.
 
char * VuoText_summaryFromValue (const VuoText value)
 Creates a new UTF-8 C string from value, or, if it's more than 32 characters long, creates an aposiopesis.
 
size_t VuoText_length (const VuoText string)
 Returns the number of UTF-8 characters in the string.
 
VuoText VuoText_substring (const VuoText string, size_t startIndex, size_t length)
 Returns the substring of string starting at index startIndex and spanning length UTF-8 characters.
 
VuoText VuoText_append (VuoText *texts, unsigned long textsCount)
 Returns a string consisting of the elements in the texts array concatenated together.