X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Ffile-system.cpp;h=204e25dabad0985bcd17662b552f3695eb5894f2;hb=41a6ad96e81a8d8153c54877c4c12f61100677a9;hp=5b872a5d1fbb5ffc9085c1ede2d25911c6544920;hpb=98052b04792129db97286fdd77ef3b0de8912286;p=guile-irrlicht.git diff --git a/src/file-system.cpp b/src/file-system.cpp index 5b872a5..204e25d 100644 --- a/src/file-system.cpp +++ b/src/file-system.cpp @@ -25,10 +25,8 @@ #include "file-system.h" #include "gsubr.h" - using namespace irr; - SCM IFileSystem_addFileArchive (SCM file_system, SCM filename, @@ -55,13 +53,8 @@ IFileSystem_addFileArchive (SCM file_system, retArchiveReference)); } - -extern "C" { - - void - init_file_system (void) - { - DEFINE_GSUBR ("IFileSystem_addFileArchive", 7, 0, 0, IFileSystem_addFileArchive); - } - +void +init_file_system (void) +{ + DEFINE_GSUBR ("IFileSystem_addFileArchive", 7, 0, 0, IFileSystem_addFileArchive); }