diff src/surface.doc @ 1137:ec3ced33488f

Reworked locking code to be more strict about locking. Added Surface.get_locks() method.
author marcus
date Mon, 16 Jun 2008 18:46:56 +0000
parents 2fab82895a31
children 99a96e8e563d
line wrap: on
line diff
--- a/src/surface.doc	Mon Jun 16 13:40:05 2008 +0000
+++ b/src/surface.doc	Mon Jun 16 18:46:56 2008 +0000
@@ -306,8 +306,15 @@
 Surface.get_locked(): return bool
 
 Returns True when the Surface is locked. It doesn't matter how many times
-the Surface is locked. Surfaces that do not need locking (see
-mustlock()) will always return True.
+the Surface is locked.
+<END>
+
+
+get_locks
+Gets the locks for the Surface
+Surface.get_locks(): return tuple
+
+Returns the currently existing locks for the Surface. 
 <END>