Added INTPTR and UINTPTR types

This commit is contained in:
Jozef Nagy 2024-03-30 11:37:28 +01:00
parent 16a6e781a3
commit 6b22b23422
No known key found for this signature in database
GPG key ID: 5B49DC29F09685D6
2 changed files with 12 additions and 0 deletions

View file

@ -24,6 +24,9 @@ typedef char CHAR8;
typedef char16_t CHAR16;
typedef void VOID;
typedef long INTPTR;
typedef unsigned long UINTPTR;
typedef UINTN EFI_STATUS;
typedef VOID *EFI_HANDLE;
typedef VOID *EFI_EVENT;

9
efilib.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef EFI_EFILIB_H
#define EFI_EFILIB_H
#include "efi.h"
#define EFI_ERROR(status) (((INTN)(status)) < 0)
#endif /* EFI_EFILIB_H */