@@ -24,10 +24,10 @@ lua_tagtransform_t::lua_tagtransform_t(std::string const *tag_transform_script,
2424 lua_tostring (lua_state (), -1 ));
2525 }
2626
27- check_lua_function_exists (node_func );
28- check_lua_function_exists (way_func );
29- check_lua_function_exists (rel_func );
30- check_lua_function_exists (rel_mem_func );
27+ check_lua_function_exists (NODE_FUNC );
28+ check_lua_function_exists (WAY_FUNC );
29+ check_lua_function_exists (REL_FUNC );
30+ check_lua_function_exists (REL_MEM_FUNC );
3131}
3232
3333std::unique_ptr<tagtransform_t > lua_tagtransform_t::clone () const
@@ -86,13 +86,13 @@ bool lua_tagtransform_t::filter_tags(osmium::OSMObject const &o, bool *polygon,
8686{
8787 switch (o.type ()) {
8888 case osmium::item_type::node:
89- lua_getglobal (lua_state (), node_func );
89+ lua_getglobal (lua_state (), NODE_FUNC );
9090 break ;
9191 case osmium::item_type::way:
92- lua_getglobal (lua_state (), way_func );
92+ lua_getglobal (lua_state (), WAY_FUNC );
9393 break ;
9494 case osmium::item_type::relation:
95- lua_getglobal (lua_state (), rel_func );
95+ lua_getglobal (lua_state (), REL_FUNC );
9696 break ;
9797 default :
9898 throw std::runtime_error{" Unknown OSM type." };
@@ -153,7 +153,7 @@ bool lua_tagtransform_t::filter_rel_member_tags(
153153 bool *roads, taglist_t *out_tags)
154154{
155155 size_t const num_members = member_roles.size ();
156- lua_getglobal (lua_state (), rel_mem_func );
156+ lua_getglobal (lua_state (), REL_MEM_FUNC );
157157
158158 lua_newtable (lua_state ()); /* relations key value table */
159159
0 commit comments