()
| 130 | } |
| 131 | |
| 132 | func Error() error { |
| 133 | defer C.vips_error_clear() |
| 134 | |
| 135 | errstr := strings.TrimSpace(C.GoString(C.vips_error_buffer())) |
| 136 | return newVipsError(errstr) |
| 137 | } |
| 138 | |
| 139 | func hasOperation(name string) bool { |
| 140 | return C.vips_type_find(cachedCString("VipsOperation"), cachedCString(name)) != 0 |
no test coverage detected