code formatting

This commit is contained in:
Dane Springmeyer 2011-11-13 19:54:32 -08:00
parent f5d0f8c351
commit 39d199aa49
55 changed files with 1072 additions and 1072 deletions

View file

@ -99,7 +99,7 @@ namespace boost { namespace python {
return boost::apply_visitor(value_converter(),v.base()); return boost::apply_visitor(value_converter(),v.base());
} }
}; };
}} }}
void render(const mapnik::Map& map, void render(const mapnik::Map& map,
mapnik::image_32& image, mapnik::image_32& image,
@ -119,7 +119,7 @@ void render(const mapnik::Map& map,
throw; throw;
} }
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
} }
void render_with_detector( void render_with_detector(
const mapnik::Map &map, const mapnik::Map &map,
@ -141,7 +141,7 @@ void render_with_detector(
throw; throw;
} }
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
} }
void render_layer2(const mapnik::Map& map, void render_layer2(const mapnik::Map& map,
mapnik::image_32& image, mapnik::image_32& image,
@ -170,7 +170,7 @@ void render_layer2(const mapnik::Map& map,
throw; throw;
} }
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
} }
#if defined(HAVE_CAIRO) && defined(HAVE_PYCAIRO) #if defined(HAVE_CAIRO) && defined(HAVE_PYCAIRO)
@ -192,7 +192,7 @@ void render3(const mapnik::Map& map,
throw; throw;
} }
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
} }
void render4(const mapnik::Map& map, PycairoSurface* surface) void render4(const mapnik::Map& map, PycairoSurface* surface)
{ {
@ -209,7 +209,7 @@ void render4(const mapnik::Map& map, PycairoSurface* surface)
throw; throw;
} }
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
} }
void render5(const mapnik::Map& map, void render5(const mapnik::Map& map,
PycairoContext* context, PycairoContext* context,
@ -229,7 +229,7 @@ void render5(const mapnik::Map& map,
throw; throw;
} }
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
} }
void render6(const mapnik::Map& map, PycairoContext* context) void render6(const mapnik::Map& map, PycairoContext* context)
{ {
@ -246,7 +246,7 @@ void render6(const mapnik::Map& map, PycairoContext* context)
throw; throw;
} }
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
} }
#endif #endif

View file

@ -63,7 +63,7 @@ namespace boost { namespace python {
} }
}; };
} }
} }
#endif // MAPNIK_PYTHON_BINDING_VALUE_CONVERTER_INCLUDED #endif // MAPNIK_PYTHON_BINDING_VALUE_CONVERTER_INCLUDED

View file

@ -259,7 +259,7 @@ int main ( int argc , char** argv)
"- demo256.png\n" "- demo256.png\n"
"Have a look!\n"; "Have a look!\n";
#if defined(HAVE_CAIRO) #if defined(HAVE_CAIRO)
Cairo::RefPtr<Cairo::ImageSurface> image_surface; Cairo::RefPtr<Cairo::ImageSurface> image_surface;
image_surface = Cairo::ImageSurface::create(Cairo::FORMAT_ARGB32, m.width(),m.height()); image_surface = Cairo::ImageSurface::create(Cairo::FORMAT_ARGB32, m.width(),m.height());
@ -285,7 +285,7 @@ int main ( int argc , char** argv)
"- cairo-demo.pdf\n" "- cairo-demo.pdf\n"
"- cairo-demo.svg\n" "- cairo-demo.svg\n"
"Have a look!\n"; "Have a look!\n";
#endif #endif
} }
catch ( const mapnik::config_error & ex ) catch ( const mapnik::config_error & ex )