Add the condition variable to System.loadLibrary and implement UnregisterNatives.
Also change PrettyDescriptor now descriptors are String*s rather than StringPiece&s.
Change-Id: Id07affb26038f5f4a3bee4396c65f71d7bc38be3
diff --git a/src/utils.h b/src/utils.h
index 5c2a44a..4283f47 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -12,6 +12,7 @@
class Method;
class Object;
+class String;
template<typename T>
static inline bool IsPowerOfTwo(T x) {
@@ -139,7 +140,7 @@
// Returns a human-readable equivalent of 'descriptor'. So "I" would be "int",
// "[[I" would be "int[][]", "[Ljava/lang/String;" would be
// "java.lang.String[]", and so forth.
-std::string PrettyDescriptor(const StringPiece& descriptor);
+std::string PrettyDescriptor(const String* descriptor);
// Returns a human-readable signature for 'm'. Something like "a.b.C.m" or
// "a.b.C.m(II)V" (depending on the value of 'with_signature').