Ticket #587 (closed defect: fixed)
Optional new names for Mapscript classes
|Reported by:||sgillies@…||Owned by:||sgillies@…|
Am going to support an experimental change in Mapscript class names that is controlled with a preprocessor symbol NEXT_GENERATION_CLASSES. Will use it like swig -python -shadow -DNEXT_GENERATION_CLASSES mapscript.i And if the symbol is defined we will rename layeroObj -> Layer mapObj -> Map et cetera. I'll also write a new layerObj.getShape method that is like the PHP-Mapscript method which will be used if we've defined NEXT_GENERATION_CLASSES. Nothing else changes so it won't break compatibility with the general SWIG documentation.
Note: See TracTickets for help on using tickets.