vuo.integer C type definition.
- Copyright
- Copyright © 2012–2018 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
VuoInteger | VuoInteger_makeFromJson (json_object *js) |
| Decodes the JSON object js to create a new value. More...
|
|
json_object * | VuoInteger_getJson (const VuoInteger value) |
| Encodes value as a JSON object. More...
|
|
char * | VuoInteger_getSummary (const VuoInteger value) |
| Always shows the full value, since it's guaranteed to be pretty short. More...
|
|
VuoInteger | VuoInteger_min (VuoInteger *terms, unsigned long termsCount, VuoInteger *outputPosition) |
| Returns the minimum of an array of terms, or 0 if the array is empty. More...
|
|
VuoInteger | VuoInteger_max (VuoInteger *terms, unsigned long termsCount, VuoInteger *outputPosition) |
| Returns the maximum of an array of terms, or 0 if the array is empty. More...
|
|
VuoInteger | VuoInteger_wrap (VuoInteger value, VuoInteger minimum, VuoInteger maximum) |
| Returns value if it is within the range of minimum to maximum (inclusive), otherwise a value wrapped with modular arithmetic to be within the range. More...
|
|
VuoInteger | VuoInteger_random (const VuoInteger minimum, const VuoInteger maximum) |
| Returns a pseudorandom value between minimum and maximum , inclusive. More...
|
|
void | VuoInteger_setRandomState (unsigned short state[3], const VuoInteger seed) |
| Initializes state using the lower 48 bits of seed . More...
|
|
VuoInteger | VuoInteger_randomWithState (unsigned short state[3], const VuoInteger minimum, const VuoInteger maximum) |
| Returns a pseudorandom value between minimum and maximum , inclusive. More...
|
|
VuoInteger | VuoInteger_makeFromHexByte (unsigned char byte) |
| If byte is a valid ASCII hex character (0–9, a–f, A–F), returns the equivalent numeric value. More...
|
|
static VuoInteger | VuoInteger_add (VuoInteger a, VuoInteger b) __attribute__((const)) |
| a+b More...
|
|
static VuoInteger | VuoInteger_subtract (VuoInteger a, VuoInteger b) __attribute__((const)) |
| a-b More...
|
|
static VuoInteger | VuoInteger_multiply (VuoInteger a, VuoInteger b) __attribute__((const)) |
| Provided for generic type equivalence with VuoPoints. More...
|
|
static VuoInteger | VuoInteger_scale (VuoInteger a, VuoInteger b) __attribute__((const)) |
| Provided for generic type equivalence with VuoPoints. More...
|
|
static VuoInteger | VuoInteger_makeNonzero (VuoInteger a) __attribute__((const)) |
| If the value is zero, returns 1. More...
|
|
static VuoInteger | VuoInteger_snap (VuoInteger a, VuoInteger center, VuoInteger snap) __attribute__((const)) |
| Returns a snapped value using a center point and snap value. More...
|
|
static bool | VuoInteger_areEqual (const VuoInteger value1, const VuoInteger value2) |
| Returns true if the two values are equal. More...
|
|
static bool | VuoInteger_isLessThan (const VuoInteger a, const VuoInteger b) |
| Returns true if a < b. More...
|
|
static VuoInteger | VuoInteger_clamp (VuoInteger value, VuoInteger limitA, VuoInteger limitB) |
| Limits value to values between min and max , inclusive. More...
|
|
static VuoInteger | VuoInteger_clampn (VuoInteger value, VuoInteger limitA, VuoInteger limitB) |
| Same as VuoInteger_clamp. More...
|
|
|
VuoInteger | VuoInteger_makeFromString (const char *str) |
| Automatically generated function. More...
|
|
char * | VuoInteger_getString (const VuoInteger value) |
| Automatically generated function. More...
|
|
void | VuoInteger_retain (VuoInteger value) |
| Automatically generated function. More...
|
|
void | VuoInteger_release (VuoInteger value) |
| Automatically generated function. More...
|
|