Skip to content

Commit eca46b4

Browse files
committed
Polish
1 parent 513153b commit eca46b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mypyc/lib-rt/byteswriter_extra_ops.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Primitives related to librt.strings.BytesWriter that get linked statically
2+
// with compiled modules, instead of being called via a capsule.
3+
14
#include "byteswriter_extra_ops.h"
25

36
char CPyBytesWriter_Write(PyObject *obj, PyObject *value) {

mypyc/lib-rt/librt_internal.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#define LONG_INT_TRAILER 15
2828

2929
#define CPY_BOOL_ERROR 2
30-
#define CPY_NONE_ERROR 2
31-
#define CPY_NONE 1
3230

3331
#define _CHECK_READ_BUFFER(data, err) if (unlikely(_check_read_buffer(data) == CPY_NONE_ERROR)) \
3432
return err;

0 commit comments

Comments
 (0)