More tests for BLooper.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@286 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz
2002-07-17 19:50:28 +00:00
parent 16ba498087
commit 04de1897ed
6 changed files with 153 additions and 1 deletions
+4 -1
View File
@@ -360,7 +360,10 @@ int32 BLooper::CountHandlers() const
//------------------------------------------------------------------------------
BHandler* BLooper::HandlerAt(int32 index) const
{
AssertLocked();
if (!IsLocked())
{
debugger("Looper must be locked before calling HandlerAt.");
}
return (BHandler*)fHandlers.ItemAt(index);
}