MCPcopy Index your code
hub / github.com/andlabs/ui / frombool

Function frombool

util.go:29–34  ·  view source on GitHub ↗
(b bool)

Source from the content-addressed store, hash-verified

27}
28
29func frombool(b bool) C.int {
30 if b {
31 return 1
32 }
33 return 0
34}

Callers 15

AppendMethod · 0.85
InsertAtMethod · 0.85
SetPaddedMethod · 0.85
NewFigureWithArcMethod · 0.85
ArcToMethod · 0.85
NewWindowFunction · 0.85
SetBorderlessMethod · 0.85
SetMarginedMethod · 0.85
SetMarginedMethod · 0.85
AppendMethod · 0.85
SetPaddedMethod · 0.85
AppendMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected