diff options
Diffstat (limited to 'src/cc4group.c')
| -rw-r--r-- | src/cc4group.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cc4group.c b/src/cc4group.c index 1fc0584..da1ead4 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -3316,6 +3316,11 @@ static bool cc4group_isChild(const CC4Group* const this) return this->parent != NULL; } +static bool cc4group_isPacked(const CC4Group* const this) +{ + return this->root.path != NULL; +} + static const char* cc4group_getName(const CC4Group* const this) { return this->name; @@ -3511,6 +3516,7 @@ CC4Group_API cc4group = { .openAsChild = cc4group_openAsChild, .isChild = cc4group_isChild, + .isPacked = cc4group_isPacked, .getName = cc4group_getName, .getFullName = cc4group_getFullName |
