зеркало из https://github.com/mozilla/gecko-dev.git
2003ec14dd
We use Ref::From() inside TypeAdapter<Ref>::ToNative to convert a raw JNI ref argument to a Ref argument for the C++ function. However, that generates a compile error, unless we make TypeAdapter<Ref> a friend of Ref, because we intentionally made Ref's copy constructor private and returning from TypeAdapter<Ref>::ToNative requires the copy constructor. |
||
---|---|---|
.. | ||
Accessors.h | ||
Natives.h | ||
Refs.h | ||
Types.h | ||
Utils.cpp | ||
Utils.h | ||
moz.build |