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

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