Nasal Hash: add isNil wrapper
This commit is contained in:
@@ -130,4 +130,10 @@ namespace nasal
|
|||||||
return _keys;
|
return _keys;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
bool Hash::isNil() const
|
||||||
|
{
|
||||||
|
return naIsNil(_hash);
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace nasal
|
} // namespace nasal
|
||||||
|
|||||||
@@ -137,6 +137,8 @@ namespace nasal
|
|||||||
*/
|
*/
|
||||||
int size() const;
|
int size() const;
|
||||||
|
|
||||||
|
bool isNil() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a list of all keys
|
* Get a list of all keys
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user