#include <jsTypeFactory.hh>
|
void | finalize (char16_t *chars) const override |
| decrefs the underlying PyObject string when the JSString is finalized
|
|
void | finalize (JS::Latin1Char *chars) const override |
|
size_t | sizeOfBuffer (const char16_t *chars, mozilla::MallocSizeOf mallocSizeOf) const override |
|
size_t | sizeOfBuffer (const JS::Latin1Char *chars, mozilla::MallocSizeOf mallocSizeOf) const override |
|
◆ finalize() [1/2]
void PythonExternalString::finalize |
( |
char16_t * |
chars | ) |
const |
|
override |
decrefs the underlying PyObject string when the JSString is finalized
- Parameters
-
chars | - The char buffer of the string |
◆ finalize() [2/2]
void PythonExternalString::finalize |
( |
JS::Latin1Char * |
chars | ) |
const |
|
override |
◆ getPyString() [1/2]
PyObject * PythonExternalString::getPyString |
( |
const char16_t * |
chars | ) |
|
|
static |
Get the PyObject using the given char buffer.
- Parameters
-
chars | - the char buffer of the PyObject |
- Returns
- PyObject* - the PyObject string
◆ getPyString() [2/2]
PyObject * PythonExternalString::getPyString |
( |
const JS::Latin1Char * |
chars | ) |
|
|
static |
◆ sizeOfBuffer() [1/2]
size_t PythonExternalString::sizeOfBuffer |
( |
const char16_t * |
chars, |
|
|
mozilla::MallocSizeOf |
mallocSizeOf |
|
) |
| const |
|
override |
◆ sizeOfBuffer() [2/2]
size_t PythonExternalString::sizeOfBuffer |
( |
const JS::Latin1Char * |
chars, |
|
|
mozilla::MallocSizeOf |
mallocSizeOf |
|
) |
| const |
|
override |
The documentation for this struct was generated from the following files: