def generics(self):
defgeneric = lib.EnvGetNextDefgeneric(self._env, ffi.NULL)<EOL>while defgeneric != ffi.NULL:<EOL><INDENT>yield Generic(self._env, defgeneric)<EOL>defgeneric = lib.EnvGetNextDefgeneric(self._env, defgeneric)<EOL><DEDENT>
Iterates over the defined Generics.