use the 'arg' class instead of the deprecated 'args' for boost::python docs http://www.boost.org/doc/libs/1_40_0/libs/python/doc/v2/args.html

This commit is contained in:
Dane Springmeyer 2009-09-25 17:38:38 +00:00
parent 016659f22a
commit 23ab337f5c

View File

@ -148,7 +148,7 @@ void export_map()
class_<Map>("Map","The map object.",init<int,int,optional<std::string const&> >(
#if BOOST_VERSION >= 103500
args("self","width","height","srs"),
( args("self"),arg("width"),arg("height"),arg("srs") ),
#endif
"Create a Map with a width and height as integers and, optionally,\n"
"an srs string either with a Proj.4 epsg code ('+init=epsg:<code>')\n"