From 2a49e4e1d64ef2df0bb2a8a3822f7fa1048e687f Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 17 Sep 2013 12:45:00 +0000 Subject: a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified --- src/runtime/c/pgf/literals.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/runtime/c/pgf/literals.c') diff --git a/src/runtime/c/pgf/literals.c b/src/runtime/c/pgf/literals.c index b8e35ea64..a11097781 100644 --- a/src/runtime/c/pgf/literals.c +++ b/src/runtime/c/pgf/literals.c @@ -18,7 +18,7 @@ pgf_match_string_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, GuPool* tmp_pool = gu_new_pool(); size_t lin_idx; - PgfSequence seq; + PgfSequence* seq; pgf_item_sequence(item, &lin_idx, &seq, tmp_pool); gu_assert(lin_idx == 0); @@ -66,7 +66,7 @@ pgf_match_int_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, GuPool* tmp_pool = gu_new_pool(); size_t lin_idx; - PgfSequence seq; + PgfSequence* seq; pgf_item_sequence(item, &lin_idx, &seq, tmp_pool); gu_assert(lin_idx == 0); @@ -123,7 +123,7 @@ pgf_match_float_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, GuPool* tmp_pool = gu_new_pool(); size_t lin_idx; - PgfSequence seq; + PgfSequence* seq; pgf_item_sequence(item, &lin_idx, &seq, tmp_pool); gu_assert(lin_idx == 0); @@ -180,7 +180,7 @@ pgf_match_name_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, GuPool* tmp_pool = gu_new_pool(); size_t lin_idx; - PgfSequence seq; + PgfSequence* seq; pgf_item_sequence(item, &lin_idx, &seq, tmp_pool); gu_assert(lin_idx == 0); -- cgit v1.2.3