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