func (c *CGoSystem) UnmapBuffer(buf []byte) (result uint32) { return uint32(C.MojoUnmapBuffer(unsafe.Pointer(&buf[0]))) }
func (c *CoreImpl) UnmapBuffer(buffer unsafe.Pointer) MojoResult { return (MojoResult)(C.MojoUnmapBuffer(buffer)) }