fnp
/
pylucene.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pylucene 3.5.0-3
[pylucene.git]
/
jcc
/
jcc
/
sources
/
functions.cpp
diff --git
a/jcc/jcc/sources/functions.cpp
b/jcc/jcc/sources/functions.cpp
index
6b207eb
..
4449767
100644
(file)
--- a/
jcc/jcc/sources/functions.cpp
+++ b/
jcc/jcc/sources/functions.cpp
@@
-592,6
+592,9
@@
int _parseArgs(PyObject **args, unsigned int count, char *types, ...)
if (array)
return -1;
+ if (pos != typeCount)
+ return -1;
+
pos = 0;
for (unsigned int a = 0; a < count; a++, pos++) {