BotInterp::BotInterp(Bot *b, String fn)
: bot(b), counter(0)
{
- logPort = scm_open_file(Utils::string2SCM(fn),
- Utils::string2SCM("a"));
+ logPort = scm_open_file(Utils::str2scm (fn),
+ Utils::str2scm ("a"));
scm_gc_protect_object(logPort);
}
String name) {
if (scm_string_p(regex) == SCM_BOOL_F)
return false;
- String rx = Utils::scm2String(regex).toUpper();
+ String rx = Utils::to_upper (Utils::scm2str (regex));
SCM r = scm_make_regexp(regex,
scm_listify (gh_lookup("regexp/icase"),
SCM_UNDEFINED));
wrapper_data wd;
wd.args = args;
for ( ; it != it2; ++it) {
- if (scm_regexp_exec((*it)->regex, Utils::string2SCM(match),
+ if (scm_regexp_exec((*it)->regex, Utils::str2scm (match),
SCM_UNDEFINED, SCM_UNDEFINED) != SCM_BOOL_F)
{
wd.func = (*it)->function;
std::list<Timer *>::iterator it = timersList.begin();
std::list<Timer *>::iterator it2 = timersList.end();
std::list<Timer *>::iterator it3;
- Timer *t;
+
struct wrapper_data wd;
wd.args = scm_listify (SCM_UNDEFINED);