Skip to content

Commit

Permalink
fix: method name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Dec 19, 2020
1 parent a4186c2 commit 4c642b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion C/mediapipe_api/external/stdlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void std_string__delete(std::string* str) {
delete str;
}

MpReturnCode std_string__PKc_int(const char* src, int size, std::string** str_out) {
MpReturnCode std_string__PKc_i(const char* src, int size, std::string** str_out) {
TRY {
*str_out = new std::string(src, size);
RETURN_CODE(MpReturnCode::Success);
Expand Down
2 changes: 1 addition & 1 deletion C/mediapipe_api/external/stdlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MP_CAPI(void) delete_array__PKc(const char* str);

// string API
MP_CAPI(void) std_string__delete(std::string* str);
MP_CAPI(MpReturnCode) std_string__PKc_int(const char* src, int size, std::string** str_out);
MP_CAPI(MpReturnCode) std_string__PKc_i(const char* src, int size, std::string** str_out);
MP_CAPI(void) std_string__swap__Rstr(std::string* src, std::string* dst);

} // extern "C"
Expand Down

0 comments on commit 4c642b5

Please sign in to comment.