Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/widget/gtk/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 858 B image not shown  

Quelle  WUniquePtr.h   Sprache: C

 

/* 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/. */


#ifndef WUniquePtr_h_
#define WUniquePtr_h_

// Provides WUniquePtr to wayland classes.

#include "mozilla/UniquePtr.h"
#include "nsWaylandDisplay.h"

namespace mozilla {

struct WFreeDeleter {
  constexpr WFreeDeleter() = default;
  void operator()(wl_data_device* aPtr) const { wl_data_device_destroy(aPtr); }
  void operator()(zwp_primary_selection_device_v1* aPtr) const {
    zwp_primary_selection_device_v1_destroy(aPtr);
  }
  void operator()(gtk_primary_selection_device* aPtr) const {
    gtk_primary_selection_device_destroy(aPtr);
  }
};

template <typename T>
using WUniquePtr = UniquePtr<T, WFreeDeleter>;

}  // namespace mozilla

#endif

Messung V0.5 in Prozent
C=91 H=100 G=95

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-09-29) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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 und die Messung sind noch experimentell.