equal
deleted
inserted
replaced
472 Py_ssize_t len) |
472 Py_ssize_t len) |
473 { |
473 { |
474 static const uint32_t twobytes[8] = {0, 0, 0x87fffffe}; |
474 static const uint32_t twobytes[8] = {0, 0, 0x87fffffe}; |
475 |
475 |
476 static const uint32_t onebyte[8] = { |
476 static const uint32_t onebyte[8] = { |
477 1, 0x2bff3bfa, 0x68000001, 0x2fffffff, |
477 1, |
|
478 0x2bff3bfa, |
|
479 0x68000001, |
|
480 0x2fffffff, |
478 }; |
481 }; |
479 |
482 |
480 Py_ssize_t destlen = 0; |
483 Py_ssize_t destlen = 0; |
481 |
484 |
482 return _encode(twobytes, onebyte, dest, destlen, destsize, src, len, 1); |
485 return _encode(twobytes, onebyte, dest, destlen, destsize, src, len, 1); |