Commit e7c1f9b6 authored by cutealien's avatar cutealien

Fix more typos in documentation and add a little more docs (thx @Yoran for reporting).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4594 dfc29bdd-3216-0410-991c-e03cc46cb475
parent e6210eb5
...@@ -14,7 +14,7 @@ namespace irr ...@@ -14,7 +14,7 @@ namespace irr
{ {
class IReferenceCounted; class IReferenceCounted;
//! A calls helping to find unrelease objects of type IReferenceCounted. //! A class helping to find unreleased objects of type IReferenceCounted.
/** To use this you have recompile Irrlicht with _IRR_COMPILE_WITH_LEAK_HUNTER_. /** To use this you have recompile Irrlicht with _IRR_COMPILE_WITH_LEAK_HUNTER_.
Note that this will slow down your application and should only be used for debugging. Note that this will slow down your application and should only be used for debugging.
The way to use is that you can check after you closed and dropped your last Irrlicht device The way to use is that you can check after you closed and dropped your last Irrlicht device
...@@ -26,7 +26,7 @@ namespace irr ...@@ -26,7 +26,7 @@ namespace irr
friend class IReferenceCounted; friend class IReferenceCounted;
//! Clear all IReferenceCounted objects inside LeakHunter //! Clear all IReferenceCounted objects inside LeakHunter
/** This does not affect the IReferenceCounted themselfes only the /** This does not affect the IReferenceCounted themselves only the
counting of them. Usually you don't ever need to clear, but counting of them. Usually you don't ever need to clear, but
sometimes it helps when for example you want to ignore sometimes it helps when for example you want to ignore
certain leaks. certain leaks.
...@@ -36,6 +36,7 @@ namespace irr ...@@ -36,6 +36,7 @@ namespace irr
ReferenceCountedObjects.clear(); ReferenceCountedObjects.clear();
} }
//! Access all objects which are currently reference counted.
static inline irr::core::array<const IReferenceCounted*> getReferenceCountedObjects() static inline irr::core::array<const IReferenceCounted*> getReferenceCountedObjects()
{ {
return ReferenceCountedObjects; return ReferenceCountedObjects;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment