From: Robert Bradshaw <rober...@gmail.com>
Date: Tue, 13 Nov 2012 10:20:44 -0800
Local: Tues, Nov 13 2012 1:20 pm
Subject: Re: [cython-users] __init__ not creating python variables.
On Tue, Nov 13, 2012 at 10:13 AM, RC <ravi...@gmail.com> wrote:
All members of cdef functions must be explicitly declared. Write
> In the following example, i am facing an issue in initializing python object > variables: > cdef extern from "X.h" namespace "xxx":
> cdef class PyX:
> def __init__(self):
> def create(self, name):
> def update(self, name):
> It compiles fine but when i create an instance of X it complains:
> Any ideas on how to work around this is appreciated.
cdef class PyX:
(Might as well make "created" a public bint, no need to let it be a
- Robert
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.
| ||||||||||||||