48#ifndef LV2_ATOM_FORGE_H
49#define LV2_ATOM_FORGE_H
57#if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
58# define LV2_ATOM_FORGE_DEPRECATED __attribute__((__deprecated__))
60# define LV2_ATOM_FORGE_DEPRECATED
71# pragma clang diagnostic push
72# pragma clang diagnostic ignored "-Wdeprecated-declarations"
73#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
74# pragma GCC diagnostic push
75# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
195 forge->
stack = frame;
220 type == forge->Blank ||
221 type == forge->Resource);
230 return (
type == forge->Blank ||
317 const uint64_t pad = 0;
498 { child_size, child_type }
515 { child_size, child_type }
700#if defined(__clang__)
701# pragma clang diagnostic pop
702#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
703# pragma GCC diagnostic pop
uint8_t a
Definition Spc_Cpu.h:141
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93
unsigned f
Definition inflate.c:1572
#define LV2_ATOM__Object
http://lv2plug.in/ns/ext/atom#Object
Definition atom.h:47
#define LV2_ATOM__Float
http://lv2plug.in/ns/ext/atom#Float
Definition atom.h:42
#define LV2_ATOM__Chunk
http://lv2plug.in/ns/ext/atom#Chunk
Definition atom.h:39
#define LV2_ATOM__Property
http://lv2plug.in/ns/ext/atom#Property
Definition atom.h:49
#define LV2_ATOM__Int
http://lv2plug.in/ns/ext/atom#Int
Definition atom.h:43
#define LV2_ATOM__URID
http://lv2plug.in/ns/ext/atom#URID
Definition atom.h:56
#define LV2_ATOM__Blank
http://lv2plug.in/ns/ext/atom#Blank
Definition atom.h:37
#define LV2_ATOM__Double
http://lv2plug.in/ns/ext/atom#Double
Definition atom.h:40
#define LV2_ATOM__String
http://lv2plug.in/ns/ext/atom#String
Definition atom.h:53
#define LV2_ATOM__Bool
http://lv2plug.in/ns/ext/atom#Bool
Definition atom.h:38
#define LV2_ATOM__Vector
http://lv2plug.in/ns/ext/atom#Vector
Definition atom.h:57
#define LV2_ATOM__Tuple
http://lv2plug.in/ns/ext/atom#Tuple
Definition atom.h:54
LV2_Atom_Int LV2_Atom_Bool
Definition atom.h:136
#define LV2_ATOM__Path
http://lv2plug.in/ns/ext/atom#Path
Definition atom.h:48
#define LV2_ATOM__URI
http://lv2plug.in/ns/ext/atom#URI
Definition atom.h:55
#define LV2_ATOM__Resource
http://lv2plug.in/ns/ext/atom#Resource
Definition atom.h:50
#define LV2_ATOM__Sequence
http://lv2plug.in/ns/ext/atom#Sequence
Definition atom.h:51
#define LV2_ATOM__Literal
http://lv2plug.in/ns/ext/atom#Literal
Definition atom.h:44
#define LV2_ATOM__Long
http://lv2plug.in/ns/ext/atom#Long
Definition atom.h:45
#define LV2_ATOM_BODY_CONST(atom)
Definition atom.h:103
static LV2_Atom_Forge_Ref lv2_atom_forge_tuple(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame)
Definition atom-forge.h:542
static LV2_Atom_Forge_Ref lv2_atom_forge_push(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame, LV2_Atom_Forge_Ref ref)
Definition atom-forge.h:189
static LV2_Atom * lv2_atom_forge_deref(LV2_Atom_Forge *forge, LV2_Atom_Forge_Ref ref)
Definition atom-forge.h:168
static LV2_Atom_Forge_Ref lv2_atom_forge_uri(LV2_Atom_Forge *forge, const char *uri, uint32_t len)
Definition atom-forge.h:452
static LV2_Atom_Forge_Ref lv2_atom_forge_int(LV2_Atom_Forge *forge, int32_t val)
Definition atom-forge.h:374
void * LV2_Atom_Forge_Sink_Handle
Definition atom-forge.h:79
static LV2_Atom_Forge_Ref lv2_atom_forge_bool(LV2_Atom_Forge *forge, bool val)
Definition atom-forge.h:406
static LV2_ATOM_FORGE_DEPRECATED LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame, uint32_t id, LV2_URID otype)
Definition atom-forge.h:616
intptr_t LV2_Atom_Forge_Ref
Definition atom-forge.h:82
static void lv2_atom_forge_init(LV2_Atom_Forge *forge, const LV2_URID_Map *map)
Definition atom-forge.h:143
static LV2_Atom_Forge_Ref lv2_atom_forge_string_body(LV2_Atom_Forge *forge, const char *str, uint32_t len)
Definition atom-forge.h:335
static LV2_Atom_Forge_Ref lv2_atom_forge_vector_head(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame, uint32_t child_size, uint32_t child_type)
Definition atom-forge.h:491
static LV2_Atom_Forge_Ref lv2_atom_forge_beat_time(LV2_Atom_Forge *forge, double beats)
Definition atom-forge.h:690
static LV2_Atom_Forge_Ref lv2_atom_forge_long(LV2_Atom_Forge *forge, int64_t val)
Definition atom-forge.h:382
static LV2_Atom_Forge_Ref lv2_atom_forge_sequence_head(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame, uint32_t unit)
Definition atom-forge.h:661
static void lv2_atom_forge_pad(LV2_Atom_Forge *forge, uint32_t written)
Definition atom-forge.h:315
static bool lv2_atom_forge_is_object_type(const LV2_Atom_Forge *forge, uint32_t type)
Definition atom-forge.h:217
static LV2_Atom_Forge_Ref lv2_atom_forge_raw(LV2_Atom_Forge *forge, const void *data, uint32_t size)
Definition atom-forge.h:293
LV2_Atom_Forge_Ref(* LV2_Atom_Forge_Sink)(LV2_Atom_Forge_Sink_Handle handle, const void *buf, uint32_t size)
Definition atom-forge.h:86
static LV2_Atom_Forge_Ref lv2_atom_forge_primitive(LV2_Atom_Forge *forge, const LV2_Atom *a)
Definition atom-forge.h:362
static bool lv2_atom_forge_top_is(LV2_Atom_Forge *forge, uint32_t type)
Definition atom-forge.h:209
static LV2_Atom_Forge_Ref lv2_atom_forge_property_head(LV2_Atom_Forge *forge, LV2_URID key, LV2_URID context)
Definition atom-forge.h:649
static LV2_Atom_Forge_Ref lv2_atom_forge_urid(LV2_Atom_Forge *forge, LV2_URID id)
Definition atom-forge.h:414
static LV2_Atom_Forge_Ref lv2_atom_forge_write(LV2_Atom_Forge *forge, const void *data, uint32_t size)
Definition atom-forge.h:324
static LV2_Atom_Forge_Ref lv2_atom_forge_double(LV2_Atom_Forge *forge, double val)
Definition atom-forge.h:398
static void lv2_atom_forge_pop(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame)
Definition atom-forge.h:201
static bool lv2_atom_forge_is_blank(const LV2_Atom_Forge *forge, uint32_t type, const LV2_Atom_Object_Body *body)
Definition atom-forge.h:226
#define LV2_ATOM_FORGE_DEPRECATED
Definition atom-forge.h:60
static LV2_Atom_Forge_Ref lv2_atom_forge_string(LV2_Atom_Forge *forge, const char *str, uint32_t len)
Definition atom-forge.h:441
static LV2_Atom_Forge_Ref lv2_atom_forge_typed_string(LV2_Atom_Forge *forge, uint32_t type, const char *str, uint32_t len)
Definition atom-forge.h:422
static void lv2_atom_forge_set_buffer(LV2_Atom_Forge *forge, uint8_t *buf, size_t size)
Definition atom-forge.h:242
static LV2_ATOM_FORGE_DEPRECATED LV2_Atom_Forge_Ref lv2_atom_forge_resource(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame, LV2_URID id, LV2_URID otype)
Definition atom-forge.h:595
static LV2_Atom_Forge_Ref lv2_atom_forge_path(LV2_Atom_Forge *forge, const char *path, uint32_t len)
Definition atom-forge.h:459
static LV2_Atom_Forge_Ref lv2_atom_forge_key(LV2_Atom_Forge *forge, LV2_URID key)
Definition atom-forge.h:635
static LV2_Atom_Forge_Ref lv2_atom_forge_atom(LV2_Atom_Forge *forge, uint32_t size, uint32_t type)
Definition atom-forge.h:354
static LV2_Atom_Forge_Ref lv2_atom_forge_frame_time(LV2_Atom_Forge *forge, int64_t frames)
Definition atom-forge.h:679
LV2_DISABLE_DEPRECATION_WARNINGS typedef void * LV2_Atom_Forge_Sink_Handle
Definition forge.h:72
static LV2_Atom_Forge_Ref lv2_atom_forge_literal(LV2_Atom_Forge *forge, const char *str, uint32_t len, uint32_t datatype, uint32_t lang)
Definition atom-forge.h:466
LV2_Atom *(* LV2_Atom_Forge_Deref_Func)(LV2_Atom_Forge_Sink_Handle handle, LV2_Atom_Forge_Ref ref)
Definition forge.h:84
static LV2_Atom_Forge_Ref lv2_atom_forge_float(LV2_Atom_Forge *forge, float val)
Definition atom-forge.h:390
static void lv2_atom_forge_set_sink(LV2_Atom_Forge *forge, LV2_Atom_Forge_Sink sink, LV2_Atom_Forge_Deref_Func deref, LV2_Atom_Forge_Sink_Handle handle)
Definition atom-forge.h:268
static LV2_Atom_Forge_Ref lv2_atom_forge_object(LV2_Atom_Forge *forge, LV2_Atom_Forge_Frame *frame, LV2_URID id, LV2_URID otype)
Definition atom-forge.h:574
static LV2_Atom_Forge_Ref lv2_atom_forge_vector(LV2_Atom_Forge *forge, uint32_t child_size, uint32_t child_type, uint32_t n_elems, const void *elems)
Definition atom-forge.h:506
uint32_t LV2_URID
Definition urid.h:58
static uint32_t lv2_atom_pad_size(uint32_t size)
Definition atom-util.h:48
int val
Definition jpeglib.h:956
JSAMPIMAGE data
Definition jpeglib.h:945
float out
Definition lilv_test.c:1461
int int32_t
Definition mid.cpp:97
unsigned int uint32_t
Definition mid.cpp:100
unsigned char uint8_t
Definition mid.cpp:98
png_const_structrp png_const_inforp int * unit
Definition png.h:2161
Definition atom-forge.h:96
struct _LV2_Atom_Forge_Frame * parent
Definition atom-forge.h:97
LV2_Atom_Forge_Ref ref
Definition atom-forge.h:98
LV2_Atom_Forge_Ref ref
Definition forge.h:91
struct LV2_Atom_Forge_Frame * parent
Definition forge.h:90
Definition atom-forge.h:102
LV2_URID Float
Definition atom-forge.h:117
uint32_t size
Definition atom-forge.h:105
LV2_URID Property
Definition atom-forge.h:123
LV2_URID Vector
Definition atom-forge.h:130
LV2_URID Chunk
Definition atom-forge.h:115
LV2_URID Long
Definition atom-forge.h:119
LV2_Atom_Forge_Frame * stack
Definition atom-forge.h:111
LV2_Atom_Forge_Sink sink
Definition atom-forge.h:107
LV2_URID Blank LV2_ATOM_FORGE_DEPRECATED
Definition atom-forge.h:113
LV2_URID Int
Definition atom-forge.h:118
uint8_t * buf
Definition atom-forge.h:103
LV2_URID Tuple
Definition atom-forge.h:127
LV2_URID Double
Definition atom-forge.h:116
LV2_URID Path
Definition atom-forge.h:122
LV2_Atom_Forge_Deref_Func deref
Definition atom-forge.h:108
LV2_URID URI
Definition atom-forge.h:128
LV2_Atom_Forge_Sink_Handle handle
Definition atom-forge.h:109
LV2_URID Bool
Definition atom-forge.h:114
LV2_URID Sequence
Definition atom-forge.h:125
LV2_URID String
Definition atom-forge.h:126
LV2_URID Literal
Definition atom-forge.h:120
LV2_URID URID
Definition atom-forge.h:129
uint32_t offset
Definition atom-forge.h:104
LV2_URID Object
Definition atom-forge.h:121
uint32_t id
Definition atom.h:198
uint32_t size
Definition atom.h:107
uint32_t type
Definition atom.h:108
LV2_URID_Map_Handle handle
Definition urid.h:76
LV2_URID(* map)(LV2_URID_Map_Handle handle, const char *uri)
Definition urid.h:99
memcpy(hh, h, RAND_HEAD_LEN)
ZCONST char * key
Definition crypt.c:587