lyx_mirror/src/coordcache.C
André Pönitz 5a153a4961 forgot these...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8924 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 14:04:37 +00:00

25 lines
528 B
C

#include "coordcache.h"
#include "debug.h"
CoordCache theCoords;
// just a helper to be able to set a breakpoint
void lyxbreaker(void const * data, const char * hint, int size)
{
lyxerr << "break on pointer: " << data << " hint: " << hint
<< " size: " << size << std::endl;
}
void CoordCache::clear()
{
lyxerr << "CoordCache: removing " << arrays_.data_.size()
<< " arrays" << std::endl;
lyxerr << "CoordCache: removing " << insets_.data_.size()
<< " insets" << std::endl;
arrays_.clear();
insets_.clear();
}