LMMS
Loading...
Searching...
No Matches
atom-util.h File Reference
#include <stdarg.h>
#include <stdint.h>
#include <string.h>
#include "atom.h"
#include <stdbool.h>

Go to the source code of this file.

Classes

struct  LV2_Atom_Object_Query

Macros

Sequence Iterator
#define LV2_ATOM_SEQUENCE_FOREACH(seq, iter)
#define LV2_ATOM_SEQUENCE_BODY_FOREACH(body, size, iter)
Tuple Iterator
#define LV2_ATOM_TUPLE_FOREACH(tuple, iter)
#define LV2_ATOM_TUPLE_BODY_FOREACH(body, size, iter)
Object Iterator
#define LV2_ATOM_OBJECT_FOREACH(obj, iter)
#define LV2_ATOM_OBJECT_BODY_FOREACH(body, size, iter)

Functions

static uint32_t lv2_atom_pad_size (uint32_t size)
static uint32_t lv2_atom_total_size (const LV2_Atom *atom)
static bool lv2_atom_is_null (const LV2_Atom *atom)
static bool lv2_atom_equals (const LV2_Atom *a, const LV2_Atom *b)
Sequence Iterator
static const LV2_Atom_Eventlv2_atom_sequence_begin (const LV2_Atom_Sequence_Body *body)
static const LV2_Atom_Eventlv2_atom_sequence_end (const LV2_Atom_Sequence_Body *body, uint32_t size)
static LV2_Atom_Eventlv2_atom_sequence_end2 (LV2_Atom_Sequence_Body *body, uint32_t size)
static bool lv2_atom_sequence_is_end (const LV2_Atom_Sequence_Body *body, uint32_t size, const LV2_Atom_Event *i)
static const LV2_Atom_Eventlv2_atom_sequence_next (const LV2_Atom_Event *i)
Sequence Utilities
static void lv2_atom_sequence_clear (LV2_Atom_Sequence *seq)
static LV2_Atom_Eventlv2_atom_sequence_append_event (LV2_Atom_Sequence *seq, uint32_t capacity, const LV2_Atom_Event *event)
Tuple Iterator
static const LV2_Atomlv2_atom_tuple_begin (const LV2_Atom_Tuple *tup)
static bool lv2_atom_tuple_is_end (const void *body, uint32_t size, const LV2_Atom *i)
static const LV2_Atomlv2_atom_tuple_next (const LV2_Atom *i)
Object Iterator
static const LV2_Atom_Property_Bodylv2_atom_object_begin (const LV2_Atom_Object_Body *body)
static bool lv2_atom_object_is_end (const LV2_Atom_Object_Body *body, uint32_t size, const LV2_Atom_Property_Body *i)
static const LV2_Atom_Property_Bodylv2_atom_object_next (const LV2_Atom_Property_Body *i)

Object Query

static const LV2_Atom_Object_Query LV2_ATOM_OBJECT_QUERY_END = { 0, NULL }
static int lv2_atom_object_query (const LV2_Atom_Object *object, LV2_Atom_Object_Query *query)
static int lv2_atom_object_body_get (uint32_t size, const LV2_Atom_Object_Body *body,...)
static int lv2_atom_object_get (const LV2_Atom_Object *object,...)
static int lv2_atom_object_get_typed (const LV2_Atom_Object *object,...)