summaryrefslogtreecommitdiffstats
path: root/examples/c4ls_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c4ls_buffer.c')
-rw-r--r--examples/c4ls_buffer.c3
1 files changed, 2 insertions, 1 deletions
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)
{