summaryrefslogtreecommitdiff
path: root/lib/superfox/qpc/qpc_mod.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /lib/superfox/qpc/qpc_mod.f90
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'lib/superfox/qpc/qpc_mod.f90')
-rwxr-xr-xlib/superfox/qpc/qpc_mod.f9076
1 files changed, 38 insertions, 38 deletions
diff --git a/lib/superfox/qpc/qpc_mod.f90 b/lib/superfox/qpc/qpc_mod.f90
index 931e5b3d..069c77b1 100755
--- a/lib/superfox/qpc/qpc_mod.f90
+++ b/lib/superfox/qpc/qpc_mod.f90
@@ -1,38 +1,38 @@
-module qpc_mod
- interface
- integer(c_int32_t) function nhash2 (xin, length, initval) bind(C, &
- name="nhash2")
- use iso_c_binding, only: c_signed_char, c_int64_t, c_int32_t
- integer(c_int64_t), intent(in), value :: length
- integer(c_signed_char), intent(in) :: xin(length)
- integer(c_int32_t), intent(in), value :: initval
- end function nhash2
- end interface
-
- interface
- subroutine qpc_encode(y, xin) bind(C,name="qpc_encode")
- use iso_c_binding, only: c_ptr, c_signed_char
- integer(c_signed_char), intent(out) :: y(127)
- integer(c_signed_char), intent(in) :: xin(50)
- end subroutine qpc_encode
- end interface
-
- interface
- subroutine qpc_channel(yout, y, EsNo) bind(C,name="qpc_channel")
- use iso_c_binding, only: c_float_complex, c_float, c_signed_char
- complex(c_float_complex), intent(out) :: yout(128,128)
- integer(c_signed_char), intent(out) :: y(127)
- real(c_float), intent(in), value :: EsNo
- end subroutine qpc_channel
- end interface
-
- interface
- subroutine qpc_decode(xdec, ydec, py) bind(C,name="qpc_decode")
- use iso_c_binding, only: c_float, c_signed_char
- real(c_float), intent(in) :: py(128,128)
- integer(c_signed_char), intent(out) :: ydec(127)
- integer(c_signed_char), intent(out) :: xdec(50)
- end subroutine qpc_decode
- end interface
-
-end module qpc_mod
+module qpc_mod
+ interface
+ integer(c_int32_t) function nhash2 (xin, length, initval) bind(C, &
+ name="nhash2")
+ use iso_c_binding, only: c_signed_char, c_int64_t, c_int32_t
+ integer(c_int64_t), intent(in), value :: length
+ integer(c_signed_char), intent(in) :: xin(length)
+ integer(c_int32_t), intent(in), value :: initval
+ end function nhash2
+ end interface
+
+ interface
+ subroutine qpc_encode(y, xin) bind(C,name="qpc_encode")
+ use iso_c_binding, only: c_ptr, c_signed_char
+ integer(c_signed_char), intent(out) :: y(127)
+ integer(c_signed_char), intent(in) :: xin(50)
+ end subroutine qpc_encode
+ end interface
+
+ interface
+ subroutine qpc_channel(yout, y, EsNo) bind(C,name="qpc_channel")
+ use iso_c_binding, only: c_float_complex, c_float, c_signed_char
+ complex(c_float_complex), intent(out) :: yout(128,128)
+ integer(c_signed_char), intent(out) :: y(127)
+ real(c_float), intent(in), value :: EsNo
+ end subroutine qpc_channel
+ end interface
+
+ interface
+ subroutine qpc_decode(xdec, ydec, py) bind(C,name="qpc_decode")
+ use iso_c_binding, only: c_float, c_signed_char
+ real(c_float), intent(in) :: py(128,128)
+ integer(c_signed_char), intent(out) :: ydec(127)
+ integer(c_signed_char), intent(out) :: xdec(50)
+ end subroutine qpc_decode
+ end interface
+
+end module qpc_mod