libluna: Document Ignore.h and ImplPOSIX.cpp
This commit is contained in:
parent
c2f173f584
commit
97037b06cb
@ -1,5 +1,29 @@
|
||||
/**
|
||||
* @file Ignore.h
|
||||
* @author apio (cloudapio.eu)
|
||||
* @brief Do nothing.
|
||||
*
|
||||
* @copyright Copyright (c) 2023, the Luna authors.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* @brief Do nothing.
|
||||
*
|
||||
* Calling
|
||||
* ignore(a, b, c);
|
||||
* is a more compact equivalent of doing:
|
||||
* (void)a;
|
||||
* (void)b;
|
||||
* (void)c;
|
||||
*
|
||||
* This function is used to discard unused variables avoiding compiler warnings, if you know they'll be used in the
|
||||
* future.
|
||||
*
|
||||
* @tparam Args The list of ignored variable types.
|
||||
*/
|
||||
template <class... Args> constexpr void ignore(Args...)
|
||||
{
|
||||
}
|
||||
|
@ -1,4 +1,11 @@
|
||||
/* POSIX userspace implementation of libluna hooks. */
|
||||
/**
|
||||
* @file ImplPOSIX.cpp
|
||||
* @author apio (cloudapio.eu)
|
||||
* @brief POSIX userspace implementation of libluna hooks.
|
||||
*
|
||||
* @copyright Copyright (c) 2023, the Luna authors.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <luna/Attributes.h>
|
||||
#include <luna/Result.h>
|
||||
|
Loading…
Reference in New Issue
Block a user