mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
0fab79f248
Compilers would complain about using user-defined type as return type of extern "C" functions. A struct is considered a user-defined type if there is any non-trivial constructor. Having a type without non-trivial constructor for borrowed type would be very inconvenient. Actually the currently borrowed type doesn't seem to provide any additional safety / benefit over a plain pointer. MozReview-Commit-ID: ncxmCEWCkv --HG-- extra : rebase_source : 43a95bbcb05759f27837629daec6ce915a68b062 extra : source : 2a544c24bfb6a3412e59acbee89a5a393c31d5b6 |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |