1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
11 #include <anna/core/internal/ModuleManager.hpp>
12 #include <anna/config/defines.hpp>
19 void ModuleManager::insert(const char* module, const char* revision)
21 char* dup = strdup(module + anna_strlen("@(#)"));
26 if ((space = anna_strchr (dup, ' ')) != NULL)
29 for(const_iterator ii = begin(), maxii = end(); ii != maxii; ii ++) {
30 if(anna_strcmp(dup, ModuleManager::module(ii)) == 0) {
36 a_modules.push_back(Module(dup, revision));