Fix to go type declarations.

This commit is contained in:
gmp
2019-04-29 10:37:43 -04:00
parent 500b457d32
commit c0c17e88d1
4 changed files with 85 additions and 129 deletions
-21
View File
@@ -1,21 +0,0 @@
package main
import "C"
import (
"fmt"
"gitlab.wow.st/gmp/nswrap/examples/foundation/ns"
)
func main() {
fmt.Println("Started")
n1 := ns.StringWithUTF8String(ns.CharFromString("hi there"))
c := n1.CapitalizedString()
gstring := c.UTF8String().String()
fmt.Println(gstring)
n2 := ns.StringWithUTF8String(ns.CharFromString("ok bye"))
n3 := ns.StringWithUTF8String(ns.CharFromString("one two three"))
a := ns.ArrayWithObjects(n1)
fmt.Println("ok")
}