/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ex: set tabstop=8 softtabstop=2 shiftwidth=2 expandtab: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// We allow some functions to be missing, to degrade as gracefully as possible // for older versions of CUPS. // // The current target is CUPS 1.6 (bug 1701019). enumclass Optional : bool { No, Yes };
#ifdef CUPS_SHIM_RUNTIME_LINK // Define a single field which holds a function pointer. # define CUPS_SHIM_FUNC_DECL(opt_, fn_) decltype(::fn_)* fn_ = nullptr; #else // Define a static constexpr function pointer. GCC can sometimes optimize // away the pointer fetch for this. # define CUPS_SHIM_FUNC_DECL(opt_, fn_) \ static constexpr decltype(::fn_)* const fn_ = ::fn_; #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.