Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
33692d21
Commit
33692d21
authored
Nov 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation of set_text_domain() macro
parent
e4a026f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
include/vlc_plugin.h
include/vlc_plugin.h
+4
-1
src/modules/entry.c
src/modules/entry.c
+5
-0
No files found.
include/vlc_plugin.h
View file @
33692d21
...
@@ -52,6 +52,7 @@ enum vlc_module_properties
...
@@ -52,6 +52,7 @@ enum vlc_module_properties
VLC_MODULE_SHORTNAME
,
VLC_MODULE_SHORTNAME
,
VLC_MODULE_DESCRIPTION
,
VLC_MODULE_DESCRIPTION
,
VLC_MODULE_HELP
,
VLC_MODULE_HELP
,
VLC_MODULE_TEXTDOMAIN
,
/* Insert new VLC_MODULE_* here */
/* Insert new VLC_MODULE_* here */
/* DO NOT EVER REMOVE, INSERT OR REPLACE ANY ITEM! It would break the ABI!
/* DO NOT EVER REMOVE, INSERT OR REPLACE ANY ITEM! It would break the ABI!
...
@@ -234,7 +235,9 @@ enum vlc_module_properties
...
@@ -234,7 +235,9 @@ enum vlc_module_properties
if (vlc_module_set (p_submodule, VLC_MODULE_NO_UNLOAD)) \
if (vlc_module_set (p_submodule, VLC_MODULE_NO_UNLOAD)) \
goto error;
goto error;
#define set_text_domain( dom ) domain = (dom);
#define set_text_domain( dom ) \
if (vlc_module_set (p_module, VLC_MODULE_TEXTDOMAIN, (dom))) \
goto error;
/*****************************************************************************
/*****************************************************************************
* Macros used to build the configuration structure.
* Macros used to build the configuration structure.
...
...
src/modules/entry.c
View file @
33692d21
...
@@ -237,6 +237,11 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
...
@@ -237,6 +237,11 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
module
->
psz_help
=
va_arg
(
ap
,
char
*
);
module
->
psz_help
=
va_arg
(
ap
,
char
*
);
break
;
break
;
case
VLC_MODULE_TEXTDOMAIN
:
(
void
)
va_arg
(
ap
,
const
char
*
);
/* FIXME: not implemented */
break
;
case
VLC_CONFIG_NAME
:
case
VLC_CONFIG_NAME
:
{
{
const
char
*
name
=
va_arg
(
ap
,
const
char
*
);
const
char
*
name
=
va_arg
(
ap
,
const
char
*
);
...
...
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