feature/nel-dll
kaetemi 6 years ago
parent 86655c2c88
commit 305852a7d0

@ -37,11 +37,11 @@ namespace NLMISC
* \author Nevrax France * \author Nevrax France
* \date 2000 * \date 2000
*/ */
class NLMISC_API CRefCount class CRefCount
{ {
public: public:
/// Destructor which release pinfo if necessary. /// Destructor which release pinfo if necessary.
~CRefCount(); NLMISC_API ~CRefCount();
/// Default constructor init crefs to 0. /// Default constructor init crefs to 0.
CRefCount() { crefs = 0; pinfo = &NullPtrInfo; } CRefCount() { crefs = 0; pinfo = &NullPtrInfo; }
@ -63,7 +63,7 @@ public:
}; };
// OWN null for ref ptr. (Optimisations!!!) // OWN null for ref ptr. (Optimisations!!!)
static CPtrInfoBase NullPtrInfo; NLMISC_API static CPtrInfoBase NullPtrInfo;
friend struct CPtrInfo; friend struct CPtrInfo;
// for special case use only. // for special case use only.

@ -164,7 +164,7 @@ public:
* Return a pointer on the current process. * Return a pointer on the current process.
* Implemented in the derived class. * Implemented in the derived class.
*/ */
static IProcess *getCurrentProcess (); NLMISC_API static IProcess *getCurrentProcess ();
/** /**
* Return process CPU mask. Each bit stand for a CPU usable by the process threads. * Return process CPU mask. Each bit stand for a CPU usable by the process threads.

Loading…
Cancel
Save