X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fanimated-mesh.cpp;h=cb88225c9f659c564df5bbb5ed7ac72e2c8aea2c;hb=41a6ad96e81a8d8153c54877c4c12f61100677a9;hp=80b6229d8adb941b85563029767dc4b6cd63a415;hpb=98052b04792129db97286fdd77ef3b0de8912286;p=guile-irrlicht.git diff --git a/src/animated-mesh.cpp b/src/animated-mesh.cpp index 80b6229..cb88225 100644 --- a/src/animated-mesh.cpp +++ b/src/animated-mesh.cpp @@ -24,10 +24,8 @@ #include "animated-mesh.h" #include "gsubr.h" - using namespace irr; - SCM IAnimatedMesh_setAnimationSpeed (SCM animated_mesh, SCM frames_per_second) @@ -37,13 +35,8 @@ IAnimatedMesh_setAnimationSpeed (SCM animated_mesh, return SCM_UNSPECIFIED; } - -extern "C" { - - void - init_animated_mesh (void) - { - DEFINE_GSUBR ("IAnimatedMesh_setAnimationSpeed", 2, 0, 0, IAnimatedMesh_setAnimationSpeed); - } - +void +init_animated_mesh (void) +{ + DEFINE_GSUBR ("IAnimatedMesh_setAnimationSpeed", 2, 0, 0, IAnimatedMesh_setAnimationSpeed); }