Improve type handling for enums. Handle "__kindof" qualifiers.

Add examples/app. Allow VisibilityAttr "Hidden".
This commit is contained in:
gmp
2019-05-06 13:21:36 -04:00
parent 959b87342e
commit 511f2f1968
12 changed files with 105 additions and 24 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import (
)
func main() {
o := ns.NewClassOne().Init()
o := ns.ClassOneAlloc().Init()
fmt.Println("i1 = ",o.Geti1())
fmt.Println("p1 = ",o.Getp1())
p1 := o.Getp1()
@@ -18,7 +18,7 @@ func main() {
np := o.Nstru2()
fmt.Println(o.Hi1(ns1))
fmt.Println(o.Hi2(np))
o2 := ns.NewClassTwo().Init()
o2 := ns.ClassTwoAlloc().Init()
fmt.Println(o2.Hi1(ns1))
}