mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
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};
|
static char *kwlist[] = {"sentence", "tokens", "cat", "n", NULL};
|
||||||
|
|
||||||
size_t len;
|
int len;
|
||||||
const uint8_t *buf = NULL;
|
const uint8_t *buf = NULL;
|
||||||
PyObject* py_lexer = NULL;
|
PyObject* py_lexer = NULL;
|
||||||
const char *catname_s = NULL;
|
const char *catname_s = NULL;
|
||||||
@@ -770,7 +770,7 @@ Concr_getCompletions(ConcrObject* self, PyObject *args, PyObject *keywds)
|
|||||||
static char *kwlist[] = {"sentence", "tokens", "cat",
|
static char *kwlist[] = {"sentence", "tokens", "cat",
|
||||||
"prefix", "n", NULL};
|
"prefix", "n", NULL};
|
||||||
|
|
||||||
size_t len;
|
int len;
|
||||||
const uint8_t *buf = NULL;
|
const uint8_t *buf = NULL;
|
||||||
PyObject* py_lexer = NULL;
|
PyObject* py_lexer = NULL;
|
||||||
const char *catname_s = NULL;
|
const char *catname_s = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user