Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Icecast-libshout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-libshout
Commits
c58290c4
Commit
c58290c4
authored
Feb 04, 2003
by
brendan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished shout_version()
svn path=/trunk/libshout/; revision=4319
parent
cbe71217
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
configure.in
configure.in
+4
-0
src/shout.c
src/shout.c
+7
-1
No files found.
configure.in
View file @
c58290c4
...
...
@@ -5,6 +5,10 @@ LIBSHOUT_MAJOR=2
LIBSHOUT_MINOR=0
LIBSHOUT_MICRO=0
AC_DEFINE_UNQUOTED([LIBSHOUT_MAJOR], [$LIBSHOUT_MAJOR], ["Shout library major version"])
AC_DEFINE_UNQUOTED([LIBSHOUT_MINOR], [$LIBSHOUT_MINOR], ["Shout library minor version"])
AC_DEFINE_UNQUOTED([LIBSHOUT_MICRO], [$LIBSHOUT_MICRO], ["Shout library patch version"])
if test "$LIBSHOUT_MICRO" != 0
then
VERSION=$LIBSHOUT_MAJOR.$LIBSHOUT_MINOR.$LIBSHOUT_MICRO
...
...
src/shout.c
View file @
c58290c4
...
...
@@ -341,9 +341,15 @@ int shout_set_metadata(shout_t *self, shout_metadata_t *metadata)
}
/* getters/setters */
/* TODO: Add major/minor/patch support */
const
char
*
shout_version
(
int
*
major
,
int
*
minor
,
int
*
patch
)
{
if
(
major
)
*
major
=
LIBSHOUT_MAJOR
;
if
(
minor
)
*
minor
=
LIBSHOUT_MINOR
;
if
(
patch
)
*
patch
=
LIBSHOUT_MICRO
;
return
VERSION
;
}
...
...
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