Changeset 1080

Show
Ignore:
Timestamp:
04/07/09 19:17:57 (17 months ago)
Author:
dane
Message:

Add argument aliases to init method for easier/more understandable introspection - addresses #29

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/mapnik_map.cpp

    r1031 r1080  
    146146      ; 
    147147     
    148    class_<Map>("Map","The map object.",init<int,int,optional<std::string const&> >( 
     148   class_<Map>("Map","The map object.",init<int,int,optional<std::string const&> >(args("Map","width","height","srs"), 
    149149                  "Create a Map with a width and height as integers and, optionally,\n" 
    150150                  "an srs string either with a Proj.4 epsg code ('+init=epsg:<code>')\n"