mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
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:
parent
016659f22a
commit
23ab337f5c
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user