Vuo  0.4.8
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
type.h File Reference

Description

Prototypes for type implementations.

Replace MyType with the name of your type.

Functions

MyType MyType_valueFromJson (json_object *js)
 Creates a new MyType value by unserializing a JSON-C object.
 
json_object * MyType_jsonFromValue (const MyType value)
 Serializes a MyType value to a JSON-C object.
 
struct json_object * MyType_interprocessJsonFromValue (const MyType value)
 Serializes a MyType value to a JSON-formatted string, in a format that will allow another process to unserialize it.
 
char * MyType_summaryFromValue (const MyType value)
 Returns a brief description of a value.
 
MyType MyType_valueFromString (const char *str)
 Creates a new MyType value by unserializing a JSON-formatted string.
 
char * MyType_stringFromValue (const MyType value)
 Serializes a MyType value to a JSON-formatted string.
 
char * MyType_interprocessStringFromValue (const MyType value)
 Serializes a MyType value to a JSON-formatted string, in a format that will allow another process to unserialize it.
 
void MyType_retain (const MyType value)
 Increments the reference count of a value or its fields, if needed.
 
void MyType_release (const MyType value)
 Decrements the reference count of a value or its fields, if needed.