]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/animated-mesh-scene-node.cpp
clean code
[guile-irrlicht.git] / src / animated-mesh-scene-node.cpp
index 498a196529e513d62c2d8828a88fd57958063f9f..3496b3a7b32ae53c4df3c35926d0321e787acd40 100644 (file)
 #include "animated-mesh-scene-node.h"
 #include "gsubr.h"
 
-
 using namespace irr;
 
-
 SCM
 IAnimatedMeshSceneNode_setFrameLoop (SCM animated_mesh_scene_node,
                                      SCM begin,
@@ -40,7 +38,6 @@ IAnimatedMeshSceneNode_setFrameLoop (SCM animated_mesh_scene_node,
                    scm_to_int32 (end)));
 }
 
-
 SCM
 IAnimatedMeshSceneNode_setMD2Animation (SCM animated_mesh_scene_node,
                                         SCM anim)
@@ -50,16 +47,11 @@ IAnimatedMeshSceneNode_setMD2Animation (SCM animated_mesh_scene_node,
      setMD2Animation (scm_to_md2_animation_type (anim)));
 }
 
-
-extern "C" {
-
-  void
-  init_animated_mesh_scene_node (void)
-  {
-    DEFINE_GSUBR ("IAnimatedMeshSceneNode_setFrameLoop", 3, 0, 0,
-                  IAnimatedMeshSceneNode_setFrameLoop);
-    DEFINE_GSUBR ("IAnimatedMeshSceneNode_setMD2Animation", 2, 0, 0,
-                  IAnimatedMeshSceneNode_setMD2Animation);
-  }
-
+void
+init_animated_mesh_scene_node (void)
+{
+  DEFINE_GSUBR ("IAnimatedMeshSceneNode_setFrameLoop", 3, 0, 0,
+                IAnimatedMeshSceneNode_setFrameLoop);
+  DEFINE_GSUBR ("IAnimatedMeshSceneNode_setMD2Animation", 2, 0, 0,
+                IAnimatedMeshSceneNode_setMD2Animation);
 }