I know what pointers are - I just don't like them.
In C++/CLI you'd use a caret to get a safe handle to said object. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt Hagenlocher Sent: Wednesday, October 17, 2007 3:34 PM To: Discussion of IronPython Subject: Re: [IronPython] [python] Re: Announcement: ProjecttogetsomeCPython C extensions running under IronPython On 10/17/07, Keith J. Farmer <[EMAIL PROTECTED]> wrote: See my earlier email. I think you *could* keep it in C, compile into pure IL. At that point you have to deal with pointer-driven algorithms (eg, NumPy), but you could generate safe code. The basic data type in a CPython extension is a "PyObject *". That asterisk there is an old-fashioned way of saying "unsafe code". :) -- Curt Hagenlocher [EMAIL PROTECTED]
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
