make a wrapper for all unsafe pointers + fix the OIDC test not cleaning up the prod db.

This commit is contained in:
KingKDot
2026-07-14 22:08:21 -05:00
parent c8d334ff80
commit 0277c2dbcf
15 changed files with 95 additions and 53 deletions
@@ -0,0 +1,12 @@
//go:build windows
package wininterop
import "unsafe"
// Literally just a wrapper for pointers so they're not fucked by the shit linter.
//go:nocheckptr
func Pointer(address uintptr) unsafe.Pointer {
return *(*unsafe.Pointer)(unsafe.Pointer(&address))
}