nswrap/examples/foundation/main.go
Greg 977a09e77e Better handling of multiple classes and input files. Handle
Objective C type parameter declarations. Check Typedefs when
determining if a Type is a pointer or a function.
2019-04-26 22:44:30 -04:00

19 lines
303 B
Go

package main
import "C"
import (
"fmt"
"gitlab.wow.st/gmp/nswrap/examples/foundation/ns"
)
func main() {
fmt.Println("Started")
n := ns.StringWithUTF8String(ns.CharFromString("hi there"))
c := n.CapitalizedString()
gstring := c.UTF8String().String()
fmt.Println(gstring)
fmt.Println("ok")
}