summaryrefslogtreecommitdiff
path: root/python/src/grammar.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/grammar.pxd')
-rw-r--r--python/src/grammar.pxd4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/src/grammar.pxd b/python/src/grammar.pxd
index 833de2e3..0ffe80fa 100644
--- a/python/src/grammar.pxd
+++ b/python/src/grammar.pxd
@@ -35,11 +35,9 @@ cdef extern from "decoder/grammar.h":
cdef cppclass Grammar:
const_GrammarIter* GetRoot()
- bint HasRuleForSpan(int i, int j, int distance)
- unsigned GetCTFLevels()
string GetGrammarName()
void SetGrammarName(string)
cdef cppclass TextGrammar(Grammar):
TextGrammar()
- void AddRule(shared_ptr[TRule]& rule)
+ void AddRule(shared_ptr[TRule]& rule) nogil