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 -- ----------------------------------------------------------------- [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com