Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions support/annotations.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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_
2 changes: 2 additions & 0 deletions support/annotations.swig
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down