Commit 4450461
committed
Silence swig warning about director method
We expose the get_async_stop method which we should only use internally
and swig gets upset about it. Hide it with an ifdef
[29/218] Swig compile ovpncli.i for python
/Users/arne/ovpn/ovpn3-build/ovpn3/core/client/ovpncli.hpp:755: Warning 473: Returning a reference, pointer or pointer wrapper in a director method is not recommended.
Signed-off-by: Arne Schwabe <arne@openvpn.net>1 parent 87384b9 commit 4450461
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
755 | 758 | | |
| 759 | + | |
756 | 760 | | |
757 | 761 | | |
758 | 762 | | |
| |||
0 commit comments