Antoine Pitrou wrote:

> I think you could declare a C macro as an "external function" in the
> Pyrex code and Pyrex would probably be happy with that.

Yes, that works as long as you can declare it as having
parameter and return types that make sense to Pyrex.

There are a few things that can't be handled that way,
such as type-polymorphic macros. I haven't come up with
a good solution for those, yet.

--
Greg

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to