Policy customizing the generic C-API wrappers for the ALC API. More...
#include <oalplus/alc_api/api_traits.hpp>
Public Types | |
template<typename R > | |
using | no_result = alc_no_result< R > |
Alias for result type of currently unavailable functions. More... | |
template<typename R > | |
using | result = alc_result< R > |
Alias for result type of optionally available functions. | |
Public Member Functions | |
template<typename Api , typename Type > | |
auto | load_constant (Api &api, string_view name, type_identity< Type >) -> std::tuple< Type, bool > |
Loads an ALC constant with the specified name and Type. | |
template<typename Api , typename Tag , typename Signature > | |
auto | link_function (Api &api, Tag, string_view name, type_identity< Signature >) -> std::add_pointer_t< Signature > |
Links an ALC function with the specified name and Signature. | |
Policy customizing the generic C-API wrappers for the ALC API.
using eagine::oalp::alc_api_traits::no_result = alc_no_result<R> |
Alias for result type of currently unavailable functions.
Alias for result type of functions.