MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / PyUnicodeWriter_Finish

Function PyUnicodeWriter_Finish

asyncpg/protocol/record/pythoncapi_compat.h:1395–1401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1393}
1394
1395static inline PyObject* PyUnicodeWriter_Finish(PyUnicodeWriter *writer)
1396{
1397 PyObject *str = _PyUnicodeWriter_Finish((_PyUnicodeWriter*)writer);
1398 assert(((_PyUnicodeWriter*)writer)->buffer == NULL);
1399 PyMem_Free(writer);
1400 return str;
1401}
1402
1403static inline int
1404PyUnicodeWriter_WriteChar(PyUnicodeWriter *writer, Py_UCS4 ch)

Callers 1

record_reprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected