procedure Something(Param1...);
var
  my:TMyData;
  procedure Testing; inline; // or whatever
  begin
    my.test:=0;
  end;

begin

  MyAPI.DoeSomething(Param1,@Testing);

end;

I want to be able to pass Testing as a variable so the callback can
occur but realize that FPC did not like nested proc.  Is there a
directive to resolve this?
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to