_env = _GBut my program is running in _G still, so I want to load API's into _env without moving from _G.
Loading API's into a Specific Enviroment
Started by クデル, Nov 29 2015 02:10 AM
2 replies to this topic
#1
Posted 29 November 2015 - 02:10 AM
Pretty much as the title says, I cloned _G with:
#2
Posted 29 November 2015 - 02:33 AM
That wont clone _G at all, rather it would make _env a pointer to it.
You could make a custom loadAPI function.
You could make a custom loadAPI function.
Custom loadAPI
Edited by KingofGamesYami, 29 November 2015 - 02:58 AM.
#3
Posted 29 November 2015 - 04:04 AM
Thanks, I decided to just take the easy way out by loading APIs within a function set to use the enviroment.
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users











