#include "m_pd.h"
#include "m_imp.h"
#include "s_stuff.h"
#include <string.h>
#include "m_private_utils.h"
#if defined(_MSC_VER)
#define INLINE …
#elif defined(__GNUC__)
#define INLINE …
#else
#define INLINE …
#endif
inletunion;
struct _inlet
{ … };
#define i_symto …
#define i_pointerslot …
#define i_floatslot …
#define i_symslot …
static t_class *inlet_class, *pointerinlet_class, *floatinlet_class,
*symbolinlet_class;
#define ISINLET(pd) …
t_inlet *inlet_new(t_object *owner, t_pd *dest, t_symbol *s1, t_symbol *s2)
{ … }
t_inlet *signalinlet_new(t_object *owner, t_float f)
{ … }
static void inlet_wrong(t_inlet *x, t_symbol *s)
{ … }
static void _inlet_wrong(t_inlet *x, t_symbol *s, int argc, t_atom*argv)
{ … }
static void inlet_list(t_inlet *x, t_symbol *s, int argc, t_atom *argv);
extern t_class *vinlet_class;
static void inlet_bang(t_inlet *x)
{ … }
static void inlet_pointer(t_inlet *x, t_gpointer *gp)
{ … }
static void inlet_float(t_inlet *x, t_float f)
{ … }
static void inlet_symbol(t_inlet *x, t_symbol *s)
{ … }
static void inlet_fwd(t_inlet *x, t_symbol *s, int argc, t_atom *argv)
{ … }
static void inlet_list(t_inlet *x, t_symbol *s, int argc, t_atom *argv)
{ … }
static void inlet_anything(t_inlet *x, t_symbol *s, int argc, t_atom *argv)
{ … }
void inlet_free(t_inlet *x)
{ … }
static void pointerinlet_pointer(t_inlet *x, t_gpointer *gp)
{ … }
t_inlet *pointerinlet_new(t_object *owner, t_gpointer *gp)
{ … }
static void floatinlet_float(t_inlet *x, t_float f)
{ … }
t_inlet *floatinlet_new(t_object *owner, t_float *fp)
{ … }
static void symbolinlet_symbol(t_inlet *x, t_symbol *s)
{ … }
t_inlet *symbolinlet_new(t_object *owner, t_symbol **sp)
{ … }
void obj_list(t_object *x, t_symbol *s, int argc, t_atom *argv)
{ … }
struct _outconnect
{ … };
struct _outlet
{ … };
#define NARGS …
t_msgstack;
t_backtracer;
static t_msgstack *backtracer_stack;
int backtracer_cantrace = …;
int backtracer_tracing;
t_class *backtracer_class;
static PERTHREAD int stackcount = …;
static PERTHREAD int overflow = …;
#define STACKITER …
static PERTHREAD int outlet_eventno;
static INLINE int stackcount_add(void)
{ … }
static INLINE void stackcount_release(void)
{ … }
void outlet_setstacklim(void)
{ … }
int sched_geteventno(void)
{ … }
static t_outconnect **outlet_getconnectionpointer(t_outlet *x)
{ … }
static void backtracer_printmsg(t_pd *who, t_symbol *s,
int argc, t_atom *argv)
{ … }
static void backtracer_anything(t_backtracer *x, t_symbol *s,
int argc, t_atom *argv)
{ … }
t_backtracer *backtracer_new(t_pd *owner)
{ … }
int backtracer_settracing(void *x, int tracing)
{ … }
void canvas_settracing(int onoff);
static t_clock *backtrace_unsetclock;
static void backtrace_dounsettracing(void *dummy)
{ … }
void glob_settracing(void *dummy, t_float f)
{ … }
void obj_dosettracing(t_object *ob, int onoff)
{ … }
t_outlet *outlet_new(t_object *owner, t_symbol *s)
{ … }
static void outlet_stackerror(t_outlet *x)
{ … }
void outlet_bang(t_outlet *x)
{ … }
void outlet_pointer(t_outlet *x, t_gpointer *gp)
{ … }
void outlet_float(t_outlet *x, t_float f)
{ … }
void outlet_symbol(t_outlet *x, t_symbol *s)
{ … }
void outlet_list(t_outlet *x, t_symbol *s, int argc, t_atom *argv)
{ … }
void outlet_anything(t_outlet *x, t_symbol *s, int argc, t_atom *argv)
{ … }
t_symbol *outlet_getsymbol(t_outlet *x)
{ … }
void outlet_free(t_outlet *x)
{ … }
t_outconnect *obj_connect(t_object *source, int outno,
t_object *sink, int inno)
{ … }
void obj_disconnect(t_object *source, int outno, t_object *sink, int inno)
{ … }
int obj_noutlets(const t_object *x)
{ … }
int obj_ninlets(const t_object *x)
{ … }
t_outconnect *obj_starttraverseoutlet(const t_object *x, t_outlet **op, int nout)
{ … }
t_outconnect *obj_nexttraverseoutlet(t_outconnect *lastconnect,
t_object **destp, t_inlet **inletp, int *whichp)
{ … }
t_object *pd_checkobject(t_pd *x)
{ … }
void obj_moveinletfirst(t_object *x, t_inlet *i)
{ … }
void obj_moveoutletfirst(t_object *x, t_outlet *o)
{ … }
int obj_nsiginlets(const t_object *x)
{ … }
int obj_siginletindex(const t_object *x, int m)
{ … }
int obj_issignalinlet(const t_object *x, int m)
{ … }
int obj_nsigoutlets(const t_object *x)
{ … }
int obj_sigoutletindex(const t_object *x, int m)
{ … }
int obj_issignaloutlet(const t_object *x, int m)
{ … }
t_float *obj_findsignalscalar(const t_object *x, int m)
{ … }
int inlet_getsignalindex(t_inlet *x)
{ … }
int outlet_getsignalindex(t_outlet *x)
{ … }
void obj_saveformat(const t_object *x, t_binbuf *bb)
{ … }
void obj_sendinlet(t_object *x, int n, t_symbol *s, int argc, t_atom *argv)
{ … }
void obj_init(void)
{ … }