Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Olivier Crête
libnice
Commits
d9950548
Commit
d9950548
authored
Jun 30, 2014
by
Philip Withnall
Committed by
Olivier Crête
Jul 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent: Add missing (element-type) annotations to gtk-doc comments
These make the GSLists usable from introspection.
parent
a35bc947
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
agent/agent.h
agent/agent.h
+11
-9
agent/interfaces.h
agent/interfaces.h
+4
-2
No files found.
agent/agent.h
View file @
d9950548
...
...
@@ -596,7 +596,8 @@ nice_agent_get_local_credentials (
* @agent: The #NiceAgent Object
* @stream_id: The ID of the stream the candidates are for
* @component_id: The ID of the component the candidates are for
* @candidates: a #GSList of #NiceCandidate items describing each candidate to add
* @candidates: (element-type NiceCandidate) (transfer none): a #GSList of
* #NiceCandidate items describing each candidate to add
*
* Sets, adds or updates the remote candidates for a component of a stream.
*
...
...
@@ -744,8 +745,8 @@ nice_agent_send_messages_nonblocking (
</para>
</note>
*
* Returns:
a #GSList of #NiceCandidate objects representing
* the local candidates of @agent
* Returns:
(element-type NiceCandidate) (transfer full): a #GSList of
*
#NiceCandidate objects representing
the local candidates of @agent
**/
GSList
*
nice_agent_get_local_candidates
(
...
...
@@ -774,8 +775,8 @@ nice_agent_get_local_candidates (
</para>
</note>
*
* Returns:
a #GSList of #NiceCandidates objects representing
* the remote candidates set on the @agent
* Returns:
(element-type NiceCandidate) (transfer full): a #GSList of
*
#NiceCandidates objects representing
the remote candidates set on the @agent
**/
GSList
*
nice_agent_get_remote_candidates
(
...
...
@@ -1082,8 +1083,9 @@ nice_agent_get_selected_pair (
* of proxy, as in this case, the socket will not be available to the
* application because the packets are encapsulated.
*
* Returns: (transfer full) pointer to the #GSocket, or NULL if there is no
* selected candidate or if the selected candidate is a relayed candidate.
* Returns: (transfer full) (nullable): pointer to the #GSocket, or %NULL if
* there is no selected candidate or if the selected candidate is a relayed
* candidate.
*
* Since: 0.1.5
*/
...
...
@@ -1384,8 +1386,8 @@ nice_agent_parse_remote_sdp (
* <para>See also: nice_agent_parse_remote_sdp() </para>
* <para>See also: nice_agent_parse_remote_candidate_sdp() </para>
*
* Returns:
A #GSList of candidates parsed from the SDP, or %NULL in case
of
* errors
* Returns:
(element-type NiceCandidate) (transfer full): A #GSList
of
*
candidates parsed from the SDP, or %NULL in case of
errors
*
* Since: 0.1.4
**/
...
...
agent/interfaces.h
View file @
d9950548
...
...
@@ -58,7 +58,8 @@ gchar * nice_interfaces_get_ip_for_interface (gchar *interface_name);
*
* Get a list of local ipv4 interface addresses
*
* Returns: a newly-allocated #GList of strings. The caller must free it.
* Returns: (element-type utf8) (transfer full): a newly-allocated #GList of
* strings. The caller must free it.
*/
GList
*
nice_interfaces_get_local_ips
(
gboolean
include_loopback
);
...
...
@@ -69,7 +70,8 @@ GList * nice_interfaces_get_local_ips (gboolean include_loopback);
*
* Get the list of local interfaces
*
* Returns: a newly-allocated #GList of strings. The caller must free it.
* Returns: (element-type utf8) (transfer full): a newly-allocated #GList of
* strings. The caller must free it.
*/
GList
*
nice_interfaces_get_local_interfaces
(
void
);
...
...
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