adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-commits] CVS: adonthell/src/input listener.cc,1.1.2.2,1.1.2.3


From: Alexandre Courbot <address@hidden>
Subject: [Adonthell-commits] CVS: adonthell/src/input listener.cc,1.1.2.2,1.1.2.3
Date: Thu, 12 Sep 2002 14:50:06 -0400

Update of /cvsroot/adonthell/adonthell/src/input
In directory subversions:/tmp/cvs-serv3740/src/input

Modified Files:
      Tag: Branch_road_to_0-4
        listener.cc 
Log Message:
Did the necessary change to make the collision test Python demo work
independently of all the C++ code.
Fixed for SWIG 1.3.14.


Index: listener.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/input/Attic/listener.cc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** listener.cc 11 Aug 2002 20:57:45 -0000      1.1.2.2
--- listener.cc 12 Sep 2002 18:50:02 -0000      1.1.2.3
***************
*** 72,76 ****
              {
                  PyObject * args = PyTuple_New (1);
!                 PyObject * arg = python::pass_instance (ev, "input__event");
                  PyTuple_SetItem (args, 0, arg);
                  PyObject * val = PyObject_CallObject 
(Py_callbacks[ev->type()], args);
--- 72,76 ----
              {
                  PyObject * args = PyTuple_New (1);
!                 PyObject * arg = python::pass_instance (ev, "input", 
"keyboard_event");
                  PyTuple_SetItem (args, 0, arg);
                  PyObject * val = PyObject_CallObject 
(Py_callbacks[ev->type()], args);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]