github.com/arnodel/golua@v0.0.0-20230215163904-e0b5347eaaa1/runtime/internal/luagc/defaultpool.go (about)

     1  //go:build !safepool
     2  
     3  package luagc
     4  
     5  // NewDefaultPool returns a new WeakRefPool with an appropriate implementation.
     6  func NewDefaultPool() Pool {
     7  	return NewClonePool()
     8  }