~james-page/ubuntu/oneiric/jcc/fix-library-linking

« back to all changes in this revision

Viewing changes to _jcc/java/util/Iterator.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Ludovico Cavedon
  • Date: 2010-07-18 11:16:04 UTC
  • mfrom: (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100718111604-jccjt78g2cusy7h9
Tags: 2.6-1
* New upstream release.
* Fix typo in README.Debian.
* Refresh avoid-ftbfs-unknown-archs.patch.
* Update Standards-Version to 3.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
            }
93
93
            return obj;
94
94
        }
 
95
 
 
96
        PyObject *t_Iterator::wrap_jobject(const jobject& object,
 
97
                                           PyTypeObject *T)
 
98
        {
 
99
            PyObject *obj = t_Iterator::wrap_jobject(object);
 
100
            if (obj != Py_None)
 
101
            {
 
102
                t_Iterator *self = (t_Iterator *) obj;
 
103
                self->parameters[0] = T;
 
104
            }
 
105
            return obj;
 
106
        }
95
107
#endif
96
108
        static PyObject *t_Iterator_hasNext(t_Iterator *self)
97
109
        {