diff options
author | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-08-08 18:56:02 -0400 |
---|---|---|
committer | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-08-08 18:56:02 -0400 |
commit | e0eabf1e59cbfa85b00efcff699cdcd6a524e9c5 (patch) | |
tree | e6d013ebdb0eafc8e1e380e84549460847d685ac /python/src/grammar.pxd | |
parent | cc5584e9b066e6d1177495f7028ff49ab057ed52 (diff) |
[python] Get rid of the GIL
Diffstat (limited to 'python/src/grammar.pxd')
-rw-r--r-- | python/src/grammar.pxd | 4 |
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 |