xref: /aosp_15_r20/art/runtime/entrypoints/quick/quick_string_builder_append_entrypoints.cc (revision 795d594fd825385562da6b089ea9b2033f3abf5a)
1 /*
2  * Copyright (C) 2019 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include "runtime_entrypoints_list.h"
18 
19 #include "string_builder_append.h"
20 #include "obj_ptr-inl.h"
21 
22 namespace art HIDDEN {
23 
artStringBuilderAppend(uint32_t format,const uint32_t * args,Thread * self)24 extern "C" mirror::String* artStringBuilderAppend(uint32_t format,
25                                                   const uint32_t* args,
26                                                   Thread* self)
27     REQUIRES_SHARED(Locks::mutator_lock_) {
28   return StringBuilderAppend::AppendF(format, args, self).Ptr();
29 }
30 
31 }  // namespace art
32