Moves away from @_exported import to add the import in the generated code (#8637)

This commit is contained in:
mustiikhalil
2025-07-16 21:07:08 +02:00
committed by GitHub
parent c7b9dc83f5
commit 07c2eb5fe7
25 changed files with 110 additions and 34 deletions

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
public struct Property: NativeStruct, Verifiable, FlatbuffersInitializable, NativeObject {

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
/// Composite components of Monster color.

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
public enum ABC: Int32, Enum, Verifiable {

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
public struct Swift_Tests_NanInfTable: FlatBufferObject, Verifiable {

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
public enum optional_scalars_OptionalByte: Int8, Enum, Verifiable {

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
public enum Character: UInt8, UnionEnum {

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
public struct Swift_Tests_Vectors: FlatBufferObject, Verifiable {

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
import Common
#endif
import FlatBuffers
/// Composite components of Monster color.

View File

@@ -2,6 +2,10 @@
// swiftlint:disable all
// swiftformat:disable all
#if canImport(Common)
@_implementationOnly import Common
#endif
@_implementationOnly import FlatBuffers
internal struct Message: FlatBufferObject, Verifiable, ObjectAPIPacker {