MCPcopy Create free account
hub / github.com/apache/fory / set_buffer_error

Function set_buffer_error

python/pyfory/cpp/pyfory.cc:556–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556static void set_buffer_error(const Error &error) {
557 PyErr_SetString(PyExc_BufferError, error.to_string().c_str());
558}
559
560static bool py_long_to_int64(PyObject *value, int64_t *out) {
561 int overflow = 0;

Callers 2

read_python_stringFunction · 0.85
read_primitive_itemFunction · 0.85

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected