From b237924585e61532ada774bf9e70eadff00666dc Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 18 Jan 2020 23:12:37 +0100 Subject: Use C string instead of chunk for link URL and title Use zero-terminated C strings instead of cmark_chunks without storing the length. This introduces a few additional strlen computations, but overhead should be low. Allows to reduce size of struct cmark_node later. --- api_test/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api_test') diff --git a/api_test/main.c b/api_test/main.c index 9b7ba41..e7fccbd 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -915,7 +915,7 @@ static void source_pos(test_batch_runner *runner) { " \n" " \n" " Hello “ \n" - " \n" + " \n" " http://www.google.com\n" " \n" " \n" -- cgit v1.2.3