diff --git a/src/_base_types.pxd b/src/_base_types.pxd index 87ac7e1..1b72eb5 100644 --- a/src/_base_types.pxd +++ b/src/_base_types.pxd @@ -1,4 +1,4 @@ -cdef extern from "../lib/dawgdic/base-types.h" namespace "dawgdic": +cdef extern from "../lib/dawgdic/src/dawgdic/base-types.h" namespace "dawgdic": # 8-bit characters. ctypedef char CharType ctypedef unsigned char UCharType diff --git a/src/_completer.pxd b/src/_completer.pxd index d436b8f..3afa93a 100644 --- a/src/_completer.pxd +++ b/src/_completer.pxd @@ -4,7 +4,7 @@ from _dictionary cimport Dictionary from _guide cimport Guide -cdef extern from "../lib/dawgdic/completer.h" namespace "dawgdic" nogil: +cdef extern from "../lib/dawgdic/src/dawgdic/completer.h" namespace "dawgdic" nogil: cdef cppclass Completer: Completer() Completer(Dictionary &dic, Guide &guide) diff --git a/src/_dawg.pxd b/src/_dawg.pxd index 95fdc12..9434765 100644 --- a/src/_dawg.pxd +++ b/src/_dawg.pxd @@ -1,7 +1,7 @@ from _base_types cimport BaseType, SizeType, UCharType, ValueType -cdef extern from "../lib/dawgdic/dawg.h" namespace "dawgdic": +cdef extern from "../lib/dawgdic/src/dawgdic/dawg.h" namespace "dawgdic": cdef cppclass Dawg: Dawg() diff --git a/src/_dawg_builder.pxd b/src/_dawg_builder.pxd index 7203a34..2269fee 100644 --- a/src/_dawg_builder.pxd +++ b/src/_dawg_builder.pxd @@ -2,7 +2,7 @@ from _base_types cimport BaseType, CharType, SizeType, UCharType, ValueType from _dawg cimport Dawg -cdef extern from "../lib/dawgdic/dawg-builder.h" namespace "dawgdic": +cdef extern from "../lib/dawgdic/src/dawgdic/dawg-builder.h" namespace "dawgdic": cdef cppclass DawgBuilder: DawgBuilder() nogil #(SizeType initial_hash_table_size = DEFAULT_INITIAL_HASH_TABLE_SIZE) diff --git a/src/_dictionary.pxd b/src/_dictionary.pxd index d7067ca..c9415c7 100644 --- a/src/_dictionary.pxd +++ b/src/_dictionary.pxd @@ -3,7 +3,7 @@ from _dictionary_unit cimport DictionaryUnit from iostream cimport istream, ostream -cdef extern from "../lib/dawgdic/dictionary.h" namespace "dawgdic": +cdef extern from "../lib/dawgdic/src/dawgdic/dictionary.h" namespace "dawgdic": cdef cppclass Dictionary: Dictionary() nogil diff --git a/src/_dictionary_builder.pxd b/src/_dictionary_builder.pxd index 9641726..b246d31 100644 --- a/src/_dictionary_builder.pxd +++ b/src/_dictionary_builder.pxd @@ -3,6 +3,6 @@ from _dawg cimport Dawg from _dictionary cimport Dictionary -cdef extern from "../lib/dawgdic/dictionary-builder.h" namespace "dawgdic::DictionaryBuilder": +cdef extern from "../lib/dawgdic/src/dawgdic/dictionary-builder.h" namespace "dawgdic::DictionaryBuilder": cdef bint Build (Dawg &dawg, Dictionary *dic) nogil diff --git a/src/_dictionary_unit.pxd b/src/_dictionary_unit.pxd index 35581a1..5b2308c 100644 --- a/src/_dictionary_unit.pxd +++ b/src/_dictionary_unit.pxd @@ -1,7 +1,7 @@ from _base_types cimport BaseType, CharType, SizeType, UCharType, ValueType -cdef extern from "../lib/dawgdic/dictionary-unit.h" namespace "dawgdic": +cdef extern from "../lib/dawgdic/src/dawgdic/dictionary-unit.h" namespace "dawgdic": cdef cppclass DictionaryUnit: DictionaryUnit() nogil diff --git a/src/_guide.pxd b/src/_guide.pxd index 0d23367..20f164d 100644 --- a/src/_guide.pxd +++ b/src/_guide.pxd @@ -3,7 +3,7 @@ from _guide_unit cimport GuideUnit from iostream cimport istream, ostream -cdef extern from "../lib/dawgdic/guide.h" namespace "dawgdic": +cdef extern from "../lib/dawgdic/src/dawgdic/guide.h" namespace "dawgdic": cdef cppclass Guide: Guide() diff --git a/src/_guide_builder.pxd b/src/_guide_builder.pxd index ec36613..fd604bb 100644 --- a/src/_guide_builder.pxd +++ b/src/_guide_builder.pxd @@ -4,6 +4,6 @@ from _dictionary cimport Dictionary from _guide cimport Guide -cdef extern from "../lib/dawgdic/guide-builder.h" namespace "dawgdic::GuideBuilder": +cdef extern from "../lib/dawgdic/src/dawgdic/guide-builder.h" namespace "dawgdic::GuideBuilder": cdef bint Build (Dawg &dawg, Dictionary &dic, Guide* guide) nogil diff --git a/src/_guide_unit.pxd b/src/_guide_unit.pxd index cc0e9db..0041228 100644 --- a/src/_guide_unit.pxd +++ b/src/_guide_unit.pxd @@ -1,7 +1,7 @@ from _base_types cimport BaseType, CharType, SizeType, UCharType, ValueType -cdef extern from "../lib/dawgdic/guide-unit.h" namespace "dawgdic": +cdef extern from "../lib/dawgdic/src/dawgdic/guide-unit.h" namespace "dawgdic": cdef cppclass GuideUnit: GuideUnit() nogil