lib: Use return value of TiledSurface::end_atomic() instead of calling Python from...
authorJon Nordby <jononor@gmail.com>
Fri, 11 Oct 2013 16:01:05 +0000 (18:01 +0200)
committerJon Nordby <jononor@gmail.com>
Fri, 11 Oct 2013 16:56:38 +0000 (18:56 +0200)
commit0decb401773f2ce1f31aedb0230732afcc8f690a
treeee1098e821e5ed61c2bf5d5442cb7895a1e871c4
parent9dfa93e951c4cdae6450a4ea4028b585fedd0d0e
lib: Use return value of TiledSurface::end_atomic() instead of calling Python from inside

Lets us get rid of custom begin/end_atomic handlers.
Side-effect: if manipulating the surface directly from C/C++,
the observers in Python will no longer be fired.
lib/pythontiledsurface.cpp
lib/tiledsurface.py