lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1437783 - /lucene/pylucene/trunk/jcc/jcc/sources/functions.cpp
Date Wed, 23 Jan 2013 22:32:45 GMT
Author: vajda
Date: Wed Jan 23 22:32:45 2013
New Revision: 1437783

URL: http://svn.apache.org/viewvc?rev=1437783&view=rev
Log:
removed remaining types[pos] references

Modified:
    lucene/pylucene/trunk/jcc/jcc/sources/functions.cpp

Modified: lucene/pylucene/trunk/jcc/jcc/sources/functions.cpp
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/sources/functions.cpp?rev=1437783&r1=1437782&r2=1437783&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/sources/functions.cpp (original)
+++ lucene/pylucene/trunk/jcc/jcc/sources/functions.cpp Wed Jan 23 22:32:45 2013
@@ -382,7 +382,7 @@ int _parseArgs(PyObject **args, unsigned
           {
               jclass cls = NULL;
 
-              switch (types[pos]) {
+              switch (tc) {
                 case 'j':
                   cls = (jclass) va_arg(list, Class *)->this$;
                   break;
@@ -793,7 +793,7 @@ int _parseArgs(PyObject **args, unsigned
           {
               jclass cls = NULL;
 
-              switch (types[pos]) {
+              switch (tc) {
                 case 'j':
                   cls = (jclass) va_arg(check, Class *)->this$;
                   break;
@@ -809,7 +809,7 @@ int _parseArgs(PyObject **args, unsigned
                   JArray<jobject> *array = va_arg(list, JArray<jobject> *);
 
 #ifdef _java_generics
-                  if (types[pos] == 'K')
+                  if (tc == 'K')
                   {
                       PyTypeObject ***tp = va_arg(list, PyTypeObject ***);
 
@@ -835,7 +835,7 @@ int _parseArgs(PyObject **args, unsigned
                       arg = ((t_fp *) arg)->object;
 
 #ifdef _java_generics
-                  if (types[pos] == 'K')
+                  if (tc == 'K')
                   {
                       PyTypeObject ***tp = va_arg(list, PyTypeObject ***);
                       PyTypeObject **(*parameters_)(void *) = 
@@ -1103,7 +1103,7 @@ int _parseArgs(PyObject **args, unsigned
               {
                   Object *obj = va_arg(list, Object *);
 
-                  if (types[pos] == 'O')
+                  if (tc == 'O')
                   {
                       PyTypeObject *type = va_arg(check, PyTypeObject *);
 



Mime
View raw message