From 8721d9a140c033cc54219ace4db1e4eebd7f9dd3 Mon Sep 17 00:00:00 2001 From: Clonkk Date: Thu, 5 Nov 2020 18:02:10 +0100 Subject: [PATCH] Bump nimble & uses arraymancer v0.6.1 Moved doc --- fftw3.nimble | 4 +-- index.html | 2 +- src/fftw3.nim | 8 +++--- {htmldocs => src/htmldocs}/fftw3.html | 30 +++++++++++------------ {htmldocs => src/htmldocs}/nimdoc.out.css | 0 5 files changed, 22 insertions(+), 22 deletions(-) rename {htmldocs => src/htmldocs}/fftw3.html (98%) rename {htmldocs => src/htmldocs}/nimdoc.out.css (100%) diff --git a/fftw3.nimble b/fftw3.nimble index a370131..ea2f03f 100644 --- a/fftw3.nimble +++ b/fftw3.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.6" +version = "0.2.7" author = "rcaillaud" description = "Nim FFTW bindings" license = "LGPL-2.1" @@ -10,4 +10,4 @@ srcDir = "src" # Dependencies requires "nim >= 1.2.0" -requires "arraymancer >= 0.5.2" +requires "arraymancer >= 0.6.1" diff --git a/index.html b/index.html index e5ad682..e42a81b 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - + diff --git a/src/fftw3.nim b/src/fftw3.nim index c38c12f..f4d03d7 100644 --- a/src/fftw3.nim +++ b/src/fftw3.nim @@ -47,7 +47,7 @@ import arraymancer import sequtils import complex -import arraymancer/../tensor/private/p_accessors +import arraymancer/tensor/private/p_accessors when defined(windows): @@ -581,11 +581,11 @@ proc fftw_print_plan*(p: fftw_plan) {.cdecl, importc: "fftw_print_plan", dynlib: LibraryName.} proc fftw_sprint_plan*(p: fftw_plan): cstring {.cdecl, importc: "fftw_sprint_plan", dynlib: LibraryName.} -proc fftw_malloc*(n: csize): pointer {.cdecl, importc: "fftw_malloc", +proc fftw_malloc*(n: csize_t): pointer {.cdecl, importc: "fftw_malloc", dynlib: LibraryName.} -proc fftw_alloc_real*(n: csize): ptr cdouble {.cdecl, +proc fftw_alloc_real*(n: csize_t): ptr cdouble {.cdecl, importc: "fftw_alloc_real", dynlib: LibraryName.} -proc fftw_alloc_complex*(n: csize): ptr fftw_complex {.cdecl, +proc fftw_alloc_complex*(n: csize_t): ptr fftw_complex {.cdecl, importc: "fftw_alloc_complex", dynlib: LibraryName.} proc fftw_free*(p: pointer) {.cdecl, importc: "fftw_free", dynlib: LibraryName.} proc fftw_flops*(p: fftw_plan; add: ptr cdouble; mul: ptr cdouble; diff --git a/htmldocs/fftw3.html b/src/htmldocs/fftw3.html similarity index 98% rename from htmldocs/fftw3.html rename to src/htmldocs/fftw3.html index 33ba376..b5eb537 100644 --- a/htmldocs/fftw3.html +++ b/src/htmldocs/fftw3.html @@ -231,8 +231,8 @@

fftw3