@@ -16,21 +16,19 @@ module flc_algorithm
16
16
private
17
17
18
18
! DECLARATION CONSTRUCTS
19
+ integer , parameter , public :: INDEX_INT = C_INT
20
+
19
21
type, bind(C) :: SwigArrayWrapper
20
22
type (C_PTR), public :: data = C_NULL_PTR
21
23
integer (C_SIZE_T), public :: size = 0
22
24
end type
23
- enum, bind(c)
24
- enumerator :: SWIG_NULL
25
- enumerator :: SWIG_OWN
26
- enumerator :: SWIG_MOVE
27
- enumerator :: SWIG_REF
28
- enumerator :: SWIG_CREF
29
- end enum
30
- integer , parameter :: SwigMemState = kind (SWIG_NULL)
25
+
26
+ integer , parameter :: swig_cmem_own_bit = 0
27
+ integer , parameter :: swig_cmem_rvalue_bit = 1
28
+ integer , parameter :: swig_cmem_const_bit = 2
31
29
type, bind(C) :: SwigClassWrapper
32
30
type (C_PTR), public :: cptr = C_NULL_PTR
33
- integer (C_INT), public :: mem = SWIG_NULL
31
+ integer (C_INT), public :: cmemflags = 0
34
32
end type
35
33
interface binary_search
36
34
module procedure swigf_binary_search__SWIG_1, swigf_binary_search__SWIG_2, swigf_binary_search__SWIG_3, &
@@ -746,7 +744,7 @@ subroutine swigf_argsort__SWIG_6(data, idx, cmp)
746
744
function swigf_binary_search__SWIG_1 (data , value ) &
747
745
result(swig_result)
748
746
use , intrinsic :: ISO_C_BINDING
749
- integer (C_INT ) :: swig_result
747
+ integer (INDEX_INT ) :: swig_result
750
748
integer (C_INT32_T), dimension (:), intent (in ), target :: data
751
749
integer (C_INT32_T), pointer :: farg1_view
752
750
integer (C_INT32_T), intent (in ) :: value
@@ -770,7 +768,7 @@ function swigf_binary_search__SWIG_1(data, value) &
770
768
function swigf_binary_search__SWIG_2 (data , value ) &
771
769
result(swig_result)
772
770
use , intrinsic :: ISO_C_BINDING
773
- integer (C_INT ) :: swig_result
771
+ integer (INDEX_INT ) :: swig_result
774
772
integer (C_INT64_T), dimension (:), intent (in ), target :: data
775
773
integer (C_INT64_T), pointer :: farg1_view
776
774
integer (C_INT64_T), intent (in ) :: value
@@ -794,7 +792,7 @@ function swigf_binary_search__SWIG_2(data, value) &
794
792
function swigf_binary_search__SWIG_3 (data , value ) &
795
793
result(swig_result)
796
794
use , intrinsic :: ISO_C_BINDING
797
- integer (C_INT ) :: swig_result
795
+ integer (INDEX_INT ) :: swig_result
798
796
real (C_DOUBLE), dimension (:), intent (in ), target :: data
799
797
real (C_DOUBLE), pointer :: farg1_view
800
798
real (C_DOUBLE), intent (in ) :: value
@@ -818,7 +816,7 @@ function swigf_binary_search__SWIG_3(data, value) &
818
816
function swigf_binary_search__SWIG_4 (data , value , cmp ) &
819
817
result(swig_result)
820
818
use , intrinsic :: ISO_C_BINDING
821
- integer (C_INT ) :: swig_result
819
+ integer (INDEX_INT ) :: swig_result
822
820
integer (C_INT32_T), dimension (:), intent (in ), target :: data
823
821
integer (C_INT32_T), pointer :: farg1_view
824
822
integer (C_INT32_T), intent (in ) :: value
@@ -845,7 +843,7 @@ function swigf_binary_search__SWIG_4(data, value, cmp) &
845
843
function swigf_binary_search__SWIG_5 (data , value , cmp ) &
846
844
result(swig_result)
847
845
use , intrinsic :: ISO_C_BINDING
848
- integer (C_INT ) :: swig_result
846
+ integer (INDEX_INT ) :: swig_result
849
847
integer (C_INT64_T), dimension (:), intent (in ), target :: data
850
848
integer (C_INT64_T), pointer :: farg1_view
851
849
integer (C_INT64_T), intent (in ) :: value
@@ -872,7 +870,7 @@ function swigf_binary_search__SWIG_5(data, value, cmp) &
872
870
function swigf_binary_search__SWIG_6 (data , value , cmp ) &
873
871
result(swig_result)
874
872
use , intrinsic :: ISO_C_BINDING
875
- integer (C_INT ) :: swig_result
873
+ integer (INDEX_INT ) :: swig_result
876
874
real (C_DOUBLE), dimension (:), intent (in ), target :: data
877
875
real (C_DOUBLE), pointer :: farg1_view
878
876
real (C_DOUBLE), intent (in ) :: value
0 commit comments