Esempio n. 1
0
File: gen.cs Progetto: zjmit/go2cs
                    // sysfunc looks up Go function name in package runtime. This function
                    // must follow the internal calling convention.
                    private static ptr <obj.LSym> sysfunc(@string name)
                    {
                        var s = Runtimepkg.Lookup(name);

                        s.SetFunc(true);
                        return(_addr_s.Linksym() !);
                    }
Esempio n. 2
0
 private static ref obj.LSym sysfunc(@string name)
 {
     return(Runtimepkg.Lookup(name).Linksym());
 }