github.com/goplus/llgo@v0.8.3/cl/internal/stdio/printf.go (about)

     1  package stdio
     2  
     3  import _ "unsafe"
     4  
     5  const (
     6  	LLGoPackage = true
     7  )
     8  
     9  //go:linkname Printf C.printf
    10  func Printf(format *int8, __llgo_va_list ...any)
    11  
    12  func Max(a, b int) int {
    13  	if a > b {
    14  		return a
    15  	}
    16  	return b
    17  }