28 Feb
2001
28 Feb
'01
midnight
Mon, 26 Feb 2001 11:17:07 -0700, Alastair Reid <reid@cs.utah.edu> pisze:
I just remembered that my project (Knit - a C component language) has severe problems with use of macros in header files.
With hsc2hs it's easy enough to wrap macros: foreign import "hs_incRef" unsafe incRef :: Object -> IO () #def inline void hs_incRef (PyObject *o) {Py_INCREF (o);} If you are lucky, everything will be inlined across languages and modules. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK