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

Unified Diff: include/dart_api.h

Issue 10021072: Remove the deprecated method invocation and field access apis from the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « bin/main.cc ('k') | vm/custom_isolate_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/dart_api.h
===================================================================
--- include/dart_api.h (revision 6767)
+++ include/dart_api.h (working copy)
@@ -1726,40 +1726,8 @@
Dart_Handle name,
int number_of_arguments,
Dart_Handle* arguments);
-/**
- * DEPRECATED: Use Dart_Invoke instead.
- *
- * Invokes a static method with the given arguments.
- *
- * May generate an unhandled exception error.
- *
- * \return If no error occurs during execution, then the result of
- * invoking the method is returned. If an error occurs during
- * execution, then an error handle is returned.
- */
-DART_EXPORT Dart_Handle Dart_InvokeStatic(Dart_Handle library,
- Dart_Handle class_name,
- Dart_Handle function_name,
- int number_of_arguments,
- Dart_Handle* arguments);
/**
- * DEPRECATED: Use Dart_Invoke instead.
- *
- * Invokes an instance method with the given arguments.
- *
- * May generate an unhandled exception error.
- *
- * \return If no error occurs during execution, then the result of
- * invoking the method is returned. If an error occurs during
- * execution, then an error handle is returned.
- */
-DART_EXPORT Dart_Handle Dart_InvokeDynamic(Dart_Handle receiver,
- Dart_Handle function_name,
- int number_of_arguments,
- Dart_Handle* arguments);
-
-/**
* Gets the value of a field.
*
* The 'container' parameter may be an object, class, or library. If
@@ -1805,56 +1773,6 @@
Dart_Handle value);
/**
- * DEPRECATED: Use Dart_SetField/Dart_GetField instead.
- *
- * Gets the value of a static field.
- *
- * May generate an unhandled exception error.
- *
- * \return If no error occurs, then the value of the field is
- * returned. Otherwise an error handle is returned.
- */
-DART_EXPORT Dart_Handle Dart_GetStaticField(Dart_Handle cls,
- Dart_Handle name);
-/**
- * DEPRECATED: Use Dart_SetField/Dart_GetField instead.
- *
- * Sets the value of a static field.
- *
- * May generate an unhandled exception error.
- *
- * \return A valid handle if no error occurs.
- */
-DART_EXPORT Dart_Handle Dart_SetStaticField(Dart_Handle cls,
- Dart_Handle name,
- Dart_Handle value);
-
-/**
- * DEPRECATED: Use Dart_SetField/Dart_GetField instead.
- *
- * Gets the value of an instance field.
- *
- * May generate an unhandled exception error.
- *
- * \return If no error occurs, then the value of the field is
- * returned. Otherwise an error handle is returned.
- */
-DART_EXPORT Dart_Handle Dart_GetInstanceField(Dart_Handle obj,
- Dart_Handle name);
-/**
- * DEPRECATED: Use Dart_SetField/Dart_GetField instead.
- *
- * Sets the value of an instance field.
- *
- * May generate an unhandled exception error.
- *
- * \return A valid handle if no error occurs.
- */
-DART_EXPORT Dart_Handle Dart_SetInstanceField(Dart_Handle obj,
- Dart_Handle name,
- Dart_Handle value);
-
-/**
* Creates a native wrapper class.
*
* TODO(turnidge): Document.
« no previous file with comments | « bin/main.cc ('k') | vm/custom_isolate_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698