diff --git a/support/annotations.h b/support/annotations.h index 522164bb8..eee0e0a40 100644 --- a/support/annotations.h +++ b/support/annotations.h @@ -7,6 +7,8 @@ #include "support/annotations_internal.h" +// LINT.IfChange + // Marks a function or type as requiring Rust binding. // // If Crubit fails to generate bindings for a function or type annotated with @@ -386,4 +388,6 @@ #define CRUBIT_OVERRIDE_DISPLAY(should_bind) \ CRUBIT_INTERNAL_ANNOTATE("crubit_override_display", should_bind) +// LINT.ThenChange(//depot/support/annotations.swig) + #endif // THIRD_PARTY_CRUBIT_SUPPORT_ANNOTATIONS_H_ diff --git a/support/annotations.swig b/support/annotations.swig index 3f7153541..0eb9a6ddd 100644 --- a/support/annotations.swig +++ b/support/annotations.swig @@ -6,6 +6,8 @@ %enddef %define CRUBIT_UNSAFE %enddef +%define CRUBIT_UNSAFE_IMPL(...) +%enddef %define CRUBIT_UNSAFE_MARK_SAFE %enddef %define CRUBIT_OVERRIDE_UNSAFE(safety)