diff options
| author | Dan Bornstein <danfuzz@android.com> | 2011-03-11 17:57:13 -0800 |
|---|---|---|
| committer | Dan Bornstein <danfuzz@android.com> | 2011-03-11 17:57:13 -0800 |
| commit | 1553988115a2ecfce43eedebc488e0a8b8dea847 (patch) | |
| tree | 1c2f35d77838468fdea51b3fb7664a5a5dbb183c /libdex | |
| parent | 66fd70afb7f73bbe35ac83ddfaa6c6161d7ef84d (diff) | |
Clarify a comment.
Per suggestion during code review of previous patch.
Change-Id: I9bf88d3127f32036c1668ad03ffc491947a4f696
Diffstat (limited to 'libdex')
| -rw-r--r-- | libdex/DexFile.c | 1 | ||||
| -rw-r--r-- | libdex/DexFile.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libdex/DexFile.c b/libdex/DexFile.c index d4b64dbd9..4f3bf5630 100644 --- a/libdex/DexFile.c +++ b/libdex/DexFile.c @@ -68,6 +68,7 @@ const char* dexGetPrimitiveTypeDescriptor(PrimitiveType type) { return NULL; } +/* (documented in header) */ const char* dexGetBoxedTypeDescriptor(PrimitiveType type) { switch (type) { case PRIM_VOID: return NULL; diff --git a/libdex/DexFile.h b/libdex/DexFile.h index 4c6065f45..60976a3c8 100644 --- a/libdex/DexFile.h +++ b/libdex/DexFile.h @@ -948,7 +948,8 @@ const char* dexGetPrimitiveTypeDescriptor(PrimitiveType type); /* * Get the boxed type descriptor string associated with a given * primitive type. This returns NULL for an invalid type, including - * particularly for type "void". + * particularly for type "void". In the latter case, even though there + * is a class Void, there's no such thing as a boxed instance of it. */ const char* dexGetBoxedTypeDescriptor(PrimitiveType type); |
