X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fwchar.cpp;fp=src%2Fwchar.cpp;h=0000000000000000000000000000000000000000;hb=357f279e004c6257a160205835c06c283d317ef7;hp=e9c98ed8478d305bcd40bf1bc396d3db85c4156b;hpb=384a8fb56d8500dc3551085191a39c9da70e221c;p=guile-irrlicht.git diff --git a/src/wchar.cpp b/src/wchar.cpp deleted file mode 100644 index e9c98ed..0000000 --- a/src/wchar.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* guile-irrlicht --- GNU Guile bindings for Irrlicht Engine - - Copyright (C) 2020 Javier Sancho - - This file is part of guile-irrlicht. - - guile-irrlicht is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation; either version 3 of the - License, or (at your option) any later version. - - guile-irrlicht is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with guile-irrlicht. If not, see - . -*/ - -#include -#include -#include "wchar.h" - -SCM -scm_from_wide_char_string (const wchar_t* text) -{ - return scm_from_utf32_string ((const scm_t_wchar*) text); -} - -const wchar_t* -scm_to_wide_char_string (SCM text) -{ - return (const wchar_t*) scm_to_utf32_string (text); -}