swift
44429648 - [cxx-interop] Allow retain/release operations to return an unsigned integer

Commit
40 days ago
[cxx-interop] Allow retain/release operations to return an unsigned integer Release/retain functions for C++ foreign reference types might return a reference count as an integer value. Swift previously emitted an error for such functions, saying that the retain/release functions need to return void or a reference to the value. rdar://157853183 (cherry picked from commit 3887ed0637dfbc17d8fe0112aee3e5cddc521267)
Author
Committer
Parents
Loading