www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/12/21:07:36

Subject: Re: JED and djgpp
To: wrh AT placer1 DOT wimsey DOT com
Date: Fri, 12 Aug 1994 17:09:34 -0600 (CDT)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
From: mcastle AT umr DOT edu (Mike Castle)

Amazingly enough William Hughes said:
> 
> Hi;
> 
> Thanks to all those who responded to my question about the function pointers internal to classes.  The solution was:  don't do that.  I'm still going to try to explicitly cast the 'this' pointer, which I had forgotten about.  There just has to be a way, i> n the end, its just a function address ... Ooh Ick.

Hmm... could we have the occasional linebreak, please?

It may just be a function address, but do you know for sure what
parameters are passed?  In addition to the listed parms, it has
to pass a pointer to the current object ( "this" in C++ ).  How
standard is it how this pointer is passed to the function?  Is it
the first parm, with the normal ones after it?  Is it the last
parm?  Is it even passed in the same manner as the rest of the
parms?

mrc
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  mcastle AT cs DOT umr DOT edu     and be right all the time, or not work at all
   mcastle AT umr DOT edu       and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019