isl_sample.c: shift_cone: add memory management annotations
[isl.git] / include / isl / val_gmp.h
blob9558c1a13381c7c993b0a56964b0e7467504156f
1 #ifndef ISL_VAL_GMP_H
2 #define ISL_VAL_GMP_H
4 #include <gmp.h>
5 #include <isl/val.h>
7 #if defined(__cplusplus)
8 extern "C" {
9 #endif
11 __isl_give isl_val *isl_val_int_from_gmp(isl_ctx *ctx, mpz_t z);
12 __isl_give isl_val *isl_val_from_gmp(isl_ctx *ctx,
13 const mpz_t n, const mpz_t d);
14 int isl_val_get_num_gmp(__isl_keep isl_val *v, mpz_t z);
15 int isl_val_get_den_gmp(__isl_keep isl_val *v, mpz_t z);
17 #if defined(__cplusplus)
19 #endif
21 #endif