Commit graph

12 commits

Author SHA1 Message Date
Sönke Ludwig 3b82d4adca Fix InterfaceProxy to work with null values.
Previously caused crashes and opCast!bool to return true for null instances.
2020-09-18 10:10:26 +02:00
Sönke Ludwig 967654f175 Add unit test for postblit behavior of InterfaceProxy. 2018-03-16 18:00:56 +01:00
Sönke Ludwig fc89257afd
Fixup for c95306245f. 2017-10-31 23:04:13 +01:00
Sönke Ludwig c95306245f
Improve InterfaceProxy(Class).
- InterfaceProxyClass can now be allocated/freed using a custom allocator
- Non-copyable values can be moved into an InterfaceProxyClass instance
- Non-copyable values can be moved into an InterfaceProxy
2017-10-30 23:01:22 +01:00
Sönke Ludwig a60828d6da Mark more classes as final. 2017-07-23 15:04:11 +02:00
Sönke Ludwig 3d1175e821
Fix InterfaceProxy when used with class instances. 2017-07-19 00:10:39 +02:00
Sönke Ludwig 3a3eb73006
Fix InterfaceProxy when used with class instances. 2017-01-27 00:51:22 +01:00
Sönke Ludwig 822dcccf34
Add interfaceProxy function to allow for better vibe:core compatibility. 2017-01-26 23:53:18 +01:00
Sönke Ludwig 8985923e4d
Let InterfaceProxy handle parameter storage classes properly. 2017-01-25 22:40:07 +01:00
Sönke Ludwig 35a94412d0 Make FileStream small enough to fit into an InterfaceProxy. 2016-12-26 21:28:36 +01:00
Sönke Ludwig 09d9ea47bf Fix InterfaceProxy to not explicitly destroy contained class instances.
This lead to double-destruction in case an InterfaceProxy was copied.
2016-12-10 14:21:57 +01:00
Sönke Ludwig 55a06c30f3 Add missing interface proxy module. 2016-11-08 14:48:38 +01:00