code: def globals(self):
          
          defglobal = lib.EnvGetNextDefglobal(self._env, ffi.NULL)
  
          while defglobal != ffi.NULL:
              yield Global(self._env, defglobal)
  
              defglobal = lib.EnvGetNextDefglobal(self._env, defglobal)
docs: Iterates over the defined Globals.