aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/kernel.c
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-06-03 20:05:09 +0000
committerN.N. <matju@users.sourceforge.net>2009-06-03 20:05:09 +0000
commitb0275aa9b3a9f085425a47a93c1f7c59a1d835f6 (patch)
treedb3b5560f6a4346bf1413ccab66d4aad73accd93 /desiredata/src/kernel.c
parent12f31332d54505a28bd49086ce260f4d3e06fa2c (diff)
using namespace desire;
svn path=/trunk/; revision=11660
Diffstat (limited to 'desiredata/src/kernel.c')
-rw-r--r--desiredata/src/kernel.c3
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) {