"Fossies" - the Fresh Open Source Software Archive

Member "swig-4.1.1/Examples/test-suite/go/abstract_typedef_runme.go" (30 Nov 2022, 171 Bytes) of package /linux/misc/swig-4.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Go source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "abstract_typedef_runme.go": 4.0.0_vs_4.0.1.

    1 package main
    2 
    3 import "swigtests/abstract_typedef"
    4 
    5 func main() {
    6     e := abstract_typedef.NewEngine()
    7     a := abstract_typedef.NewA()
    8     if !a.Write(e) {
    9         panic("failed")
   10     }
   11 }