Browse Source

Use unicode instead of string in variable names

test_fixup
Jessica Hair 5 years ago
parent
commit
2205c003d7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libarchive/_libarchive_wrap.c

+ 1
- 1
libarchive/_libarchive_wrap.c View File

@@ -739,7 +739,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
#define PyString_Size(str) PyBytes_Size(str)
#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
#define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
#define PyString_AS_STRING(x) PyUnicode_AS_UNICODE(x)
#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)

#endif


Loading…
Cancel
Save