File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Examples/test-suite/fortran Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ subroutine test_multiset_int
16
16
use li_std_set, only : multiset_int = > set_int
17
17
implicit none
18
18
type (multiset_int) :: s
19
- integer (c_size_t) :: num_erased
19
+ integer :: num_erased
20
20
21
21
s = multiset_int()
22
22
ASSERT(s% empty())
Original file line number Diff line number Diff line change 5
5
* keys.
6
6
* ------------------------------------------------------------------------- */
7
7
8
+ %include " std_common.i"
9
+
8
10
%{
9
11
#include < set>
10
12
%}
@@ -29,6 +31,9 @@ public:
29
31
public:
30
32
set ();
31
33
34
+ // - Use native Fortran integers in proxy code
35
+ %apply int FORTRAN_INT {size_type};
36
+
32
37
bool empty () const ;
33
38
size_type size () const ;
34
39
void clear ();
Original file line number Diff line number Diff line change 2
2
* std_set.i
3
3
* ------------------------------------------------------------------------- */
4
4
5
+ %include " std_common.i"
6
+
5
7
%{
6
8
#include < set>
7
9
%}
@@ -26,6 +28,9 @@ public:
26
28
public:
27
29
set ();
28
30
31
+ // - Use native Fortran integers in proxy code
32
+ %apply int FORTRAN_INT {size_type};
33
+
29
34
bool empty () const ;
30
35
size_type size () const ;
31
36
void clear ();
You can’t perform that action at this time.
0 commit comments