projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e24c2
)
Fix PyUnicode_AsWideCharString signature (#8522)
author
Andrey Andreyevich Bienkowski
<hexagon-recursion@posteo.net>
Thu, 28 Apr 2022 01:22:03 +0000
(
01:22
+0000)
committer
GitHub
<noreply@github.com>
Thu, 28 Apr 2022 01:22:03 +0000
(
01:22
+0000)
Add proper exception specification to the `PyUnicode_AsWideCharString` signature.
src/api/python/cvc5.pxi
patch
|
blob
|
history
diff --git
a/src/api/python/cvc5.pxi
b/src/api/python/cvc5.pxi
index 4a344316c87c969de3f3bb01c08033d02d149e68..0743bc2192699ea766ea2072a5f35a2c8cdf5ae2 100644
(file)
--- a/
src/api/python/cvc5.pxi
+++ b/
src/api/python/cvc5.pxi
@@
-42,7
+42,7
@@
from cvc5types cimport RoundingMode as c_RoundingMode
from cvc5types cimport UnknownExplanation as c_UnknownExplanation
cdef extern from "Python.h":
- wchar_t* PyUnicode_AsWideCharString(object, Py_ssize_t *)
+ wchar_t* PyUnicode_AsWideCharString(object, Py_ssize_t *)
except NULL
object PyUnicode_FromWideChar(const wchar_t*, Py_ssize_t)
void PyMem_Free(void*)