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

Unified Diff: native_client_sdk/src/libraries/nacl_io/nacl_io.h

Issue 601963002: [NaCl SDK]: nacl_io: add nacl_io_uninit function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_leak
Patch Set: Created 6 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 | « no previous file | native_client_sdk/src/libraries/nacl_io/nacl_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/nacl_io.h
diff --git a/native_client_sdk/src/libraries/nacl_io/nacl_io.h b/native_client_sdk/src/libraries/nacl_io/nacl_io.h
index a26f39d8b5e8aaee351e0568d81a56f954140525..21abc3463259d422b49bb841c361a5fae59c93c1 100644
--- a/native_client_sdk/src/libraries/nacl_io/nacl_io.h
+++ b/native_client_sdk/src/libraries/nacl_io/nacl_io.h
@@ -51,6 +51,14 @@ void nacl_io_init();
*/
void nacl_io_init_ppapi(PP_Instance instance, PPB_GetInterface get_interface);
+/**
+ * Uninitialize nacl_io.
+ *
+ * This removes interception for POSIX C-library function and releases
+ * any associated resources.
+ */
+void nacl_io_uninit();
+
void nacl_io_set_exit_callback(nacl_io_exit_callback_t exit_callback,
void* user_data);
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/nacl_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698