[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: adonthell/src/py-wrappers/adonthell Makefile.am
From: |
Alexandre Courbot <address@hidden> |
Subject: |
[Adonthell-commits] CVS: adonthell/src/py-wrappers/adonthell Makefile.am, 1.3, 1.4 py_input.i, 1.1.1.1, 1.2 |
Date: |
Mon, 28 Jul 2003 11:02:21 -0400 |
Update of /cvsroot/adonthell/adonthell/src/py-wrappers/adonthell
In directory subversions:/tmp/cvs-serv17798/src/py-wrappers/adonthell
Modified Files:
Makefile.am py_input.i
Log Message:
FIXED Memory leak in the python callbacks
FIXED Uncatched errors in the python callbacks
REMOVED stupid debugging messages in surface_sdl::draw_line
CHANGED input callbacks to return booleans instead of integers
Index: Makefile.am
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/py-wrappers/adonthell/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Makefile.am 28 Jul 2003 12:52:45 -0000 1.3
--- Makefile.am 28 Jul 2003 15:02:19 -0000 1.4
***************
*** 36,52 ****
## Rules for Python wrappers generation
base.py: py_base_wrap.cc
! py_base_wrap.cc: py_base.i
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
gfx.py: py_gfx_wrap.cc
! py_gfx_wrap.cc: py_gfx.i
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
input.py: py_input_wrap.cc
! py_input_wrap.cc: py_input.i
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
gui.py: py_gui_wrap.cc
! py_gui_wrap.cc: py_gui.i
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
--- 36,52 ----
## Rules for Python wrappers generation
base.py: py_base_wrap.cc
! py_base_wrap.cc: py_base.i $(top_srcdir)/src/base/*.h
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
gfx.py: py_gfx_wrap.cc
! py_gfx_wrap.cc: py_gfx.i $(top_srcdir)/src/gfx/*.h
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
input.py: py_input_wrap.cc
! py_input_wrap.cc: py_input.i $(top_srcdir)/src/input/*.h
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
gui.py: py_gui_wrap.cc
! py_gui_wrap.cc: py_gui.i $(top_srcdir)/src/gui/*.h
$(SWIG) -c -python -shadow -I$(top_srcdir)/src -o $(srcdir)/$@ $<
Index: py_input.i
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/py-wrappers/adonthell/py_input.i,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** py_input.i 18 Jul 2003 15:16:09 -0000 1.1.1.1
--- py_input.i 28 Jul 2003 15:02:19 -0000 1.2
***************
*** 28,47 ****
void connect_keyboard_function(PyObject * f)
{
! self->connect_keyboard_function(new
python::functor_1ret<keyboard_event *, int>(f));
}
void connect_mouse_function(PyObject * f)
{
! self->connect_mouse_function(new python::functor_1ret<mouse_event *,
int>(f));
}
void connect_joystick_function(PyObject * f)
{
! self->connect_joystick_function(new
python::functor_1ret<joystick_event *, int>(f));
}
void connect_control_function(PyObject * f)
{
! self->connect_control_function(new python::functor_1ret<control_event
*, int>(f));
}
};
--- 28,47 ----
void connect_keyboard_function(PyObject * f)
{
! self->connect_keyboard_function(new
python::functor_1ret<keyboard_event *, bool>(f));
}
void connect_mouse_function(PyObject * f)
{
! self->connect_mouse_function(new python::functor_1ret<mouse_event *,
bool>(f));
}
void connect_joystick_function(PyObject * f)
{
! self->connect_joystick_function(new
python::functor_1ret<joystick_event *, bool>(f));
}
void connect_control_function(PyObject * f)
{
! self->connect_control_function(new python::functor_1ret<control_event
*, bool>(f));
}
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: adonthell/src/py-wrappers/adonthell Makefile.am, 1.3, 1.4 py_input.i, 1.1.1.1, 1.2,
Alexandre Courbot <address@hidden> <=
- Prev by Date:
[Adonthell-commits] CVS: adonthell configure.in,1.1.1.1,1.2
- Next by Date:
[Adonthell-commits] CVS: adonthell/test gfxtest.py, 1.1, 1.2 inputtest.cc, 1.2, 1.3
- Previous by thread:
[Adonthell-commits] CVS: adonthell configure.in,1.1.1.1,1.2
- Next by thread:
[Adonthell-commits] CVS: adonthell/test gfxtest.py, 1.1, 1.2 inputtest.cc, 1.2, 1.3
- Index(es):