added Hawk::setCmgr()
This commit is contained in:
parent
27e0b5f4f7
commit
8e1c106fe2
@ -1618,8 +1618,13 @@ void Hawk::close ()
|
||||
|
||||
hawk_cmgr_t* Hawk::getCmgr () const
|
||||
{
|
||||
if (!this->hawk) return this->_cmgr;
|
||||
return hawk_getcmgr(this->hawk);
|
||||
return this->hawk? hawk_getcmgr(this->hawk): this->_cmgr;
|
||||
}
|
||||
|
||||
void Hawk::setCmgr (hawk_cmgr_t* cmgr)
|
||||
{
|
||||
if (this->hawk) hawk_setcmgr(this->hawk, cmgr);
|
||||
this->_cmgr = cmgr;
|
||||
}
|
||||
|
||||
void Hawk::uponClosing ()
|
||||
|
@ -1283,6 +1283,7 @@ public:
|
||||
virtual ~Hawk () {}
|
||||
|
||||
hawk_cmgr_t* getCmgr () const;
|
||||
void setCmgr (hawk_cmgr_t* cmgr);
|
||||
|
||||
///
|
||||
/// The open() function initializes an interpreter.
|
||||
|
Loading…
Reference in New Issue
Block a user