Fix hprof dumping from DDMS.
Hprof needs to use Get32 and Get64 (or handle every single type specially) ---
you can't GetInt on a char[] field, say, like this code used to do.
Change-Id: I37eda049b7f341f8ad3c8326b9bcf2997efd7b04
diff --git a/src/hprof/hprof.h b/src/hprof/hprof.h
index 897a996..e26e2cf 100644
--- a/src/hprof/hprof.h
+++ b/src/hprof/hprof.h
@@ -173,7 +173,7 @@
int hprofMarkRootObject(hprof_context_t *ctx,
const Object *obj, jobject jniObj);
-int hprofDumpHeapObject(hprof_context_t *ctx, const Object *obj);
+int DumpHeapObject(hprof_context_t *ctx, const Object *obj);
void hprofContextInit(hprof_context_t *ctx, char *fileName, int fd,
bool writeHeader, bool directToDdms);
@@ -208,7 +208,7 @@
bool directToDdms);
bool hprofShutdown(hprof_context_t *ctx);
void hprofFreeContext(hprof_context_t *ctx);
-int hprofDumpHeap(const char* fileName, int fd, bool directToDdms);
+int DumpHeap(const char* fileName, int fd, bool directToDdms);
} // namespace hprof