gecko-dev/browser/app/installation_dir_layout/InstallationDirLayout.h
Duncan McIntosh 0411f5c913 Bug 1973093 - Use the C ABI for GetInstallationDirLayoutType. r=cdupuis,bytesized
The symbol is accessed directly via GetProcAddress and the linker
definition, but the name could be mangled by the C++ compiler.

Differential Revision: https://phabricator.services.mozilla.com/D256147
2025-07-08 00:06:55 +00:00

11 lines
437 B
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 https://mozilla.org/MPL/2.0/. */
#ifndef INSTALL_DIR_LAYOUT_H
#define INSTALL_DIR_LAYOUT_H
enum class InstallationDirLayoutType { Unknown, Single, Versioned };
extern "C" InstallationDirLayoutType GetInstallationDirLayoutType();
#endif // INSTALL_DIR_LAYOUT_H