Commit d1ff915b authored by Aaron Jacobs's avatar Aaron Jacobs

OutMessage.OutHeader

parent 849f53b0
......@@ -72,7 +72,9 @@ func (m *OutMessage) Reset() {
}
// OutHeader returns a pointer to the header at the start of the message.
func (m *OutMessage) OutHeader() (h *fusekernel.OutHeader)
func (m *OutMessage) OutHeader() *fusekernel.OutHeader {
return (*fusekernel.OutHeader)(unsafe.Pointer(&m.header))
}
// Grow grows m's buffer by the given number of bytes, returning a pointer to
// the start of the new segment, which is guaranteed to be zeroed. If there is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment