Skip to content

Commit 201b5e2

Browse files
mgautierfrrenaud gaudin
authored andcommitted
libzim is_multiPart is now isMultiPart.
The python libzim API is not change as all the API is snake_case.
1 parent 42031bc commit 201b5e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libzim/libwrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class Archive : public Wrapper<zim::Archive>
162162
FORWARD(bool, hasIllustration)
163163
FORWARD(bool, hasEntryByPath)
164164
FORWARD(bool, hasEntryByTitle)
165-
FORWARD(bool, is_multiPart)
165+
FORWARD(bool, isMultiPart)
166166
FORWARD(bool, hasNewNamespaceScheme)
167167
FORWARD(bool, hasFulltextIndex)
168168
FORWARD(bool, hasTitleIndex)

libzim/libzim.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ cdef class Archive:
771771

772772
@property
773773
def is_multipart(self) -> bool:
774-
return self.c_archive.is_multiPart()
774+
return self.c_archive.isMultiPart()
775775

776776
@property
777777
def has_fulltext_index(self) -> bool:

libzim/zim.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ cdef extern from "libwrapper.h" namespace "wrapper":
155155
# set[unsigned int] getIllustrationSizes() except +
156156
bool hasEntryByPath(string path) except +
157157
bool hasEntryByTitle(string title) except +
158-
bool is_multiPart() except +
158+
bool isMultiPart() except +
159159
bool hasNewNamespaceScheme() except +
160160
bool hasFulltextIndex() except +
161161
bool hasTitleIndex() except +

0 commit comments

Comments
 (0)