Skip to content

Commit 7651b81

Browse files
committed
Fix nogil position, must be last
1 parent 267eeef commit 7651b81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libzim/zim.pxd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ cdef extern from "zim/writer/creator.h" namespace "zim::writer":
6666
void configClusterSize(int size)
6767
void configIndexing(bint indexing, string language)
6868
void configNbWorkers(int nbWorkers)
69-
void startZimCreation(string filepath) nogil except +;
70-
void addItem(shared_ptr[WriterItem] item) nogil except +
71-
void addMetadata(string name, string content, string mimetype) nogil except +
72-
void addRedirection(string path, string title, string targetpath, map[HintKeys, uint64_t] hints) nogil except +
69+
void startZimCreation(string filepath) except + nogil
70+
void addItem(shared_ptr[WriterItem] item) except + nogil
71+
void addMetadata(string name, string content, string mimetype) except + nogil
72+
void addRedirection(string path, string title, string targetpath, map[HintKeys, uint64_t] hints) except + nogil
7373
void addAlias(string path, string title, string targetpath, map[HintKeys, uint64_t] hints) except + nogil
74-
void finishZimCreation() nogil except +
74+
void finishZimCreation() except + nogil
7575
void setMainPath(string mainPath)
76-
void addIllustration(unsigned int size, string content) nogil except +
76+
void addIllustration(unsigned int size, string content) except + nogil
7777

7878
cdef extern from "zim/search.h" namespace "zim":
7979
cdef cppclass Query:

0 commit comments

Comments
 (0)