Skip to content

Commit

Permalink
Fix dawgdic source pathes
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Nov 10, 2023
1 parent ad66293 commit 9d14e55
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/_base_types.pxd
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/_completer.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/_dawg.pxd
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/_dawg_builder.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/_dictionary.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/_dictionary_builder.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion src/_dictionary_unit.pxd
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/_guide.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/_guide_builder.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion src/_guide_unit.pxd
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 9d14e55

Please sign in to comment.