#include <libguile.h>
#include "dimension2d.h"
-extern "C" {
- irr::core::dimension2d<irr::u32>
- scm_to_dimension2d_u32 (SCM dimension2d)
- {
- return irr::core::dimension2d<irr::u32>
- (scm_to_uint32 (scm_car (dimension2d)),
- scm_to_uint32 (scm_cadr (dimension2d)));
- }
+using namespace irr;
+
+core::dimension2d<u32>
+scm_to_dimension2d_u32 (SCM dimension2d)
+{
+ return core::dimension2d<u32>
+ (scm_to_uint32 (scm_car (dimension2d)),
+ scm_to_uint32 (scm_cadr (dimension2d)));
}
#include <irrlicht/irrlicht.h>
#include <libguile.h>
-extern "C" {
-
- irr::core::dimension2d<irr::u32>
- scm_to_dimension2d_u32 (SCM dimension2d);
-
-}
+irr::core::dimension2d<irr::u32>
+scm_to_dimension2d_u32 (SCM dimension2d);
#endif