25
25
/// SWIFTSCAN_VERSION_MINOR should increase when there are API additions.
26
26
/// SWIFTSCAN_VERSION_MAJOR is intended for "major" source/ABI breaking changes.
27
27
#define SWIFTSCAN_VERSION_MAJOR 0
28
- #define SWIFTSCAN_VERSION_MINOR 9
28
+ #define SWIFTSCAN_VERSION_MINOR 10
29
29
30
30
SWIFTSCAN_BEGIN_DECLS
31
31
@@ -46,6 +46,9 @@ typedef struct swiftscan_module_details_s *swiftscan_module_details_t;
46
46
/// Opaque container to a dependency info of a given module.
47
47
typedef struct swiftscan_dependency_info_s * swiftscan_dependency_info_t ;
48
48
49
+ /// Opaque container to a link library info.
50
+ typedef struct swiftscan_link_library_info_s * swiftscan_link_library_info_t ;
51
+
49
52
/// Opaque container to an overall result of a dependency scan.
50
53
typedef struct swiftscan_dependency_graph_s * swiftscan_dependency_graph_t ;
51
54
@@ -64,6 +67,12 @@ typedef struct {
64
67
size_t count ;
65
68
} swiftscan_dependency_set_t ;
66
69
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
+
67
76
typedef enum {
68
77
SWIFTSCAN_DIAGNOSTIC_SEVERITY_ERROR = 0 ,
69
78
SWIFTSCAN_DIAGNOSTIC_SEVERITY_WARNING = 1 ,
@@ -127,9 +136,21 @@ swiftscan_module_info_get_source_files(swiftscan_dependency_info_t info);
127
136
SWIFTSCAN_PUBLIC swiftscan_string_set_t *
128
137
swiftscan_module_info_get_direct_dependencies (swiftscan_dependency_info_t info );
129
138
139
+ SWIFTSCAN_PUBLIC swiftscan_link_library_set_t *
140
+ swiftscan_module_info_get_link_libraries (swiftscan_dependency_info_t info );
141
+
130
142
SWIFTSCAN_PUBLIC swiftscan_module_details_t
131
143
swiftscan_module_info_get_details (swiftscan_dependency_info_t info );
132
144
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
+
133
154
//=== Dependency Module Info Details Functions ----------------------------===//
134
155
135
156
SWIFTSCAN_PUBLIC swiftscan_dependency_info_kind_t
0 commit comments