[IronPython] Announcement: Project to get some CPython C extensions running under IronPython
Paolo Molaro
lupus at ximian.com
Fri Oct 19 19:08:24 CEST 2007
On 10/19/07 Giles Thomas wrote:
> A question - if we were trying to produce something that, at a source
> level, looked like the CPython extensions API, is there any easy way
> that we could get that to be able to call back to IronPython? I can
> imagine something like an init() function on the managed side that could
> pass a number of delegates over to the unmanaged code so that they could
> be called back at a later point, but is there a more elegant solution?
You can use a struct that contains all the needed delegates and pass
that on the p/invoke call.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Ironpython-users
mailing list