%module irrlicht %{ #include using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; %} typedef int s32; typedef unsigned int u32; typedef float f32; typedef double f64; %rename(add) operator+; %rename(substract) operator-; %rename(product) operator*; %rename(divide) operator/; %rename(equal) operator==; %ignore operator+=; %ignore operator-=; %ignore operator*=; %ignore operator/=; %ignore operator!=; %include dimension2d.h %template(dimension2df) irr::core::dimension2d; %template(dimension2ds) irr::core::dimension2d; %template(dimension2du) irr::core::dimension2d; %rename("%(undercase)s", %$not %$isconstant, %$not %$isenumitem) ""; %feature("constasvar"); %include EDriverTypes.h %include IrrCompileConfig.h %include irrlicht.h %scheme %{ (load-extension "libguile-irrlicht" "scm_init_irrlicht_module") %}