diff options
Diffstat (limited to 'desiredata/src/kernel.c')
-rw-r--r-- | desiredata/src/kernel.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdlib.h> @@ -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) { |