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 1515 * Macro definitions
1616 * ------------------------------------------------------------------------- */
1717
18- %define EXTEND_STD_VECTOR_POD (CTYPE)
18+ %define %flc_extend_vector_pod (CTYPE)
1919 %apply (const SWIGTYPE *DATA, ::size_t SIZE)
2020 { (const CTYPE* DATA, size_type SIZE) };
2121
5050 * These provide an efficient constructor from a Fortan array view. It also
5151 * offers a "view" functionality for getting an array pointer to the
5252 * 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.
5356 */
5457%define %specialize_std_vector_pod(T)
5558
@@ -62,7 +65,7 @@ namespace std {
6265 SWIG_STD_VECTOR_COMMON (T, const T&)
6366 SWIG_STD_VECTOR_REF (T)
6467 %extend {
65- EXTEND_STD_VECTOR_POD (T)
68+ % flc_extend_vector_pod (T)
6669 }
6770 };
6871}
You can’t perform that action at this time.
0 commit comments