|
| struct sol_blob * | sol_blob_new (const struct sol_blob_type *type, struct sol_blob *parent, const void *mem, size_t size) |
| | Creates a new blob instance of the given type type. More...
|
| |
| static struct sol_blob * | sol_blob_new_dup (const void *mem, size_t size) |
| | Creates a new blob duplicating target memory,. More...
|
| |
| static struct sol_blob * | sol_blob_new_dup_str (const char *str) |
| | Creates a new blob duplicating target NUL terminated string. More...
|
| |
| struct sol_blob * | sol_blob_ref (struct sol_blob *blob) |
| | Increments the reference counter of the given blob. More...
|
| |
| void | sol_blob_set_parent (struct sol_blob *blob, struct sol_blob *parent) |
| | Set the blob's parent. More...
|
| |
| int | sol_blob_setup (struct sol_blob *blob, const struct sol_blob_type *type, const void *mem, size_t size) |
| | Setup a blob structure with the given parameters. More...
|
| |
| void | sol_blob_unref (struct sol_blob *blob) |
| | Decreases the reference counter of the given blob. More...
|
| |
| bool | sol_direction_vector_eq (const struct sol_direction_vector *var0, const struct sol_direction_vector *var1) |
| | Checks the ranges of var0 and var1 for equality. More...
|
| |
| int | sol_drange_add (const struct sol_drange *var0, const struct sol_drange *var1, struct sol_drange *result) |
| | Adds the double ranges var0 and var1 and stores the result in result. More...
|
| |
| int | sol_drange_compose (const struct sol_drange_spec *spec, double value, struct sol_drange *result) |
| | Initializes result with the given spec and value. More...
|
| |
| int | sol_drange_div (const struct sol_drange *var0, const struct sol_drange *var1, struct sol_drange *result) |
| | Divides the double range var0 by var1 and stores the result in result. More...
|
| |
| bool | sol_drange_eq (const struct sol_drange *var0, const struct sol_drange *var1) |
| | Checks the double ranges var0 and var1 for equality. More...
|
| |
| int | sol_drange_mod (const struct sol_drange *var0, const struct sol_drange *var1, struct sol_drange *result) |
| | Calculates the module of the double range var0 by var1 and stores the result in result. More...
|
| |
| int | sol_drange_mul (const struct sol_drange *var0, const struct sol_drange *var1, struct sol_drange *result) |
| | Multiplies the double ranges var0 and var1 and stores the result in result. More...
|
| |
| int | sol_drange_sub (const struct sol_drange *var0, const struct sol_drange *var1, struct sol_drange *result) |
| | Subtracts the double range var1 from var0 and stores the result in result. More...
|
| |
| int | sol_irange_add (const struct sol_irange *var0, const struct sol_irange *var1, struct sol_irange *result) |
| | Adds the integer ranges var0 and var1 and stores the result in result. More...
|
| |
| int | sol_irange_compose (const struct sol_irange_spec *spec, int32_t value, struct sol_irange *result) |
| | Initializes result with the given spec and value. More...
|
| |
| int | sol_irange_div (const struct sol_irange *var0, const struct sol_irange *var1, struct sol_irange *result) |
| | Divides the integer range var0 by var1 and stores the result in result. More...
|
| |
| bool | sol_irange_eq (const struct sol_irange *var0, const struct sol_irange *var1) |
| | Checks the integer ranges var0 and var1 for equality. More...
|
| |
| int | sol_irange_mod (const struct sol_irange *var0, const struct sol_irange *var1, struct sol_irange *result) |
| | Calculates the module of the integer range var0 by var1 and stores the result in result. More...
|
| |
| int | sol_irange_mul (const struct sol_irange *var0, const struct sol_irange *var1, struct sol_irange *result) |
| | Multiplies the integer ranges var0 and var1 and stores the result in result. More...
|
| |
| int | sol_irange_sub (const struct sol_irange *var0, const struct sol_irange *var1, struct sol_irange *result) |
| | Subtracts the integer range var1 from var0 and stores the result in result. More...
|
| |
| bool | sol_rgb_eq (const struct sol_rgb *var0, const struct sol_rgb *var1) |
| | Checks the ranges of var0 and var1 for equality. More...
|
| |
| int | sol_rgb_set_max (struct sol_rgb *color, uint32_t max_value) |
| | Set a maximum value for all components of a RGB color. More...
|
| |
These routines are used for Soletta types' manipulation.