[DGD] call_other() and static functions
Petter Nyström
md1pette at mdstud.chalmers.se
Tue Nov 29 01:02:02 CET 2005
On Mon, 28 Nov 2005, Noah Gibbs wrote:
> There are also old posts of that kind archived and un-collected on my
> site, in places like
> "http://phantasmal.sourceforge.net/DGD/Programming/Calling_Conventions.html".
> No guarantees that I got all the important ones, though.
Thanks, that page held the answer which you had already hinted at. Quoting
Erwin Harte:
"In the auto object, a static function behaves like a kernel function
(kfun) _too_: It cannot be accessed by call_other(this_object(),
"kfun_func"), _and_ calls to it in the auto object are _not_ redirected to
any masked function in this_object(). This is true for ALL static
functionnames in the auto object, not just the default functions specified
by the driver you happen to override."
So that put that in place for me. If I want to have a function in the auto
object to be usable with call_other() the function will have to be
non-static.
Thanks Noah for the feedback and the rest for letting me fill your
inboxes,
Jimorie
More information about the DGD
mailing list