File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 15
15
* Macro definitions
16
16
* ------------------------------------------------------------------------- */
17
17
18
- %define EXTEND_STD_VECTOR_POD (CTYPE)
18
+ %define %flc_extend_vector_pod (CTYPE)
19
19
%apply (const SWIGTYPE *DATA, ::size_t SIZE)
20
20
{ (const CTYPE* DATA, size_type SIZE) };
21
21
50
50
* These provide an efficient constructor from a Fortan array view. It also
51
51
* offers a "view" functionality for getting an array pointer to the
52
52
* vector-owned data.
53
+ *
54
+ * This definition is considered part of the \em public API so that downstream
55
+ * apps that generate FLC-based bindings can instantiate their own POD vectors.
53
56
*/
54
57
%define %specialize_std_vector_pod(T)
55
58
@@ -62,7 +65,7 @@ namespace std {
62
65
SWIG_STD_VECTOR_COMMON (T, const T&)
63
66
SWIG_STD_VECTOR_REF (T)
64
67
%extend {
65
- EXTEND_STD_VECTOR_POD (T)
68
+ % flc_extend_vector_pod (T)
66
69
}
67
70
};
68
71
}
You can’t perform that action at this time.
0 commit comments