[Gridflow-cvs] [svn] commit: r3370 - in /trunk/base: grid.h main.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Mar 31 22:06:18 EDT 2008


Author: matju
Date: Mon Mar 31 22:06:18 2008
New Revision: 3370

Log:
typos

Modified:
    trunk/base/grid.h
    trunk/base/main.c

Modified: trunk/base/grid.h
==============================================================================
--- trunk/base/grid.h (original)
+++ trunk/base/grid.h Mon Mar 31 22:06:18 2008
@@ -927,6 +927,6 @@
 };
 
 static inline string gf_find_file (string x) {return string(rb_str_ptr(rb_funcall(mGridFlow,SI(find_file),1,rb_str_new2(x.data()))));}
-int pd_oprintf (std::ostream &o, const char *s, int argc, t_atom *argv);
+void pd_oprintf (std::ostream &o, const char *s, int argc, t_atom *argv);
 
 #endif // __GF_GRID_H

Modified: trunk/base/main.c
==============================================================================
--- trunk/base/main.c (original)
+++ trunk/base/main.c Mon Mar 31 22:06:18 2008
@@ -89,7 +89,7 @@
 	return rb_ary_aref(COUNT(argv),argv,rself);
 }
 
-int pd_oprintf (std::ostream &o, const char *s, int argc, t_atom *argv) {
+void pd_oprintf (std::ostream &o, const char *s, int argc, t_atom *argv) {
 	int i=0;
 	for (; *s; s++) {
 		if (*s!='%') {o << (char)*s; continue;}
@@ -101,7 +101,7 @@
 		}
 		if (*s=='s') {
 			if (!argc) RAISE("not enough args");
-			if (argv[i].a_type != A_SYMBOL) RAISE("expected float");
+			if (argv[i].a_type != A_SYMBOL) RAISE("expected symbol");
 			o << argv[i].a_w.w_symbol->s_name;
 		}
 		if (*s=='_') {



More information about the Gridflow-cvs mailing list