Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion error: too many arguments to function
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vitja Makarov  
View profile  
 More options Apr 9 2012, 1:20 pm
From: Vitja Makarov <vitja.maka...@gmail.com>
Date: Mon, 9 Apr 2012 21:20:57 +0400
Local: Mon, Apr 9 2012 1:20 pm
Subject: Re: [cython-users] Re: error: too many arguments to function
2012/4/9 Peter Gaultney <petergault...@gmail.com>:

> small clarification: the second line of the build should read: cythoning
> something_test.pyx to something_test.c
> I pasted the wrong set of output.

cpdef int does_something_with_struct(int times, something * thing)

C function must be declared with cdef, not cpdef.

--
vitja.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.