Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: runtime/include/dart_api.h

Issue 9303031: Add support for lists and backward references when decoding a message to a Dart_CObject object (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased to r3830 Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/platform/assert.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index 958ccfe69771245f7031e160babce0fa4d164f59..cc3b3e7631af8c0fb1bb3902bc4446c7f4c5e407 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -1416,12 +1416,13 @@ DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size);
*/
struct Dart_CObject {
enum Type {
- kNull,
+ kNull = 0,
kBool,
kInt32,
kDouble,
kString,
- kArray
+ kArray,
+ kNumberOfTypes
};
Type type;
union {
« no previous file with comments | « no previous file | runtime/platform/assert.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698