Skip to content

Commit

Permalink
Introduce @python.Py3EnableCppAdapter
Browse files Browse the repository at this point in the history
Summary: Add validator and fixture test. It is currently no-op.

Reviewed By: yoney

Differential Revision: D66392925

fbshipit-source-id: 024943c79be0db1edc8940ee608ebf9bcaf3443d
  • Loading branch information
thedavekwon authored and facebook-github-bot committed Nov 26, 2024
1 parent 0ea458d commit 9b27462
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions thrift/annotation/python.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ struct Adapter {
struct UseCAPI {
1: bool serialize = false;
}

/// Enables C++ Adapter for thrift-py3. It treats C++ Adapter on typedef as cpp.Type.
@scope.Typedef
struct Py3EnableCppAdapter {}

0 comments on commit 9b27462

Please sign in to comment.