Hello,
Working on creating Cython wrappers for a C library I came across a strange
problem.
I have in the C library a struct like this:
struct my_jobs;
I also have this function, which returns the next job in the queue:
int my_jobs(struct my_jobs *jobs);
Translating this into Cython and put
On Sat, 01 Jun 2013 19:29:17 +0600, Marin Atanasov Nikolov
wrote:
Hello,
Working on creating Cython wrappers for a C library I came across a
strange
problem.
I have in the C library a struct like this:
struct my_jobs;
I also have this function, which returns the next job in the queue:
Thanks, Nikita!
I've been looking at the Cython documentation, but was not able to find it
previously, thanks!
I'm still waiting for my previous posts to show up in the
cython-users@mailing list (although I am subscribed there), but they
don't seem to show
up.
Thanks for your help!
Best regards
On Sat, Jun 1, 2013 at 7:35 AM, Marin Atanasov Nikolov wrote:
> Thanks, Nikita!
>
> I've been looking at the Cython documentation, but was not able to find it
> previously, thanks!
>
> I'm still waiting for my previous posts to show up in the cython-users@
> mailing list (although I am subscribed
mark florisson, 21.05.2013 15:32:
> On 21 May 2013 14:14, Vitja Makarov wrote:
>>
>> def foo(int N):
>> x = 1
>> y = 0
>> for i in range(N):
>> x = x * 0.1 + y * 0.2
>> y = x * 0.3 + y * 0.4
>> print typeof(x), typeof(y)
>>
>> Here both x and y will be inferred as do