appcelerator/hyperloop-common — pull request #6 by infosia (2014-06-01 13:51:01+00:00)
Title: Add typelib.toVoidCast for customizing void cast

Added typelib.toVoidCast which basically gives platform type library a chance to customize cast to pointer.
This function is meant to be used for casting Platform::Object^ to IInspectable* for Windows.

```
// cast ^ object to pointer
Platform::Object^ o;
reinterpret_cast(o);
```