()
| 779 | } |
| 780 | |
| 781 | func catchVipsError() error { |
| 782 | s := C.GoString(C.vips_error_buffer()) |
| 783 | C.vips_error_clear() |
| 784 | C.vips_thread_shutdown() |
| 785 | return errors.New(s) |
| 786 | } |
| 787 | |
| 788 | func boolToInt(b bool) int { |
| 789 | if b { |
no outgoing calls
no test coverage detected