Re: override keyword?

new topic     » goto parent     » topic index » view thread      » older message » newer message

It's funny I want to do just what is being described here. inside xalloc.e

override function call_back(atom a) return xcall_back( a ) end function


Now, I want to prepare this replacement so the user can modify his application file to use it instead of modifying the win32lib source

--- myapp.exw --- include xalloc.e include win32lib.ew . .


However, this does not work win32lib.ew uses call_back from call_back() in dll.e even though it is declared as override in xalloc.e.

Now, I can override in 3.1 using the mechanism laid out here previously and win32lib.ew still uses dll.e's call_back().

Save modifying the source, every instance of call_back() has to be replaced with xcall_back inside the offending files. Or I suppose if I put xalloc.e inside win32lib.ew should win32lib.ew use xalloc.e's call_back?

Shawn Pringle

Now, call_back() is a global yet, even though

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu