From b0275aa9b3a9f085425a47a93c1f7c59a1d835f6 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 3 Jun 2009 20:05:09 +0000 Subject: using namespace desire; svn path=/trunk/; revision=11660 --- desiredata/src/kernel.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desiredata/src/kernel.c') diff --git a/desiredata/src/kernel.c b/desiredata/src/kernel.c index cb2efc5b..27e9636f 100644 --- a/desiredata/src/kernel.c +++ b/desiredata/src/kernel.c @@ -13,6 +13,7 @@ #define PD_PLUSPLUS_FACE #include "desire.h" +using namespace desire; #include "m_simd.h" #include "config.h" #include @@ -1585,6 +1586,7 @@ void pd_eval_text(const char *t, size_t size) { binbuf_free(x); } +namespace desire { void voprintf(ostream &buf, const char *s, va_list args) { char *b; vasprintf(&b,s,args); @@ -1597,6 +1599,7 @@ void oprintf(ostream &buf, const char *s, ...) { voprintf(buf,s,args); va_end(args); } +};//end namespace desire /* convert a binbuf to text; no null termination. */ void binbuf_gettext(t_binbuf *x, char **bufp, int *lengthp) { -- cgit v1.2.1