Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
7387c6d3
Commit
7387c6d3
authored
Dec 04, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rationalize error code values
VLC_GENERIC was particularly bad for RISC processors.
parent
b9f09547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
14 deletions
+9
-14
include/vlc_common.h
include/vlc_common.h
+9
-14
No files found.
include/vlc_common.h
View file @
7387c6d3
...
...
@@ -393,20 +393,15 @@ struct vlc_list_t
/*****************************************************************************
* Error values (shouldn't be exposed)
*****************************************************************************/
#define VLC_SUCCESS -0
/* No error */
#define VLC_ENOMEM -1
/* Not enough memory */
#define VLC_ETIMEOUT -3
/* Timeout */
#define VLC_ENOMOD -10
/* Module not found */
#define VLC_ENOOBJ -20
/* Object not found */
#define VLC_ENOVAR -30
/* Variable not found */
#define VLC_EBADVAR -31
/* Bad variable value */
#define VLC_ENOITEM -40
/**< Item not found */
#define VLC_EGENERIC -666
/* Generic error */
#define VLC_SUCCESS (-0)
/**< No error */
#define VLC_EGENERIC (-1)
/**< Unspecified error */
#define VLC_ENOMEM (-2)
/**< Not enough memory */
#define VLC_ETIMEOUT (-3)
/**< Timeout */
#define VLC_ENOMOD (-4)
/**< Module not found */
#define VLC_ENOOBJ (-5)
/**< Object not found */
#define VLC_ENOVAR (-6)
/**< Variable not found */
#define VLC_EBADVAR (-7)
/**< Bad variable value */
#define VLC_ENOITEM (-8)
/**< Item not found */
/*****************************************************************************
* Variable callbacks
...
...
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