diff options
author | Marvin W <git@larma.de> | 2021-04-11 15:12:26 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-04-11 15:13:22 +0200 |
commit | e9ff660537f7c00281395f8a001f7554e116efff (patch) | |
tree | 9b97c2cb7ce1e9f600a0d865f38063b22824e52d /plugins/ice/vapi | |
parent | 369755781e4d4fae2f6d790b93ba824e7e049c33 (diff) | |
download | dino-e9ff660537f7c00281395f8a001f7554e116efff.tar.gz dino-e9ff660537f7c00281395f8a001f7554e116efff.zip |
Fix usage of old libnice versions
Diffstat (limited to 'plugins/ice/vapi')
-rw-r--r-- | plugins/ice/vapi/metadata/Nice-0.1.metadata | 3 | ||||
-rw-r--r-- | plugins/ice/vapi/nice.vapi | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/ice/vapi/metadata/Nice-0.1.metadata b/plugins/ice/vapi/metadata/Nice-0.1.metadata index d6899f87..7fcf046a 100644 --- a/plugins/ice/vapi/metadata/Nice-0.1.metadata +++ b/plugins/ice/vapi/metadata/Nice-0.1.metadata @@ -6,3 +6,6 @@ Agent.send.buf type="uint8[]" array_length_idx=2 AgentRecvFunc.buf type="uint8[]" array_length_idx=3 PseudoTcpCallbacks#record skip PseudoTcpSocket#class skip + +# Not yet supported by vapigen +# Candidate copy_function="nice_candidate_copy" free_function="nice_candidate_free" type_id="" diff --git a/plugins/ice/vapi/nice.vapi b/plugins/ice/vapi/nice.vapi index 39768b9b..540e2b4e 100644 --- a/plugins/ice/vapi/nice.vapi +++ b/plugins/ice/vapi/nice.vapi @@ -164,7 +164,7 @@ namespace Nice { [Version (since = "0.1.5")] public signal void streams_removed ([CCode (array_length = false, array_null_terminated = true)] uint[] stream_ids); } - [CCode (cheader_filename = "nice.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "nice_candidate_get_type ()")] + [CCode (cheader_filename = "nice.h", copy_function = "nice_candidate_copy", free_function = "nice_candidate_free")] [Compact] public class Candidate { public Nice.Address addr; |