Files
swift-mirror/include/swift/StaticMirror/BinaryScanImpl.h
Artem Chikin d24e15812b Build libSwiftStaticMirror as a standalone library with minimal required dependencies.
This separates it from `libSwiftScan` and allows us to build this library without building much of the rest of the compiler.

Also refactor `utils/build-parser-lib` into `utils/build-tooling-libs` which builds both SwiftSyntaxParser and SwiftStaticMirror.
2022-02-09 12:28:21 -08:00

34 lines
1.1 KiB
C++

//===---------------- BinaryScanImpl.h - Swift Compiler ------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// Implementation details of the binary scanning C API
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_C_BINARY_SCAN_IMPL_H
#define SWIFT_C_BINARY_SCAN_IMPL_H
#include "swift-c/StaticMirror/BinaryScan.h"
namespace swift {
namespace static_mirror {
class BinaryScanningTool;
}
} // namespace swift
struct swift_static_mirror_conformance_info_s {
swift_static_mirror_string_ref_t type_name;
swift_static_mirror_string_ref_t mangled_type_name;
swift_static_mirror_string_ref_t protocol_name;
};
#endif // SWIFT_C_BINARY_SCAN_IMPL_H