diff --git a/docs/examples/tutorial/external/atoi.pyx b/docs/examples/tutorial/external/atoi.pyx index f0f0c0a2fc116fd77fb2fc631ce4206acb0c0741..48643bbf25668692a93291ab4085d86d06abbf79 100644 --- a/docs/examples/tutorial/external/atoi.pyx +++ b/docs/examples/tutorial/external/atoi.pyx @@ -1,5 +1,5 @@ from libc.stdlib cimport atoi -cdef parse_charptr_to_py_int(char*s): +cdef parse_charptr_to_py_int(char* s): assert s is not NULL, "byte string value is NULL" return atoi(s) # note: atoi() has no error detection! diff --git a/docs/examples/userguide/wrapping_CPlusPlus/Rectangle.pxd b/docs/examples/userguide/wrapping_CPlusPlus/Rectangle.pxd index b6d738afc2697a52222ac81a71a8ecfd67d5de13..68f9491220f78338ae5e8476003169c94ac8ed1b 100644 --- a/docs/examples/userguide/wrapping_CPlusPlus/Rectangle.pxd +++ b/docs/examples/userguide/wrapping_CPlusPlus/Rectangle.pxd @@ -8,5 +8,5 @@ cdef extern from "Rectangle.h" namespace "shapes": Rectangle(int, int, int, int) except + int x0, y0, x1, y1 int getArea() - void getSize(int*width, int*height) + void getSize(int* width, int* height) void move(int, int)