Skip to content

Commit

Permalink
Merge pull request #1375 from bjtaylor1/master
Browse files Browse the repository at this point in the history
added lua binding for osmium::Way::id()
  • Loading branch information
DennisOSRM committed Apr 13, 2015
2 parents 725b93a + 129a6ed commit 1bfab4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extractor/scripting_environment.cpp
Expand Up @@ -118,6 +118,7 @@ void ScriptingEnvironment::init_lua_state(lua_State* lua_state)
luabind::class_<osmium::Way>("Way")
.def("get_value_by_key", &osmium::Way::get_value_by_key)
.def("get_value_by_key", &get_value_by_key<osmium::Way>)
.def("id", &osmium::Way::id)
];

if (0 != luaL_dofile(lua_state, file_name.c_str()))
Expand Down

0 comments on commit 1bfab4e

Please sign in to comment.