forked from GitHub/gf-core
fix an issue in the Python binding related to the 32 vs 64 bit compatibility
This commit is contained in:
@@ -679,7 +679,7 @@ Concr_parse(ConcrObject* self, PyObject *args, PyObject *keywds)
|
||||
{
|
||||
static char *kwlist[] = {"sentence", "tokens", "cat", "n", NULL};
|
||||
|
||||
size_t len;
|
||||
int len;
|
||||
const uint8_t *buf = NULL;
|
||||
PyObject* py_lexer = NULL;
|
||||
const char *catname_s = NULL;
|
||||
@@ -770,7 +770,7 @@ Concr_getCompletions(ConcrObject* self, PyObject *args, PyObject *keywds)
|
||||
static char *kwlist[] = {"sentence", "tokens", "cat",
|
||||
"prefix", "n", NULL};
|
||||
|
||||
size_t len;
|
||||
int len;
|
||||
const uint8_t *buf = NULL;
|
||||
PyObject* py_lexer = NULL;
|
||||
const char *catname_s = NULL;
|
||||
|
||||
Reference in New Issue
Block a user