Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/package/source/zipapi/     Datei vom 5.10.2025 mit Größe 12 kB image not shown  

SSL preprocess_libffi_asm.py  Interaktion und
PortierbarkeitPython


# 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 distibuted with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

import os
import shlex
import subprocess

import buildconfig
import mozpack.path as mozpath


def main(output, input_asm, ffi_h, ffi_config_h, defines, includes):
    defines = shlex.split(defines)
    includes = shlex.split(includes)
    # CPP uses -E which generates #line directives. -EP suppresses them.
    # -TC forces the compiler to treat the input as C.
    cpp = buildconfig.substs["CPP"] + ["-EP"] + ["-TC"]
    input_asm = mozpath.relpath(input_asm, os.getcwd())
    args = cpp + defines + includes + [input_asm]
    print(" ".join(args))
    preprocessed = subprocess.check_output(args)
    output.write(preprocessed)

Messung
CHZG
9710010098

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.0Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-25) ¤

*Bot Zugriff