Stefan Behnel wrote:
> I think it makes
> sense to add that to the "extern" 'keyword' to say: "this external
> declaration obeys C++ semantics".

External declarations aren't necessarily the only
place you might want to declare something as having
C++ semantics, though.

The advantage of cdef+ (or any variation that modifies
the cdef keyword) is that it's easily applied to any
existing C declaration, and there's no need to invent
a new syntax for each case.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to