Merge pull request #847 from paulfd/struct-messaging-comment
Comment struct members
This commit is contained in:
commit
83b9c86692
1 changed files with 10 additions and 10 deletions
|
|
@ -32,22 +32,22 @@ extern "C" {
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const uint8_t* data;
|
const uint8_t* data; /**< Pointer to the data */
|
||||||
uint32_t size;
|
uint32_t size; /**< Data size */
|
||||||
} sfizz_blob_t;
|
} sfizz_blob_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Representation of an argument of variant type in OSC format
|
* @brief Representation of an argument of variant type in OSC format as a union
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
typedef union {
|
typedef union {
|
||||||
int32_t i;
|
int32_t i; /**< int32_t union value */
|
||||||
int64_t h;
|
int64_t h; /**< int64_t union value */
|
||||||
float f;
|
float f; /**< float union value */
|
||||||
double d;
|
double d; /**< double union value */
|
||||||
const char* s;
|
const char* s; /**< char* union value */
|
||||||
const sfizz_blob_t* b;
|
const sfizz_blob_t* b; /**< blob union value */
|
||||||
uint8_t m[4];
|
uint8_t m[4]; /**< 4-byte midi message union value */
|
||||||
} sfizz_arg_t;
|
} sfizz_arg_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue