def setup(dictionary, initialdomain, domain, wall): global _dictionary global _initialdomain global _domain global _warnall _dictionary = dictionary _initialdomain = initialdomain _domain = domain _warnall = wall setup_luastates() setup_wmlstates()
def setup(dictionary, initialdomain, domain, wall, fdebug): global _dictionary global _initialdomain global _domain global _warnall global _debugmode global _fdebug _dictionary = dictionary _initialdomain = initialdomain _domain = domain _warnall = wall _fdebug = fdebug if fdebug is None: _debugmode = False else: _debugmode = True setup_luastates() setup_wmlstates()