Esempio n. 1
0
// Returns the format of the magick wand.
func (mw *MagickWand) GetFormat() string {
	cstr := C.MagickGetFormat(mw.mw)
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}
Esempio n. 2
0
// Returns the format of the magick wand.
func (mw *MagickWand) GetFormat() string {
	cstr := C.MagickGetFormat(mw.mw)
	defer relinquishMemory(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}