We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b13b7 commit 84f00c4Copy full SHA for 84f00c4
src/jsTypeFactory.cc
@@ -69,7 +69,7 @@ void PythonExternalString::finalize(char16_t *chars) const
69
70
size_t PythonExternalString::sizeOfBuffer(const char16_t *chars, mozilla::MallocSizeOf mallocSizeOf) const
71
{
72
- return 0;
+ return PyUnicode_GetLength(charToPyObjectMap[chars]);
73
}
74
75
PythonExternalString PythonExternalStringCallbacks = {};
0 commit comments