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
be639de2
Commit
be639de2
authored
Mar 22, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up vlc_iconv prototype
parent
57d2f991
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
include/vlc_common.h
include/vlc_common.h
+1
-1
include/vlc_symbols.h
include/vlc_symbols.h
+1
-1
src/extras/libc.c
src/extras/libc.c
+3
-2
No files found.
include/vlc_common.h
View file @
be639de2
...
...
@@ -1085,7 +1085,7 @@ VLC_EXPORT( char *, vlc_wraptext, ( const char *, int ) );
/* iconv wrappers (defined in src/extras/libc.c) */
typedef
void
*
vlc_iconv_t
;
VLC_EXPORT
(
vlc_iconv_t
,
vlc_iconv_open
,
(
const
char
*
,
const
char
*
)
);
VLC_EXPORT
(
size_t
,
vlc_iconv
,
(
vlc_iconv_t
,
char
**
,
size_t
*
,
char
**
,
size_t
*
)
);
VLC_EXPORT
(
size_t
,
vlc_iconv
,
(
vlc_iconv_t
,
c
onst
c
har
**
,
size_t
*
,
char
**
,
size_t
*
)
);
VLC_EXPORT
(
int
,
vlc_iconv_close
,
(
vlc_iconv_t
)
);
/* execve wrapper (defined in src/extras/libc.c) */
...
...
include/vlc_symbols.h
View file @
be639de2
...
...
@@ -188,7 +188,7 @@ struct module_symbols_t
char
**
(
*
vlc_parse_cmdline_inner
)
(
const
char
*
,
int
*
);
char
*
(
*
vlc_wraptext_inner
)
(
const
char
*
,
int
);
vlc_iconv_t
(
*
vlc_iconv_open_inner
)
(
const
char
*
,
const
char
*
);
size_t
(
*
vlc_iconv_inner
)
(
vlc_iconv_t
,
char
**
,
size_t
*
,
char
**
,
size_t
*
);
size_t
(
*
vlc_iconv_inner
)
(
vlc_iconv_t
,
c
onst
c
har
**
,
size_t
*
,
char
**
,
size_t
*
);
int
(
*
vlc_iconv_close_inner
)
(
vlc_iconv_t
);
char
*
(
*
vlc_dgettext_inner
)
(
const
char
*
package
,
const
char
*
msgid
);
demux_t
*
(
*
__demux2_New_inner
)
(
vlc_object_t
*
p_obj
,
char
*
psz_access
,
char
*
psz_demux
,
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
vlc_bool_t
);
...
...
src/extras/libc.c
View file @
be639de2
...
...
@@ -613,11 +613,12 @@ vlc_iconv_t vlc_iconv_open( const char *tocode, const char *fromcode )
#endif
}
size_t
vlc_iconv
(
vlc_iconv_t
cd
,
char
**
inbuf
,
size_t
*
inbytesleft
,
size_t
vlc_iconv
(
vlc_iconv_t
cd
,
c
onst
c
har
**
inbuf
,
size_t
*
inbytesleft
,
char
**
outbuf
,
size_t
*
outbytesleft
)
{
#if defined(HAVE_ICONV)
return
iconv
(
cd
,
inbuf
,
inbytesleft
,
outbuf
,
outbytesleft
);
return
iconv
(
cd
,
(
ICONV_CONST
char
**
)
inbuf
,
inbytesleft
,
outbuf
,
outbytesleft
);
#else
int
i_bytes
;
...
...
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