summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown2020-10-16 15:59:36 +0200
committerMichael Brown2020-10-16 16:16:00 +0200
commitc504c1d6937a07b038ad21646eaec51f34684736 (patch)
tree7540c7f46666454ed66c7ad48480648623d10610 /src/interface
parent[build] Provide a testable platform macro alongside -DPLATFORM (diff)
downloadipxe-c504c1d6937a07b038ad21646eaec51f34684736.tar.gz
ipxe-c504c1d6937a07b038ad21646eaec51f34684736.tar.xz
ipxe-c504c1d6937a07b038ad21646eaec51f34684736.zip
[interface] Allow for the definition of an unused interface operation
Allow an interface operation to be declared as unused. This will perform full type-checking and compilation of the implementing method, without including any code in the resulting object (other than a NULL entry in the interface operations table). The intention is to provide a relatively clean way for interface operation methods to be omitted in builds for which the operation is not required (such as an operation to describe an object using an EFI device path, which would not be required in a non-EFI build). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions