Skip to content

Commit

Permalink
use void* in PLAN_FUNC table.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainwoodman authored and sbird committed Aug 20, 2024
1 parent 17b4d1b commit f16f776
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pfft/core.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -325,17 +325,17 @@ ctypedef pfft_plan (*pfft_plan_func_r2r) (
cMPI.MPI_Comm ccart,
int * kinds, unsigned pfft_flags)

cdef pfft_plan_func PFFT_PLAN_FUNC [8]
cdef void * PFFT_PLAN_FUNC [8]

PFFT_PLAN_FUNC[:] = [
<pfft_plan_func> pfft_plan_dft,
<pfft_plan_func> pfft_plan_dft_r2c,
<pfft_plan_func> pfft_plan_dft_c2r,
<pfft_plan_func> pfft_plan_r2r,
<pfft_plan_func> pfftf_plan_dft,
<pfft_plan_func> pfftf_plan_dft_r2c,
<pfft_plan_func> pfftf_plan_dft_c2r,
<pfft_plan_func> pfftf_plan_r2r,
<void*> pfft_plan_dft,
<void*> pfft_plan_dft_r2c,
<void*> pfft_plan_dft_c2r,
<void*> pfft_plan_r2r,
<void*> pfftf_plan_dft,
<void*> pfftf_plan_dft_r2c,
<void*> pfftf_plan_dft_c2r,
<void*> pfftf_plan_r2r,
]

ctypedef void (*pfft_free_plan_func) (void * plan)
Expand Down

0 comments on commit f16f776

Please sign in to comment.