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