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

Unified Diff: runtime/include/dart_api.h

Issue 1406573003: Fix for issue 22379246 makes the API consistent between Dart_New and Dart_InvokeConstructor. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code-review-comments Created 5 years, 2 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/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_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index e6f643cec61cc6f319055f92c039a3bc78394f0e..b851d717b46949b88a07befe3d50954836398270 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -2103,8 +2103,8 @@ DART_EXPORT Dart_Handle Dart_GetDataFromByteBuffer(Dart_Handle byte_buffer);
*
* \param type Type of object to be constructed.
* \param constructor_name The name of the constructor to invoke. Use
- * Dart_Null() to invoke the unnamed constructor. This name should
- * not include the name of the class.
+ * Dart_Null() or Dart_EmptyString() to invoke the unnamed constructor.
+ * This name should not include the name of the class.
* \param number_of_arguments Size of the arguments array.
* \param arguments An array of arguments to the constructor.
*
@@ -2197,6 +2197,7 @@ DART_EXPORT Dart_Handle Dart_InvokeClosure(Dart_Handle closure,
*
* \param target An object.
* \param name The name of the constructor to invoke.
+ * Use Dart_Null() or Dart_EmptyString() to invoke the unnamed constructor.
* \param number_of_arguments Size of the arguments array.
* \param arguments An array of arguments to the function.
*
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698