File: glog_vmodule_test.go

package info (click to toggle)
golang-glog 1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: makefile: 2
file content (10 lines) | stat: -rw-r--r-- 264 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
package glog

// runInAnotherModule is a simple wrapper that, being defined in another file,
// provides a different vmodule stack frame on the stack for use with
// glog.*Depth testing.
//
//go:noinline
func runInAnotherModule(f func() bool) bool {
	return f()
}