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

Unified Diff: runtime/include/dart_mirrors_api.h

Issue 24210003: Never return a Dart_Handle on a dart::Class from the embedding API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove Dart_IsClass from header. remove demo assert Created 7 years, 3 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 | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_mirrors_api.h
diff --git a/runtime/include/dart_mirrors_api.h b/runtime/include/dart_mirrors_api.h
index 23ec4e9e4d766b7bb2bb5ab0c4f82f0e8d0998ed..6ff82aa7525058081ddd540fb4e0057bad8aad11 100644
--- a/runtime/include/dart_mirrors_api.h
+++ b/runtime/include/dart_mirrors_api.h
@@ -11,13 +11,15 @@
/**
- * Returns the class name for the provided class.
+ * Returns the simple name for the provided type.
*/
+DART_EXPORT Dart_Handle Dart_TypeName(Dart_Handle type);
DART_EXPORT Dart_Handle Dart_ClassName(Dart_Handle type);
/**
- * Returns the qualified class name for the provided class.
+ * Returns the qualified name for the provided type.
*/
+DART_EXPORT Dart_Handle Dart_QualifiedTypeName(Dart_Handle type);
DART_EXPORT Dart_Handle Dart_QualifiedClassName(Dart_Handle type);
/**
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698