diff --git a/simgear/nasal/cppbind/NasalHash.cxx b/simgear/nasal/cppbind/NasalHash.cxx index 71afefe0..1ad56d7d 100644 --- a/simgear/nasal/cppbind/NasalHash.cxx +++ b/simgear/nasal/cppbind/NasalHash.cxx @@ -130,4 +130,10 @@ namespace nasal return _keys; } + //---------------------------------------------------------------------------- + bool Hash::isNil() const + { + return naIsNil(_hash); + } + } // namespace nasal diff --git a/simgear/nasal/cppbind/NasalHash.hxx b/simgear/nasal/cppbind/NasalHash.hxx index 97c1e6cb..a9e6ead7 100644 --- a/simgear/nasal/cppbind/NasalHash.hxx +++ b/simgear/nasal/cppbind/NasalHash.hxx @@ -137,6 +137,8 @@ namespace nasal */ int size() const; + bool isNil() const; + /** * Get a list of all keys */