Convert a boolean to a integer
(boolean bool)
| 12 | |
| 13 | // Convert a boolean to a integer |
| 14 | func b2i(boolean bool) C.MagickBooleanType { |
| 15 | if boolean { |
| 16 | return C.MagickBooleanType(1) |
| 17 | } |
| 18 | return C.MagickBooleanType(0) |
| 19 | } |
| 20 | |
| 21 | func cStringArrayToStringSlice(p **C.char) []string { |
| 22 | var strings []string |
no outgoing calls
no test coverage detected