mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-08 22:07:48 +02:00
* Writeln hook is reference to procedure
This commit is contained in:
parent
fd3127beb0
commit
2a663b0d83
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user