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_ |