aboutsummaryrefslogtreecommitdiff
path: root/src/fwriteln.c
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/fwriteln.c
parent4f8e3ce7232c4f84814973b82b8143ab1f54f327 (diff)
made it more zexy
svn path=/trunk/externals/zexy/; revision=7704
Diffstat (limited to 'src/fwriteln.c')
-rw-r--r--src/fwriteln.c22
1 files changed, 21 insertions, 1 deletions
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");
}