summaryrefslogtreecommitdiff
path: root/python/src/grammar.pxd
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-11-05 15:29:46 +0100
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-11-05 15:29:46 +0100
commit6f29f345dc06c1a1033475eac1d1340781d1d603 (patch)
tree6fa4cdd7aefd7d54c9585c2c6274db61bb8b159a /python/src/grammar.pxd
parentb510da2e562c695c90d565eb295c749569c59be8 (diff)
parentc615c37501fa8576584a510a9d2bfe2fdd5bace7 (diff)
merge upstream/master
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