From d74ab0efb0ae029dd423e076588d3f9f8d95b643 Mon Sep 17 00:00:00 2001 From: razetime Date: Mon, 29 Jan 2024 19:15:06 +0800 Subject: [PATCH] 16: codeblock correct --- 16-c-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/16-c-api.md b/16-c-api.md index bc29265..0d99363 100644 --- a/16-c-api.md +++ b/16-c-api.md @@ -130,7 +130,7 @@ variables, and then use the [Integer Functions](https://gmplib.org/manual/Intege as per the documentation. The result will be an `mpz_t`. This can be converted to a C string, then converted to a K string. So the last few lines of `add()` become: -``` +```c mpz_t big_a,big_b,r; mpz_init_set_str(big_a,ac,10);mpz_init_set_str(big_b,bc,10);mpz_init(r); mpz_add(r,big_a,big_b);