diff options
author | Elliott Hughes <enh@google.com> | 2011-06-07 14:24:45 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-06-07 14:24:45 -0700 |
commit | b08e2b6017770e887f6072c1520b2d7f2ef6916c (patch) | |
tree | c3bc3c5c471c42b71de8c1431f9726faddbfe660 /vm/Misc.h | |
parent | 0fbb7030fff58e25718291811394487d95d95a3e (diff) | |
download | android_dalvik-b08e2b6017770e887f6072c1520b2d7f2ef6916c.tar.gz android_dalvik-b08e2b6017770e887f6072c1520b2d7f2ef6916c.tar.bz2 android_dalvik-b08e2b6017770e887f6072c1520b2d7f2ef6916c.zip |
Switch dvmHumanReadableDescriptor over to std::string.
(Prep work before making a change to stack dumps.)
Change-Id: I0af49b920f450fd2611e4b96e717a637483122d6
Diffstat (limited to 'vm/Misc.h')
-rw-r--r-- | vm/Misc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -20,9 +20,12 @@ #ifndef _DALVIK_MISC #define _DALVIK_MISC +#include <string> + #include <stdio.h> #include <sys/types.h> #include <sys/time.h> + #include "Inlines.h" /* @@ -141,7 +144,7 @@ char* dvmDotToSlash(const char* str); * of 'descriptor'. So "I" would be "int", "[[I" would be "int[][]", * "[Ljava/lang/String;" would be "java.lang.String[]", and so forth. */ -extern "C" char* dvmHumanReadableDescriptor(const char* descriptor); +std::string dvmHumanReadableDescriptor(const char* descriptor); /* * Return a newly-allocated string for the "dot version" of the class |