summaryrefslogtreecommitdiff
path: root/python/src/utils.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/utils.pxd')
-rw-r--r--python/src/utils.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/utils.pxd b/python/src/utils.pxd
index a1a4799b..687d3ac0 100644
--- a/python/src/utils.pxd
+++ b/python/src/utils.pxd
@@ -63,7 +63,7 @@ cdef extern from "utils/tdict.h" namespace "TD":
string GetString(vector[WordID]& st)
unsigned NumWords()
WordID TDConvert "TD::Convert" (char*)
- char* TDConvert "TD::Convert" (WordID)
+ string& TDConvert "TD::Convert" (WordID)
void ConvertSentence(string& sent, vector[WordID]* ids)
cdef extern from "utils/verbose.h":