Commit 3e0fb3d8 authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

Fixed small formatting issues.

parent 084a25f5
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!
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment