7eba8d54ec51 — Vesa Norilo 5 years ago
Remove debug prints from pd.cpp and add forever looping shell script
2 files changed, 5 insertions(+), 4 deletions(-)

M Pure-Data/pd.cpp
M forever.sh
M Pure-Data/pd.cpp +3 -2
@@ 5,7 5,7 @@ 
 #include <memory>
 #include <tuple>
 
-#if true //ndef NDEBUG
+#if NDEBUG
 #define CONSOLE(...) post(__VA_ARGS__)
 #else 
 #define CONSOLE(...)

          
@@ 128,6 128,7 @@ class Class : public IConfigurator {
 
 	void Dispatch(t_wrapper* w, Param& p, int argc, t_atom* argv) {
 		if (!p.ksym->size) return;
+		if (argc > 0 && )
 
 		CONSOLE("[%s] %s", name.c_str(), p.ksym->sym);
 

          
@@ 188,7 189,7 @@ class Class : public IConfigurator {
 
 public:
 	Class(std::string name, krt_class* k, t_class *pd):k(k),name(name),pd(pd) {
-		CONSOLE("Wrapping [%s]", name.c_str());
+		post("Loading [%s]", name.c_str());
 		KReflect::Configure(*k, *this);
 		KReflect::Setup(*k, *this);
 		std::sort(parameters.begin(), parameters.end());

          
M forever.sh +2 -2
@@ 2,6 2,6 @@ 
 
 while true
 do
-	python builder.py
-	sleep 30
+	python service.py
+	sleep 10
 done