Commit 7c9a673
committed
Fix error with cffi version 1.16 and newer
cffi seems to have started verifying that the cdef and the c compiler
agree on struct sizes. The sizes for the tr_{tcp,ssh}_config structs did
not match anymore with current rtrlib versions.
Fix this by making the size variable in the cdef so cffi asks the c
compiler about the size.1 parent 06e68c7 commit 7c9a673
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
758 | 759 | | |
759 | 760 | | |
760 | 761 | | |
| 762 | + | |
761 | 763 | | |
0 commit comments