CogentRedTester / mpv-lua-console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make all existing functions local to prevent access

CogentRedTester opened this issue · comments

Some functions have circular references, so need to be either declared in advance, or be made global.

the current solution is to change the environment of the main script so that the new functions are not added to the original global environment, and hence are not available from the new REPL environment.