Vuo  0.7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions
VuoInteger

Description

A signed 64-bit integer.

Typedefs

typedef signed long VuoInteger
 A signed 64-bit integer.
 

Functions

VuoInteger VuoInteger_valueFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a 64-bit integer, to create a new value.
 
json_object * VuoInteger_jsonFromValue (const VuoInteger value)
 Encodes value as a JSON object.
 
char * VuoInteger_summaryFromValue (const VuoInteger value)
 Always shows the full value, since it's guaranteed to be pretty short.
 
VuoInteger VuoInteger_min (VuoInteger *terms, unsigned long termsCount)
 Returns the minimum of an array of terms, or 0 if the array is empty.
 
VuoInteger VuoInteger_max (VuoInteger *terms, unsigned long termsCount)
 Returns the maximum of an array of terms, or 0 if the array is empty.
 
static VuoInteger VuoInteger_snap (VuoInteger a, VuoInteger center, VuoInteger snap) __attribute__((const ))
 Returns a snapped value using a center point and snap value.
 
VuoInteger VuoInteger_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoInteger_stringFromValue (const VuoInteger value)
 Automatically generated function.
 

Typedef Documentation

typedef signed long VuoInteger

A signed 64-bit integer.

Function Documentation

struct json_object * VuoInteger_jsonFromValue ( const VuoInteger  value)
read

Encodes value as a JSON object.

VuoInteger VuoInteger_max ( VuoInteger terms,
unsigned long  termsCount 
)

Returns the maximum of an array of terms, or 0 if the array is empty.

VuoInteger VuoInteger_min ( VuoInteger terms,
unsigned long  termsCount 
)

Returns the minimum of an array of terms, or 0 if the array is empty.

static VuoInteger VuoInteger_snap ( VuoInteger  a,
VuoInteger  center,
VuoInteger  snap 
) const
inlinestatic

Returns a snapped value using a center point and snap value.

char* VuoInteger_stringFromValue ( const VuoInteger  value)

Automatically generated function.

char * VuoInteger_summaryFromValue ( const VuoInteger  value)

Always shows the full value, since it's guaranteed to be pretty short.

VuoInteger VuoInteger_valueFromJson ( json_object *  js)

Decodes the JSON object js, expected to contain a 64-bit integer, to create a new value.

VuoInteger VuoInteger_valueFromString ( const char *  str)

Automatically generated function.