aboutsummaryrefslogtreecommitdiff
path: root/generate_rust.h
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2021-10-08 02:32:24 +0900
committerJooyung Han <jooyung@google.com>2021-10-12 14:47:51 +0900
commit9e3dae38c859afccb27098fbcc10c0faae5bdb4f (patch)
treef20caddc9319f2f6ccefc1ad9390db6f40e78c82 /generate_rust.h
parentb35cd6ffab4af2c55597a57fe24121bf6896a433 (diff)
downloadaidl-9e3dae38c859afccb27098fbcc10c0faae5bdb4f.tar.gz
Support nested types in the Rust backend
For each top-level types, mangled mod contains all nested types in it. Now, since every backend supports nested types, "aidl-test-nested" module can be removed and merged into "aidl-test-interface" so that golden_output will show nested type examples as well. Done in a follow up change. Bug: 201729533 Test: aidl_integration_test Change-Id: I571ffc4188199a2ed0bcc39e6e2e17344047f815
Diffstat (limited to 'generate_rust.h')
-rw-r--r--generate_rust.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/generate_rust.h b/generate_rust.h
index 35daf9b3..9de8e567 100644
--- a/generate_rust.h
+++ b/generate_rust.h
@@ -26,9 +26,8 @@ namespace android {
namespace aidl {
namespace rust {
-bool GenerateRust(const std::string& filename, const AidlDefinedType* iface,
- const AidlTypenames& typenames, const IoDelegate& io_delegate,
- const Options& options);
+void GenerateRust(const string& filename, const Options& options, const AidlTypenames& types,
+ const AidlDefinedType& defined_type, const IoDelegate& io_delegate);
} // namespace rust
} // namespace aidl