Commit d24eeec8 authored by gsamain's avatar gsamain

amend legacy test

parent a3f3c84c
...@@ -49,21 +49,21 @@ cdef cypclass SomeMemory: ...@@ -49,21 +49,21 @@ cdef cypclass SomeMemory:
int a; int a;
double b; double b;
void __init__(int a, double b): void __init__(self, int a, double b):
this.a = a this.a = a
this.b = b this.b = b
void __dealloc__(): void __dealloc__(self):
pass pass
void foo1(): void foo1(self):
""" """
It is possible to define native C/Cython methods It is possible to define native C/Cython methods
that release the GIL (cool...) that release the GIL (cool...)
""" """
this.a += 3 this.a += 3
void foo2(): void foo2(self):
""" """
It is possible to define native C/Cython methods It is possible to define native C/Cython methods
that release the GIL (cool...) that release the GIL (cool...)
......
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