func init() { wd, err := os.Getwd() if err != nil { panic(err) } c_wd := C.CString(wd) C.MagickCoreGenesis(c_wd, C.MagickFalse) defer C.free(unsafe.Pointer(c_wd)) }
func CoreInitialize(path string) { C.MagickCoreGenesis(C.CString(path), 0) }
func init() { C.MagickCoreGenesis(nil, magickBool(false)) }
func CoreInitialize(path string) { cspath := C.CString(path) defer C.free(unsafe.Pointer(cspath)) C.MagickCoreGenesis(cspath, 0) }