From 46cae873fa2bd7973aa2e98d5955d2287822c604 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Fri, 20 May 2016 21:41:54 +0000 Subject: Array: add array_alloc_tmps_* --- src/array_polynomial_mpfr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/array_polynomial_mpfr.h') diff --git a/src/array_polynomial_mpfr.h b/src/array_polynomial_mpfr.h index 8cfe6e8..6e73265 100644 --- a/src/array_polynomial_mpfr.h +++ b/src/array_polynomial_mpfr.h @@ -23,6 +23,7 @@ limitations under the License. #undef ARRAY_TYPENAME #undef ARRAY_FUNC #undef ARRAY_VAL_TYPE +#undef ARRAY_VAL_INIT #undef ARRAY_VAL_FREE #undef ARRAY_VAL_SET #undef ARRAY_VAL_CPY @@ -39,6 +40,8 @@ limitations under the License. // type of values #define ARRAY_VAL_TYPE polynomial_mpfr +// init +#define ARRAY_VAL_INIT(VAL, SIZE) polynomial_mpfr_init(VAL, SIZE) // free #define ARRAY_VAL_FREE(VAL) polynomial_mpfr_free(VAL) // set values -- cgit v1.2.3-54-g00ecf