Commit c94a9972 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #2456 from gabrieldemarmiesse/formatting_issue

Fixed minor formatting issue in some of the examples.
parents caf66ec8 3e0fb3d8
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