www.digitalmars.com         C & C++   DMDScript  

DMDScript - late binding

reply "Carlos Santander B." <csantander619 gmail.com> writes:
Walter, is it possible to implement late binding? How?
As far as I know, every new type must "init" its NativeFunctionData, but 
that's not a possibility in this case.
For what I've seen, I should try to handle IRcalls in opcodes.d. Is this 
correct? Is there a way to do it without having to modify your original 
DMDScript code?

_______________________
Carlos Santander Bernal
Mar 09 2005
parent reply "Walter" <newshound digitalmars.com> writes:
I don't know what you mean by late binding in this context?

"Carlos Santander B." <csantander619 gmail.com> wrote in message
news:d0o23f$hrg$1 digitaldaemon.com...
 Walter, is it possible to implement late binding? How?
 As far as I know, every new type must "init" its NativeFunctionData, but
 that's not a possibility in this case.
 For what I've seen, I should try to handle IRcalls in opcodes.d. Is this
 correct? Is there a way to do it without having to modify your original
 DMDScript code?

 _______________________
 Carlos Santander Bernal

Mar 10 2005
parent "Carlos Santander B." <csantander619 gmail.com> writes:
Walter wrote:
 I don't know what you mean by late binding in this context?
 
 "Carlos Santander B." <csantander619 gmail.com> wrote in message
 news:d0o23f$hrg$1 digitaldaemon.com...
 
Walter, is it possible to implement late binding? How?
As far as I know, every new type must "init" its NativeFunctionData, but
that's not a possibility in this case.
For what I've seen, I should try to handle IRcalls in opcodes.d. Is this
correct? Is there a way to do it without having to modify your original
DMDScript code?

_______________________
Carlos Santander Bernal


Maybe late binding was not the proper term. Anyway, I already figured a way to do it. Thanks. _______________________ Carlos Santander Bernal
Mar 11 2005