Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/mathml/     Datei vom 27.6.2026 mit Größe 674 B image not shown  

Quelle  MathMLElementFactory.cpp  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/. */


#include "mozilla/dom/MathMLElement.h"
#include "nsContentCreatorFunctions.h"

using namespace mozilla::dom;

// MathML Element Factory (declared in nsContentCreatorFunctions.h)
nsresult NS_NewMathMLElement(
    Element** aResult, already_AddRefed<mozilla::dom::NodeInfo> aNodeInfo) {
  RefPtr<mozilla::dom::NodeInfo> nodeInfo(aNodeInfo);
  auto* nim = nodeInfo->NodeInfoManager();
  NS_ADDREF(*aResult = new (nim) MathMLElement(nodeInfo.forget()));
  return NS_OK;
}

Messung
CHZG
971009597

¤ Dauer der Verarbeitung: 0.8 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*Bot Zugriff