github.com/gramework/runtimer@v0.0.0-20211014201118-d25b6e2ccefd/add.go (about)

     1  package runtimer
     2  
     3  import "unsafe" // #nosec
     4  
     5  func Add(p unsafe.Pointer, x uintptr) unsafe.Pointer {
     6  	return add(p, x)
     7  }
     8  
     9  //go:linkname add runtime.add
    10  func add(p unsafe.Pointer, x uintptr) unsafe.Pointer