Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Few fixes to get
asyncipc
working with devel on windows (#44)
* Multiple fixes to get asyncipc working with devel on windows - First was to make sure the object is first before casting to pointer so that we are actually accessing the data (On devel this calls a converter which returns the type - I was running into a nil access error on ORC which I fixed by using the stdlib getGlobalDispatcher() instead * Still use HackDispatcher when using the old runtime since it doesn't have any problems there This is because we need to access the handles which wasn't exported til recently so 1.2.12 needs the hack. But if you are using the new runtime then you are likely using a newer version of Nim * Just define getIoHandler for HackDispatcher instead of using when Simplifies it and feels less hacky Remove the type that Araq says sn't required
- Loading branch information