<commit_before>#include <boost/python.hpp>
#include <boost/cstdint.hpp>

#include <Magick++/Geometry.h>


void __Geometry()
{
	boost::python::class_< Magick::Geometry >("Geometry", boost::python::init<  >())
        .def(boost::python::init< unsigned int, unsigned int, boost::python::optional< unsigned int, unsigned int, bool, bool > >())
        .def(boost::python::init< const std::string& >())
        .def(boost::python::init< const char* >())
        .def(boost::python::init< const Magick::Geometry& >())
        .def("width", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::width)
        .def("width", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::width)
        .def("height", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::height)
        .def("height", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::height)
#if 0
        .def("xOff", (void (Magick::Geometry::*)(ssize_t) )&Magick::Geometry::xOff)
        .def("xOff", (ssize_t (Magick::Geometry::*)() const)&Magick::Geometry::xOff)
        .def("yOff", (void (Magick::Geometry::*)(ssize_t) )&Magick::Geometry::yOff)
        .def("yOff", (ssize_t (Magick::Geometry::*)() const)&Magick::Geometry::yOff)
#endif
        .def("xNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::xNegative)
        .def("xNegative", (bool (Magick::Geometry::*)() const)&Magick::Geometry::xNegative)
        .def("yNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::yNegative)<commit_msg>porting from ImageMagick-API to GraphicsMagick-API<commit_after>#include <boost/python.hpp>
#include <boost/cstdint.hpp>

#include <Magick++/Geometry.h>


void __Geometry()
{
	boost::python::class_< Magick::Geometry >("Geometry", boost::python::init<  >())
        .def(boost::python::init< unsigned int, unsigned int, boost::python::optional< unsigned int, unsigned int, bool, bool > >())
        .def(boost::python::init< const std::string& >())
        .def(boost::python::init< const char* >())
        .def(boost::python::init< const Magick::Geometry& >())
        .def("width", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::width)
        .def("width", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::width)
        .def("height", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::height)
        .def("height", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::height)
        .def("xOff", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::xOff)
        .def("xOff", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::xOff)
        .def("yOff", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::yOff)
        .def("yOff", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::yOff)
        .def("xNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::xNegative)
        .def("xNegative", (bool (Magick::Geometry::*)() const)&Magick::Geometry::xNegative)
        .def("yNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::yNegative)
{'fraction_non_alphanumeric': 0.23071852340145024, 'fraction_numerical': 0.0003295978905735003, 'mean_word_length': 5.430084745762712, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6391650', 'n_tokens_mistral': 1021, 'n_tokens_neox': 1003, 'n_words': 164}