File tree Expand file tree Collapse file tree 4 files changed +210
-960
lines changed
src/native_core/linux_perf Expand file tree Collapse file tree 4 files changed +210
-960
lines changed Original file line number Diff line number Diff line change 4040 with pkgs ;
4141 [
4242 typescript-language-server
43+ clang-tools
4344 ]
4445 ++ commonBuildInputs ;
4546 shellHook = ''
Original file line number Diff line number Diff line change 2424 "node-addon-api" : " ^5.1.0" ,
2525 "node-gyp" : " ^9.3.1" ,
2626 "openapi-typescript-codegen" : " ^0.23.0" ,
27- "prebuildify" : " ^5 .0.1"
27+ "prebuildify" : " ^6 .0.1"
2828 },
2929 "dependencies" : {
3030 "axios" : " ^1.4.0" ,
Original file line number Diff line number Diff line change 55
66static inline std::string
77v8LocalStringToString (v8::Local<v8::String> v8String) {
8- std::string buffer (v8String->Utf8Length (v8::Isolate::GetCurrent ()) + 1 , 0 );
9- v8String->WriteUtf8 (v8::Isolate::GetCurrent (), &buffer[0 ],
10- v8String->Utf8Length (v8::Isolate::GetCurrent ()) + 1 );
8+ std::string buffer (v8String->Utf8LengthV2 (v8::Isolate::GetCurrent ()) + 1 , 0 );
9+ v8String->WriteUtf8V2 (v8::Isolate::GetCurrent (), &buffer[0 ],
10+ v8String->Utf8LengthV2 (v8::Isolate::GetCurrent ()) + 1 );
1111 // Sanitize name, removing unwanted \0 resulted from WriteUtf8
1212 return std::string (buffer.c_str ());
1313}
1414
15- #endif // LINUX_PERF_UTILS_H
15+ #endif // LINUX_PERF_UTILS_H
You can’t perform that action at this time.
0 commit comments