예제 #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());
 }