http://d.puremagic.com/issues/show_bug.cgi?id=5710


Brad Roberts <bra...@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bra...@puremagic.com


--- Comment #8 from Brad Roberts <bra...@puremagic.com> 2011-03-07 01:19:35 PST 
---
(In reply to comment #6)
> Consider if we add another type - a function pointer with two context 
> pointers.
> Now we have quite a menagerie:
> 
> 1. function pointer
> 2. function pointer with context pointer (delegate)
> 3. function pointer with two context pointers
> 
> Is that really where we want to go?

Yes.  They're just function parameters.  Define how they're passed and pass
'em.  It doesn't need to be fancy or tricky.  It's not particularly different
from passing dynamic arrays having a well defined parameter layout.  Just
considered it just a tuple of two pointers.  It's not rocket science.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to