aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-05-21 12:03:39 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-05-21 12:03:39 +0000
commitd767905ff24f841342c0fe2df1b2cee4ea72fa7b (patch)
tree49f4e8514a3b975345cae9ede8e6b0e4f771b2c2 /src
parent4f8e3ce7232c4f84814973b82b8143ab1f54f327 (diff)
made it more zexy
svn path=/trunk/externals/zexy/; revision=7704
Diffstat (limited to 'src')
-rw-r--r--src/freadln.c2
-rw-r--r--src/fwriteln.c22
2 files changed, 23 insertions, 1 deletions
diff --git a/src/freadln.c b/src/freadln.c
index fea9181..b959c0f 100644
--- a/src/freadln.c
+++ b/src/freadln.c
@@ -217,5 +217,7 @@ void freadln_setup(void)
class_addmethod(freadln_class, (t_method)freadln_open, gensym("open"), A_SYMBOL, A_DEFSYM, 0);
class_addmethod(freadln_class, (t_method)freadln_close, gensym("close"), A_NULL, 0);
class_addbang(freadln_class, (t_method)freadln_readline);
+
+ zexy_register("freadln");
}
diff --git a/src/fwriteln.c b/src/fwriteln.c
index ad7a2f3..b322642 100644
--- a/src/fwriteln.c
+++ b/src/fwriteln.c
@@ -1,4 +1,22 @@
-#include "m_pd.h"
+
+/******************************************************
+ *
+ * zexy - implementation file
+ *
+ * copyleft (c) Franz Zotter
+ *
+ * 2105:forum::für::umläute:2007
+ *
+ * institute of electronic music and acoustics (iem)
+ *
+ ******************************************************
+ *
+ * license: GNU General Public License v.2
+ *
+ ******************************************************/
+
+#include "zexy.h"
+
#include <stdio.h>
#include <string.h>
@@ -156,5 +174,7 @@ void fwriteln_setup(void)
class_addmethod(fwriteln_class, (t_method)fwriteln_open, gensym("open"), A_SYMBOL, A_DEFSYM, 0);
class_addmethod(fwriteln_class, (t_method)fwriteln_close, gensym("close"), A_NULL, 0);
class_addanything(fwriteln_class, (t_method)fwriteln_write);
+
+ zexy_register("fwriteln");
}