示例#1
0
文件: gen.cs 项目: 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() !);
                    }
示例#2
0
文件: gen.cs 项目: Delamaine/go2cs
 private static ref obj.LSym sysfunc(@string name)
 {
     return(Runtimepkg.Lookup(name).Linksym());
 }