Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
608e246f
Commit
608e246f
authored
Mar 22, 2013
by
Erik de Castro Lopo
Browse files
Rename all 'utf8_io' -> 'win_utf8_io'.
parent
5705b4d7
Changes
5
Hide whitespace changes
Inline
Side-by-side
FLAC.sln
View file @
608e246f
...
...
@@ -158,7 +158,7 @@ EndProject
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "utf8_static", "src\share\utf8\utf8_static.vcproj", "{4cefbc92-c215-11db-8314-0800200c9a66}"
EndProject
EndProject
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "utf8_io", "src\share\utf8_io\utf8_io.vcproj", "{4cefbe02-c215-11db-8314-0800200c9a66}"
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "
win_
utf8_io", "src\share\
win_
utf8_io\
win_
utf8_io.vcproj", "{4cefbe02-c215-11db-8314-0800200c9a66}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
...
...
include/share/compat.h
View file @
608e246f
...
...
@@ -142,7 +142,7 @@
#endif
/* defined _MSC_VER */
#ifdef FLAC__STRINGS_IN_UTF8
/* all char* strings are in UTF-8 format. Added to support Unicode files on Windows */
#include "share/utf8_io.h"
#include "share/
win_
utf8_io.h"
#define flac_printf printf_utf8
#define flac_fprintf fprintf_utf8
...
...
include/share/utf8_io.h
→
include/share/
win_
utf8_io.h
View file @
608e246f
#ifdef FLAC__STRINGS_IN_UTF8
#ifndef flac__utf8_io_h
#define flac__utf8_io_h
#ifndef flac__
win_
utf8_io_h
#define flac__
win_
utf8_io_h
#ifdef __cplusplus
extern
"C"
{
...
...
src/share/utf8_io/utf8_io.c
→
src/share/
win_
utf8_io/
win_
utf8_io.c
View file @
608e246f
...
...
@@ -9,6 +9,8 @@
#include <stdarg.h>
#include <windows.h>
/* for WideCharToMultiByte and MultiByteToWideChar */
#include "share/win_utf8_io.h"
/* convert WCHAR stored Unicode string to UTF-8. Caller is responsible for freeing memory */
char
*
utf8_from_wchar
(
const
wchar_t
*
wstr
)
{
...
...
src/share/utf8_io/utf8_io.vcproj
→
src/share/
win_
utf8_io/
win_
utf8_io.vcproj
View file @
608e246f
...
...
@@ -2,9 +2,9 @@
<VisualStudioProject
ProjectType=
"Visual C++"
Version=
"8.00"
Name=
"utf8_io"
Name=
"
win_
utf8_io"
ProjectGUID=
"{4cefbe02-c215-11db-8314-0800200c9a66}"
RootNamespace=
"utf8_io"
RootNamespace=
"
win_
utf8_io"
Keyword=
"Win32Proj"
>
<Platforms>
...
...
@@ -222,7 +222,7 @@
Name=
"Public Header Files"
>
<File
RelativePath=
"..\..\..\include\share\utf8_io.h"
RelativePath=
"..\..\..\include\share\
win_
utf8_io.h"
>
</File>
</Filter>
...
...
@@ -232,7 +232,7 @@
UniqueIdentifier=
"{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=
".\utf8_io.c"
RelativePath=
".\
win_
utf8_io.c"
>
</File>
</Filter>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment