Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 862957 Details for
Bug 880651
dev-python/ruamel-yaml-clib-0.2.7 - _ruamel_yaml.c: error: incompatible function pointer types passing int (void , char , int, int
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ruamel-yaml-clib-0.2.7-clang-16.patch
ruamel-yaml-clib-0.2.7-clang-16.patch (text/plain), 2.55 KB, created by
Peter Levine
on 2023-05-31 08:25:40 UTC
(
hide
)
Description:
ruamel-yaml-clib-0.2.7-clang-16.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2023-05-31 08:25:40 UTC
Size:
2.55 KB
patch
obsolete
>Bug: https://bugs.gentoo.org/880651 > >--- a/_ruamel_yaml.pxd >+++ b/_ruamel_yaml.pxd >@@ -2,15 +2,15 @@ > cdef extern from "_ruamel_yaml.h": > > void malloc(int l) >- void memcpy(char *d, char *s, int l) >+ void memcpy(unsigned char *d, char *s, int l) > int strlen(char *s) > int PyString_CheckExact(object o) > int PyUnicode_CheckExact(object o) > char *PyString_AS_STRING(object o) > int PyString_GET_SIZE(object o) >- object PyString_FromStringAndSize(char *v, int l) >+ object PyString_FromStringAndSize(unsigned char *v, size_t l) > object PyUnicode_FromString(char *u) >- object PyUnicode_DecodeUTF8(char *u, int s, char *e) >+ object PyUnicode_DecodeUTF8(unsigned char *u, size_t s, char *e) > object PyUnicode_AsUTF8String(object o) > int PY_MAJOR_VERSION > >@@ -85,11 +85,11 @@ > YAML_MAPPING_START_EVENT > YAML_MAPPING_END_EVENT > >- ctypedef int yaml_read_handler_t(void *data, char *buffer, >- int size, int *size_read) except 0 >+ ctypedef int yaml_read_handler_t(void *data, unsigned char *buffer, >+ size_t size, size_t *size_read) except 0 > >- ctypedef int yaml_write_handler_t(void *data, char *buffer, >- int size) except 0 >+ ctypedef int yaml_write_handler_t(void *data, unsigned char *buffer, >+ size_t size) except 0 > > ctypedef struct yaml_mark_t: > int index >@@ -112,7 +112,7 @@ > char *handle > char *suffix > ctypedef struct _yaml_token_scalar_data_t: >- char *value >+ unsigned char *value > int length > yaml_scalar_style_t style > ctypedef struct _yaml_token_version_directive_data_t: >@@ -151,7 +151,7 @@ > ctypedef struct _yaml_event_scalar_data_t: > char *anchor > char *tag >- char *value >+ unsigned char *value > int length > int plain_implicit > int quoted_implicit >--- a/_ruamel_yaml.pyx >+++ b/_ruamel_yaml.pyx >@@ -904,7 +904,7 @@ > raise error > return 1 > >-cdef int input_handler(void *data, char *buffer, int size, int *read) except 0: >+cdef int input_handler(void *data, unsigned char *buffer, size_t size, size_t *read) except 0: > cdef CParser parser > parser = <CParser>data > if parser.stream_cache is None: >@@ -1514,7 +1514,7 @@ > self.ascend_resolver() > return 1 > >-cdef int output_handler(void *data, char *buffer, int size) except 0: >+cdef int output_handler(void *data, unsigned char *buffer, size_t size) except 0: > cdef CEmitter emitter > emitter = <CEmitter>data > if emitter.dump_unicode == 0:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 880651
:
830169
|
830171
|
830173
|
830175
|
830177
|
830179
|
830181
|
830253
| 862957