From bad02030afd140da5643b49a94ffff3395d013e4 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 21 Oct 2022 15:19:49 +0200 Subject: Python: Add more meta private tags --- wrappers/python/eduvpn_common/loader.py | 3 +++ wrappers/python/eduvpn_common/types.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'wrappers') diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py index f299f94..fc3d090 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -21,6 +21,8 @@ from eduvpn_common.types import ( def load_lib() -> CDLL: """The function that loads the Go shared library + :meta private: + :return: The Go shared library loaded with cdll.LoadLibrary from ctypes :rtype: CDLL """ @@ -61,6 +63,7 @@ def initialize_functions(lib: CDLL) -> None: :param lib: CDLL: The Go shared library + :meta private: """ # Exposed functions # We have to use c_void_p instead of c_char_p to free it properly diff --git a/wrappers/python/eduvpn_common/types.py b/wrappers/python/eduvpn_common/types.py index efecd2a..8ebae6a 100644 --- a/wrappers/python/eduvpn_common/types.py +++ b/wrappers/python/eduvpn_common/types.py @@ -37,7 +37,10 @@ class cServerLocations(Structure): class cDiscoveryOrganization(Structure): - """The C type that represents a Discovery Organization as returned by the Go library""" + """The C type that represents a Discovery Organization as returned by the Go library + + :meta private: + """ _fields_ = [ ("display_name", c_char_p), ("org_id", c_char_p), -- cgit v1.2.3