Chromium Code Reviews| Index: runtime/include/dart_api.h |
| =================================================================== |
| --- runtime/include/dart_api.h (revision 1265) |
| +++ runtime/include/dart_api.h (working copy) |
| @@ -127,8 +127,7 @@ |
| * |
| * \param error A C string containing an error message. |
| */ |
| -DART_EXPORT Dart_Handle Dart_Error(const char* error); |
| -// TODO(turnidge): Accept printf-style args here. |
| +DART_EXPORT Dart_Handle Dart_Error(const char* format, ...); |
| /** |
| * Allocates a persistent handle for an object. |