diff pytouhou/ui/window.pxd @ 533:de778a80820a

Optimise Clock a bit more.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 10 Feb 2014 18:03:50 +0100
parents b39ad30c6620
children aad758aef26d
line wrap: on
line diff
--- a/pytouhou/ui/window.pxd
+++ b/pytouhou/ui/window.pxd
@@ -4,10 +4,9 @@ from pytouhou.lib cimport sdl
 cdef class Clock:
     cdef unsigned long _ref_tick
     cdef long _target_fps, _ref_frame, _fps_tick, _fps_frame
-    cdef double _rate
+    cdef double fps
 
     cdef void set_target_fps(self, long fps) nogil
-    cdef double get_fps(self) nogil
     cdef void tick(self) nogil except *