2525/// SWIFTSCAN_VERSION_MINOR should increase when there are API additions.
2626/// SWIFTSCAN_VERSION_MAJOR is intended for "major" source/ABI breaking changes.
2727#define SWIFTSCAN_VERSION_MAJOR 0
28- #define SWIFTSCAN_VERSION_MINOR 9
28+ #define SWIFTSCAN_VERSION_MINOR 10
2929
3030SWIFTSCAN_BEGIN_DECLS
3131
@@ -46,6 +46,9 @@ typedef struct swiftscan_module_details_s *swiftscan_module_details_t;
4646/// Opaque container to a dependency info of a given module.
4747typedef struct swiftscan_dependency_info_s * swiftscan_dependency_info_t ;
4848
49+ /// Opaque container to a link library info.
50+ typedef struct swiftscan_link_library_info_s * swiftscan_link_library_info_t ;
51+
4952/// Opaque container to an overall result of a dependency scan.
5053typedef struct swiftscan_dependency_graph_s * swiftscan_dependency_graph_t ;
5154
@@ -64,6 +67,12 @@ typedef struct {
6467 size_t count ;
6568} swiftscan_dependency_set_t ;
6669
70+ /// Set of linked libraries
71+ typedef struct {
72+ swiftscan_link_library_info_t * link_libraries ;
73+ size_t count ;
74+ } swiftscan_link_library_set_t ;
75+
6776typedef enum {
6877 SWIFTSCAN_DIAGNOSTIC_SEVERITY_ERROR = 0 ,
6978 SWIFTSCAN_DIAGNOSTIC_SEVERITY_WARNING = 1 ,
@@ -127,9 +136,21 @@ swiftscan_module_info_get_source_files(swiftscan_dependency_info_t info);
127136SWIFTSCAN_PUBLIC swiftscan_string_set_t *
128137swiftscan_module_info_get_direct_dependencies (swiftscan_dependency_info_t info );
129138
139+ SWIFTSCAN_PUBLIC swiftscan_link_library_set_t *
140+ swiftscan_module_info_get_link_libraries (swiftscan_dependency_info_t info );
141+
130142SWIFTSCAN_PUBLIC swiftscan_module_details_t
131143swiftscan_module_info_get_details (swiftscan_dependency_info_t info );
132144
145+ //=== Link Library Info Functions ------------------------------------===//
146+ SWIFTSCAN_PUBLIC swiftscan_string_ref_t
147+ swiftscan_link_library_info_get_link_name (
148+ swiftscan_link_library_info_t info );
149+ SWIFTSCAN_PUBLIC bool swiftscan_link_library_info_get_is_framework (
150+ swiftscan_link_library_info_t info );
151+ SWIFTSCAN_PUBLIC bool swiftscan_link_library_info_get_should_force_load (
152+ swiftscan_link_library_info_t info );
153+
133154//=== Dependency Module Info Details Functions ----------------------------===//
134155
135156SWIFTSCAN_PUBLIC swiftscan_dependency_info_kind_t
0 commit comments