event based timer

Daniel Murphy yebblies at nospamgmail.com
Wed Jul 20 01:56:29 PDT 2011


private void  function() *  callBack;

should be private void  function() callBack;

void function() is a function pointer, void function()* is a pointer to a 
function pointer.

On lines 23 and 41, you shouldn't be dereferencing callBack.  Just use 
callBack() to call the function and 'this.callBack = callBack' to set it. 




More information about the Digitalmars-d mailing list