• MegaPiggy's avatar
    Add threads and allow userdata pushing. (#443) · 151e59f9
    MegaPiggy authored
    * Added Threads
    
    * Allowed userdata to be pushed.
    
    * Added a few more methods
    
    XMove: Exchange values between different threads of the same state (i.e. threads and interpreters).
    
    NewThread: basically just coroutine.create
    
    Reset: removes function from the thread
    
    * Added Thread Test
    
    * Added UserData Test.
    
    * remove optional index
    
    * Add thread properties
    
    * Added Operators & Overrides
    
    * Added 2 more methods
    
    * improve
    
    * Add thread equality test
    
    * Remove hash code override that I added.
    
    Added this earlier. I realized it shouldn't have been because LuaBase returns reference here.
    
    * Add base hash code
    
    * base equals
    151e59f9
Lua.cs 48.4 KB