From 41eabf6ac74a7c0e81912742764ebea3d0e1fe07 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 21 Apr 2019 20:09:56 +0200 Subject: He made cc4group lazy and he saw that it was good --- examples/c4ls_buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/c4ls_buffer.c') diff --git a/examples/c4ls_buffer.c b/examples/c4ls_buffer.c index 7280afd..df63cd6 100644 --- a/examples/c4ls_buffer.c +++ b/examples/c4ls_buffer.c @@ -100,6 +100,7 @@ int main(int argc, char* argv[]) } CC4Group* group = cc4group.new(); + cc4group.setLazy(group, false); bool success = cc4group.openMemory(group, buffer, pos, cc4group.MemoryManagement.Take); if(!success) { @@ -110,7 +111,7 @@ int main(int argc, char* argv[]) CC4Group_EntryInfo* infos; size_t entries; - success = cc4group.getEntryInfos(group, argc == 2 ? argv[1] : NULL, &infos, &entries); + success = cc4group.getEntryInfos(group, argc == 2 ? argv[1] : NULL, &infos, &entries, false); if(!success) { -- cgit v1.2.3-54-g00ecf