On 4 May 2010 06:16, Stefan Behnel <[email protected]> wrote:
>
> @cython.cclass(python_visible=False)
> class MyType:
> ...
>
I like the second, because could even think about extending it to:
@cython.cclass(export=True, api=True)
class MyType:
...
or something on that line, in order to fix the overloaded meaning of
"public" and also turn on API generation.
However, the concept of "python_visible" could also apply to enum's,
and even struct's (provided we can ever manage to fully automate
Py<->C conversion). So perhaps we should think about something more
generic than "cclass" ?
--
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev