// Sets the limit for a particular resource in megabytes. func (mw *MagickWand) SetResourceLimit(rtype ResourceType, limit int64) error { C.MagickSetResourceLimit(C.ResourceType(rtype), C.MagickSizeType(limit)) return mw.GetLastError() }
// Sets the limit for a particular resource in megabytes. func (mw *MagickWand) SetResourceLimit(rtype ResourceType, limit int64) error { ok := C.MagickSetResourceLimit(C.ResourceType(rtype), C.MagickSizeType(limit)) return mw.getLastErrorIfFailed(ok) }