18 #ifndef DEF_EPD_COMMON
19 #define DEF_EPD_COMMON
23 void object_method(
void* x,
t_symbol* s,
void* z,
t_typ_method method,
long number,
void* other);
int binbuf_get_attributes_offset(t_binbuf *d)
Retrieves the position of the first attribute in a t_binbuf.
Definition: ecommon.c:277
t_pd_err binbuf_get_attribute(t_binbuf *d, t_symbol *key, int *argc, t_atom **argv)
Retrieves the values of an attribute from a t_binbuf.
Definition: ecommon.c:441
int atoms_get_nattributes(int argc, t_atom *argv)
Retrieves the number of attributes in an array of t_atom.
Definition: ecommon.c:282
t_pd_err atoms_has_attribute(int argc, t_atom *argv, t_symbol *key)
Retrieves if an attributes is in an array of t_atom.
Definition: ecommon.c:329
t_pd_err binbuf_has_attribute(t_binbuf *d, t_symbol *key)
Retrieves if an attributes is in a t_binbuf.
Definition: ecommon.c:345
int atoms_get_attribute_index(int argc, t_atom *argv, t_symbol *key)
Retrieves the position of an attribute in an array of t_atom.
Definition: ecommon.c:353
The t_atom struture.
Definition: enative.h:105
The t_binbuf struture.
Definition: enative.h:58
The t_symbol struture.
Definition: enative.h:46
t_pd_err binbuf_append_attribute(t_binbuf *d, t_symbol *key, int argc, t_atom *argv)
Adds the key and the values of an attribute to a t_binbuf.
Definition: ecommon.c:252
t_pd_err atoms_get_attribute(int ac, t_atom *av, t_symbol *key, int *argc, t_atom **argv)
Retrieves the values of an attribute from an array of t_atom.
Definition: ecommon.c:375
void epd_add_folder(const char *name, const char *folder)
Adds a subfolder to library folder.
Definition: ecommon.c:507
void(* t_typ_method)(void *x,...)
The standart method.
Definition: edefine.h:71
long t_pd_err
The error type.
Definition: edefine.h:69
int atoms_get_keys(int ac, t_atom *av, t_symbol ***keys)
Retrieves the keys of attributes presents in an array of t_atom.
Definition: ecommon.c:300
t_pd_err atoms_get_attribute_long(int ac, t_atom *av, t_symbol *key, long *value)
Retrieves the long value of an attribute from an array of t_atom.
Definition: ecommon.c:449
t_pd_err binbuf_get_attribute_long(t_binbuf *d, t_symbol *key, long *value)
Retrieves the long value of an attribute from a t_binbuf.
Definition: ecommon.c:470
t_pd_err binbuf_get_attribute_float(t_binbuf *d, t_symbol *key, float *value)
Retrieves the float value of an attribute from a t_binbuf.
Definition: ecommon.c:499
t_pd_err atoms_get_attribute_float(int ac, t_atom *av, t_symbol *key, float *value)
Retrieves the float value of an attribute from an array of t_atom.
Definition: ecommon.c:478
int binbuf_get_nattributes(t_binbuf *d)
Retrieves the number of attributes in a t_binbuf.
Definition: ecommon.c:295
int atoms_get_attributes_offset(int argc, t_atom *argv)
Retrieves the position of the first attribute in an array of t_atom.
Definition: ecommon.c:264
int binbuf_get_keys(t_binbuf *d, t_symbol ***keys)
Retrieves the keys of attributes presents in a t_binbuf.
Definition: ecommon.c:323
t_binbuf * binbuf_via_atoms(int ac, t_atom *av)
Retrieves a t_binbuf from an array of t_atom.
Definition: ecommon.c:126
int binbuf_get_attribute_index(t_binbuf *d, t_symbol *key)
Retrieves the position of an attribute in a t_binbuf.
Definition: ecommon.c:370