* Writeln hook is reference to procedure

This commit is contained in:
Michaël Van Canneyt 2022-10-19 22:39:52 +02:00
parent fd3127beb0
commit 2a663b0d83

View File

@ -435,7 +435,7 @@ procedure Write; varargs; // ToDo: should be compiler built-in function
procedure Writeln; varargs; // ToDo: should be compiler built-in function
Type
TConsoleHandler = Procedure (S : JSValue; NewLine : Boolean);
TConsoleHandler = Reference to Procedure (S : JSValue; NewLine : Boolean);
Function SetWriteCallBack(H : TConsoleHandler) : TConsoleHandler;
function Assigned(const V: JSValue): boolean; assembler; overload;