diff options
author | deva <deva> | 2010-07-05 09:01:54 +0000 |
---|---|---|
committer | deva <deva> | 2010-07-05 09:01:54 +0000 |
commit | fbba835d7efaa4ee1d28bf5c7e2232e53d84af5e (patch) | |
tree | 5b71566f174143fea11e21e0c034bd6a1026c03d /server/src/luaquerymapper.cc | |
parent | 71318f4e56dd1467b071404c61f686745cf3dfc4 (diff) |
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/luaquerymapper.cc')
-rw-r--r-- | server/src/luaquerymapper.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/luaquerymapper.cc b/server/src/luaquerymapper.cc index fdb1248..8e154ed 100644 --- a/server/src/luaquerymapper.cc +++ b/server/src/luaquerymapper.cc @@ -76,7 +76,7 @@ void LUAQueryMapper::addQueryResult(QueryResult &result) throw(Exception) { std::string preload = loadresultstring(result); - PRACRO_DEBUG(querymapper, "Preload:\n%s\n", preload.c_str()); + DEBUG(querymapper, "Preload:\n%s\n", preload.c_str()); if(luaL_loadbuffer(L, preload.c_str(), preload.size(), "preload")) { error(lua_tostring(L, lua_gettop(L))); @@ -106,7 +106,7 @@ Value LUAQueryMapper::map(const std::string &mapper) throw(Exception) return v; } - PRACRO_DEBUG(querymapper, "Mapper: %s\n", mapper.c_str()); + DEBUG(querymapper, "Mapper: %s\n", mapper.c_str()); // Load the mapper if(luaL_loadbuffer(L, mapper.c_str(), mapper.size(), "mapper")) { @@ -150,8 +150,8 @@ Value LUAQueryMapper::map(const std::string &mapper) throw(Exception) v.value = lua_tostring(L, lua_gettop(L)); lua_pop(L, 1); - PRACRO_DEBUG(querymapper, "Result: value=%s, src=%s, time=%d\n", - v.value.c_str(), v.source.c_str(), (int)v.timestamp); + DEBUG(querymapper, "Result: value=%s, src=%s, time=%d\n", + v.value.c_str(), v.source.c_str(), (int)v.timestamp); return v; } @@ -189,7 +189,7 @@ std::string LUAQueryMapper::automap(const std::string &name) "end\n" "return value, timestamp, source\n"; - PRACRO_DEBUG(widget, "Automap:\n%s\n", automapstring.c_str()); + DEBUG(widget, "Automap:\n%s\n", automapstring.c_str()); return automapstring; } |