Ejemplo n.º 1
0
// Close the underlying C handle and resources used by this Engine
func (e *Engine) Close() error {
	res := C.cs_close(&e.handle)
	if e.skipdata != nil {
		C.free(unsafe.Pointer(e.skipdata.mnemonic))
	}
	return Errno(res)
}
Ejemplo n.º 2
0
// Close the underlying C handle and resources used by this Engine
func (e Engine) Close() error {
	res := C.cs_close(e.handle)
	return Errno(res)
}