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

Unified Diff: runtime/include/dart_api.h

Issue 198103004: Remove Dart_AddGcPrologueCallback and Dart_RemoveGcPrologueCallback from the Dart API. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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
===================================================================
--- runtime/include/dart_api.h (revision 33630)
+++ runtime/include/dart_api.h (working copy)
@@ -556,57 +556,6 @@
typedef void (*Dart_GcEpilogueCallback)();
/**
- * Adds a garbage collection prologue callback.
- *
- * \param callback A function pointer to a prologue callback function.
- * This function must not have been previously added as a prologue
- * callback.
- *
- * \return Success if the callback was added. Otherwise, returns an
- * error handle.
- */
-DART_EXPORT Dart_Handle Dart_AddGcPrologueCallback(
- Dart_GcPrologueCallback callback);
-
-/**
- * Removes a garbage collection prologue callback.
- *
- * \param callback A function pointer to a prologue callback function.
- * This function must have been added as a prologue callback.
- *
- * \return Success if the callback was removed. Otherwise, returns an
- * error handle.
- */
-DART_EXPORT Dart_Handle Dart_RemoveGcPrologueCallback(
- Dart_GcPrologueCallback callback);
-
-/**
- * Adds a garbage collection epilogue callback.
- *
- * \param callback A function pointer to an epilogue callback
- * function. This function must not have been previously added as
- * an epilogue callback.
- *
- * \return Success if the callback was added. Otherwise, returns an
- * error handle.
- */
-DART_EXPORT Dart_Handle Dart_AddGcEpilogueCallback(
- Dart_GcEpilogueCallback callback);
-
-/**
- * Removes a garbage collection epilogue callback.
- *
- * \param callback A function pointer to an epilogue callback
- * function. This function must have been added as an epilogue
- * callback.
- *
- * \return Success if the callback was removed. Otherwise, returns an
- * error handle.
- */
-DART_EXPORT Dart_Handle Dart_RemoveGcEpilogueCallback(
- Dart_GcEpilogueCallback callback);
-
-/**
* Adds garbage collection callbacks (prologue and epilogue).
*
* \param prologue_callback A function pointer to a prologue callback 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