implement part of core foundation framework bindings for err message

This commit is contained in:
Laytan Laats
2024-02-13 17:34:40 +01:00
parent 32a4a5e601
commit 0d413b8136
4 changed files with 106 additions and 1 deletions
+2
View File
@@ -21,4 +21,6 @@ foreign security {
// Generates an array of cryptographically secure random bytes.
SecRandomCopyBytes :: proc(rnd: SecRandomRef = kSecRandomDefault, count: uint, bytes: [^]byte) -> errSec ---
SecCopyErrorMessageString :: proc(status: errSec, reserved: rawptr = nil) -> CFStringRef ---
}