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

Unified Diff: mojo/public/go/system/c_allocators.h

Issue 860193002: go/system: adding two-phase data pipe methods (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « mojo/go/tests/system_test.go ('k') | mojo/public/go/system/c_allocators.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/go/system/c_allocators.h
diff --git a/mojo/public/go/system/c_allocators.h b/mojo/public/go/system/c_allocators.h
index f915e6b98c820d2c61da9371045bfdc6a6dd5bdc..6050507ada04d49282273f4b2416f01b1d12f320 100644
--- a/mojo/public/go/system/c_allocators.h
+++ b/mojo/public/go/system/c_allocators.h
@@ -126,4 +126,11 @@ struct WriteDataParams {
struct WriteDataParams MallocWriteDataParams(uint32_t length);
void FreeWriteDataParams(struct WriteDataParams p);
+struct TwoPhaseActionParams {
+ void** buffer;
+ uint32_t* num_bytes;
+};
+struct TwoPhaseActionParams MallocTwoPhaseActionParams();
+void FreeTwoPhaseActionParams(struct TwoPhaseActionParams p);
+
#endif // MOJO_PUBLIC_GO_SYSTEM_C_ALLOCATORS_H_
« no previous file with comments | « mojo/go/tests/system_test.go ('k') | mojo/public/go/system/c_allocators.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698