diff options
Diffstat (limited to 'src/google/protobuf/metadata.h')
-rw-r--r-- | src/google/protobuf/metadata.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/google/protobuf/metadata.h b/src/google/protobuf/metadata.h index 0a6507c0..928bbf5c 100644 --- a/src/google/protobuf/metadata.h +++ b/src/google/protobuf/metadata.h @@ -41,6 +41,10 @@ #include <google/protobuf/metadata_lite.h> #include <google/protobuf/unknown_field_set.h> +#ifdef SWIG +#error "You cannot SWIG proto headers" +#endif + namespace google { namespace protobuf { namespace internal { @@ -73,6 +77,6 @@ class InternalMetadataWithArena } // namespace internal } // namespace protobuf - } // namespace google + #endif // GOOGLE_PROTOBUF_METADATA_H__ |