X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/blobdiff_plain/fd72896c8b832ca19985ed67f6b1e4d570c85da2..22822a747c21df2f9d99acd8dd2f3f3a9ea54a9a:/trunk/src/plugin.cpp diff --git a/trunk/src/plugin.cpp b/trunk/src/plugin.cpp index 9571aa2..cea7975 100644 --- a/trunk/src/plugin.cpp +++ b/trunk/src/plugin.cpp @@ -67,10 +67,13 @@ int SAbrSistemaAutonomoAddTeoria(brEval args[], brEval* result, void* data) CTeoria* t = (CTeoria*) BRPOINTER(args+1); sa->teorias.add(t->nombre, t); #ifdef DEBUG - std::cout << "Agrega teoria " << t->nombre << ":\n"; - std::cout << " .datos_iniciales:\n" << t->datos_iniciales << "\n"; - std::cout << " .datos_finales:\n" << t->datos_finales << "\n"; + std::cout << "Agrega teoria " << *t << ":\n"; + std::cout << "\tdatos_iniciales:\n" << t->datos_iniciales << "\n"; + std::cout << "\tdatos_finales:\n" << t->datos_finales << "\n"; #endif // DEBUG +#ifdef LOG + std::cout << "Agrega teoria: " << *t << "," << t->datos_iniciales << "," << t->datos_finales << "\n"; +#endif // LOG return EC_OK; }