node-ffi/node-ffi — pull request #181 by ghostoy (2014-12-26 12:38:17+00:00)
Title: Fixes for recompiling with Node 0.11 with Nan

Lot of fixes based on @avatar5d 's fork including:
* Rename `Set` with 3rd paramater to `ForceSet` for newer V8 API
* Avoid MSVS build error `LNK2005`
* Updated node.js 0.11 env for Travis CI
* Fixed threading issue on Windows (replace pthread with libuv thread)

Now only few test cases fail because of following reasons:
* `NanCallback` throws errors to global, instead of current scope. So it can't be caught by `TryCatch` within `CallbackInfo::DispatchToV8`.
* `Buffer` in node.js 0.11 failed to detecting invalid parameters as 0.10 did iojs/io.js#210