pure-data/src/x_interface.c

/* Copyright (c) 1997-1999 Miller Puckette.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.  */

/* interface objects */

#include "m_pd.h"
#include "s_stuff.h"
#include <string.h>

/* -------------------------- print ------------------------------ */
static t_class *print_class;

#define PRINT_LOGLEVEL

  /* imported from s_print.c: */
extern void startlogpost(const void *object, const int level, const char *fmt, ...)
    ATTRIBUTE_FORMAT_PRINTF(3, 4);

  /* avoid prefixing with "verbose(PRINT_LOGLEVEL): "
  when printing to stderr or via printhook. */
#define print_startlogpost(object, fmt, ...)

t_print;

static void *print_new(t_symbol *sel, int argc, t_atom *argv)
{}

static void print_bang(t_print *x)
{}

static void print_pointer(t_print *x, t_gpointer *gp)
{}

static void print_float(t_print *x, t_float f)
{}

static void print_anything(t_print *x, t_symbol *s, int argc, t_atom *argv)
{}

static void print_list(t_print *x, t_symbol *s, int argc, t_atom *argv)
{}

static void print_setup(void)
{}

/* ------------------- trace - see message passing traces ------------- */
int backtracer_settracing(void *x, int tracing);
extern int backtracer_cantrace;

static t_class *trace_class;

t_trace;

static void *trace_new(t_symbol *s)
{}

static void trace_anything(t_trace *x, t_symbol *s, int argc, t_atom *argv)
{}

static void trace_setup(void)
{}

void x_interface_setup(void)
{}