diff options
author | Salud Lemus <saludlemus@google.com> | 2020-07-22 19:53:44 +0000 |
---|---|---|
committer | Salud Lemus <saludlemus@google.com> | 2020-07-22 19:53:44 +0000 |
commit | 0deb0e3dfdc24cce19c3c0ee66e4e420a475e0a6 (patch) | |
tree | 2ce169f0cce9ccb12c8eb586ed2ab8c77ba981c4 /tools/stats_log_api_gen/utils.cpp | |
parent | 8b84a38e8c8e39fca93fe0196465f3086db123e1 (diff) |
Revert "Revert "Add pulled atoms support for native clients in s..."
Revert submission 12182663-revert-12111163-native pulled atoms support-NYTWIBBAKX
Reason for revert: Uploaded CL that guards the use of the symbol "AStatsEvent_getBuffer"
Reverted Changes:
Ib6cc99e9b:Revert "Make libstatspull host supported"
I665448247:Revert "Add pulled atoms support for native client...
Change-Id: I59d861fc9ffc6f03cc0dbd34e82a4df4f51f0cb9
Diffstat (limited to 'tools/stats_log_api_gen/utils.cpp')
-rw-r--r-- | tools/stats_log_api_gen/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/stats_log_api_gen/utils.cpp b/tools/stats_log_api_gen/utils.cpp index abb89133e58e..4b3734053421 100644 --- a/tools/stats_log_api_gen/utils.cpp +++ b/tools/stats_log_api_gen/utils.cpp @@ -182,10 +182,10 @@ void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& fprintf(out, "\n"); } -void write_native_method_signature(FILE* out, const string& methodName, +void write_native_method_signature(FILE* out, const string& signaturePrefix, const vector<java_type_t>& signature, const AtomDecl& attributionDecl, const string& closer) { - fprintf(out, "%s(int32_t code", methodName.c_str()); + fprintf(out, "%sint32_t code", signaturePrefix.c_str()); int argIndex = 1; for (vector<java_type_t>::const_iterator arg = signature.begin(); arg != signature.end(); arg++) { |