sdlterm/cython/sdlterm.pyx
changeset 69 4e7be77bafff
parent 67 71f60bf6ebb7
child 71 cfd3445107b4
--- a/sdlterm/cython/sdlterm.pyx	Wed Jan 23 21:59:16 2013 +0100
+++ b/sdlterm/cython/sdlterm.pyx	Sun Jan 27 12:54:52 2013 +0100
@@ -1,6 +1,6 @@
 # distutils: language = c++
-# distutils: sources = src/sdlterm.cc
-# distutils: include_dirs = /usr/include/SDL src
+# distutils: sources = sdlterm/src/sdlterm.cc
+# distutils: include_dirs = /usr/include/SDL sdlterm/src
 # distutils: libraries = SDL SDL_ttf
 # distutils: define_macros = _GNU_SOURCE=1 _REENTRANT
 # distutils: extra_compile_args = --std=c++11
@@ -86,7 +86,7 @@
     def hide_cursor(self):
         self.thisptr.hide_cursor()
 
-    def wait_event(self, timeout):
+    def wait_event(self, timeout=None):
         if not self.thisptr.wait_event(self.event, timeout or 0):
             # timeout
             return None