Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
5461148b
Commit
5461148b
authored
Sep 17, 2006
by
Pavlov Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport [16453] -> this should fix macosx/win32 builds.
parent
9365c388
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
include/charset.h
include/charset.h
+4
-3
include/vlc_symbols.h
include/vlc_symbols.h
+6
-0
src/misc/unicode.c
src/misc/unicode.c
+1
-1
No files found.
include/charset.h
View file @
5461148b
...
...
@@ -24,6 +24,8 @@
#ifndef __VLC_CHARSET_H
#define __VLC_CHARSET_H 1
#include <stdarg.h>
# ifdef __cplusplus
extern
"C"
{
# endif
...
...
@@ -42,9 +44,8 @@ VLC_EXPORT( int, utf8_stat, ( const char *filename, void *buf ) );
VLC_EXPORT
(
int
,
utf8_lstat
,
(
const
char
*
filename
,
void
*
buf
)
);
VLC_EXPORT
(
int
,
utf8_mkdir
,
(
const
char
*
filename
)
);
#ifndef __PLUGIN__
int
utf8_fprintf
(
FILE
*
,
const
char
*
,
...
);
#endif
VLC_EXPORT
(
int
,
utf8_vfprintf
,
(
FILE
*
stream
,
const
char
*
fmt
,
va_list
ap
)
);
VLC_EXPORT
(
int
,
utf8_fprintf
,
(
FILE
*
,
const
char
*
,
...
)
);
VLC_EXPORT
(
char
*
,
EnsureUTF8
,
(
char
*
)
);
VLC_EXPORT
(
const
char
*
,
IsUTF8
,
(
const
char
*
)
);
...
...
include/vlc_symbols.h
View file @
5461148b
...
...
@@ -493,6 +493,8 @@ struct module_symbols_t
char
*
(
*
encode_URI_component_inner
)
(
const
char
*
psz
);
size_t
(
*
vlc_strlcpy_inner
)
(
char
*
,
const
char
*
,
size_t
);
vlc_bool_t
(
*
input_AddSubtitles_inner
)
(
input_thread_t
*
,
char
*
,
vlc_bool_t
);
int
(
*
utf8_fprintf_inner
)
(
FILE
*
,
const
char
*
,
...);
int
(
*
utf8_vfprintf_inner
)
(
FILE
*
stream
,
const
char
*
fmt
,
va_list
ap
);
};
# if defined (__PLUGIN__)
# define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner
...
...
@@ -966,6 +968,8 @@ struct module_symbols_t
# define encode_URI_component (p_symbols)->encode_URI_component_inner
# define vlc_strlcpy (p_symbols)->vlc_strlcpy_inner
# define input_AddSubtitles (p_symbols)->input_AddSubtitles_inner
# define utf8_fprintf (p_symbols)->utf8_fprintf_inner
# define utf8_vfprintf (p_symbols)->utf8_vfprintf_inner
# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
/******************************************************************
* STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
...
...
@@ -1442,6 +1446,8 @@ struct module_symbols_t
((p_symbols)->encode_URI_component_inner) = encode_URI_component; \
((p_symbols)->vlc_strlcpy_inner) = vlc_strlcpy; \
((p_symbols)->input_AddSubtitles_inner) = input_AddSubtitles; \
((p_symbols)->utf8_fprintf_inner) = utf8_fprintf; \
((p_symbols)->utf8_vfprintf_inner) = utf8_vfprintf; \
(p_symbols)->net_ConvertIPv4_deprecated = NULL; \
(p_symbols)->__stats_CounterGet_deprecated = NULL; \
(p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \
...
...
src/misc/unicode.c
View file @
5461148b
...
...
@@ -556,7 +556,7 @@ static int utf8_vasprintf( char **str, const char *fmt, va_list ap )
return
res
;
}
static
int
utf8_vfprintf
(
FILE
*
stream
,
const
char
*
fmt
,
va_list
ap
)
int
utf8_vfprintf
(
FILE
*
stream
,
const
char
*
fmt
,
va_list
ap
)
{
char
*
str
;
int
res
=
utf8_vasprintf
(
&
str
,
fmt
,
ap
);
...
...
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