isNullPlan existed to check if a plan was NULL with the notion that
since fftw_plan is opaque, we couldn't check for null-ness in Chapel.
This switches to using is_c_nil, which under the covers casts to a
c_void_ptr (void*) and checks if that is NULL.
isNullPlan
existed to check if a plan was NULL with the notion that since fftw_plan is opaque, we couldn't check for null-ness in Chapel. This switches to usingis_c_nil
, which under the covers casts to a c_void_ptr (void*) and checks if that is NULL.