OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleMacEfi.h File Reference
#include <AppleCpuType.h>
#include <Uefi.h>
#include <AppleMacEfi/AppleMacEfiSpec.h>

Go to the source code of this file.

Macros

#define ARRAY_SIZE(Array)
 

Detailed Description

Copyright (C) 2014 - 2017, Download-Fritz. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file AppleMacEfi.h.

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE ( Array)
Value:
(sizeof (Array) / sizeof ((Array)[0]))

Return the number of elements in an array.

Parameters
ArrayAn object of array type. Array is only used as an argument to the sizeof operator, therefore Array is never evaluated. The caller is responsible for ensuring that Array's type is not incomplete; that is, Array must have known constant size.
Returns
The number of elements in Array. The result has type UINTN.

Definition at line 34 of file AppleMacEfi.h.