// Code generated by cmd/cgo; DO NOT EDIT.

//line /home/josie/.cache/paru/clone/wiiudownloader/src/pkg/mod/github.com/gotk3/gotk3@v0.6.5-0.20240618185848-ff349ae13f56/cairo/util.go:1:1
package cairo

// #include <stdlib.h>
// #include <cairo.h>
// #include <cairo-gobject.h>
import _ "unsafe"

func cairobool(b bool)  /*line :8:24*/_Ctype_cairo_bool_t /*line :8:38*/ {
	if b {
		return  /*line :10:10*/_Ctype_cairo_bool_t /*line :10:24*/(1)
	}
	return  /*line :12:9*/_Ctype_cairo_bool_t /*line :12:23*/(0)
}

func gobool(b  /*line :15:15*/_Ctype_cairo_bool_t /*line :15:29*/) bool {
	if b != 0 {
		return true
	}
	return false
}
