The problem is that EventArgs is not defined as a ref object, it expects the 
struct itself not a pointer, so you have to 
[dereference](https://stackoverflow.com/questions/4955198/what-does-dereferencing-a-pointer-mean)
 it with `[]`: 
    
    
    #ee.emit("TestEvent", sArgsRef)
    ee.emit("TestEvent", sArgsRef[])
    

Reply via email to