Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
cpp-libs
libnice
Commits
92aa3d5d
Commit
92aa3d5d
authored
May 26, 2022
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version: Add NICE_CHECK_VERSION to the documentation
parent
e6a8215a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
docs/reference/libnice/libnice-sections.txt
docs/reference/libnice/libnice-sections.txt
+1
-0
docs/reference/libnice/meson.build
docs/reference/libnice/meson.build
+1
-1
nice/nice.h
nice/nice.h
+12
-0
No files found.
docs/reference/libnice/libnice-sections.txt
View file @
92aa3d5d
...
...
@@ -59,6 +59,7 @@ nice_agent_get_component_state
nice_agent_close_async
nice_agent_consent_lost
nice_component_state_to_string
NICE_CHECK_VERSION
<SUBSECTION Standard>
NICE_AGENT
NICE_IS_AGENT
...
...
docs/reference/libnice/meson.build
View file @
92aa3d5d
...
...
@@ -41,7 +41,7 @@ gnome.gtkdoc('libnice',
main_xml: 'libnice-docs.xml',
namespace: 'nice',
mode: 'none',
src_dir: [agent_include, stun_include],
src_dir: [agent_include, stun_include
, nice_include
],
content_files: fake_makefile,
dependencies: libnice_dep,
scan_args: [
...
...
nice/nice.h
View file @
92aa3d5d
...
...
@@ -41,6 +41,18 @@
#include "nice-version.h"
/**
* NICE_CHECK_VERSION:
* @major: The major numbe of the version
* @minor: The major numbe of the version
* @micro: The major numbe of the version
*
* Macro that returns TRUE if the version if libnice that you are compiling
* against is greater or equal to the argument
*
* Since: 0.1.20
*/
#define NICE_CHECK_VERSION(major, minor, micro) \
(NICE_VERSION_MAJOR > (major) || \
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \
...
...
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