mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-30 09:50:11 +02:00
* Some corrections in logging statements
This commit is contained in:
parent
ac1c2cd874
commit
bc2102a91d
@ -1239,7 +1239,7 @@ var
|
||||
begin
|
||||
{$IFNDEF NO_WASI_DEBUG}
|
||||
if LogAPI then
|
||||
DoLog('TPas2JSWASIEnvironment.fd_write(%d,%d,%d)',[fd,iovs,iovslen,nwritten]);
|
||||
DoLog('TPas2JSWASIEnvironment.fd_write(%d,%d,%d,%d)',[fd,iovs,iovslen,nwritten]);
|
||||
{$ENDIF}
|
||||
BufferBytes:=TJSArray.New;
|
||||
view:=getModuleMemoryDataView();
|
||||
@ -1257,7 +1257,7 @@ function TPas2JSWASIEnvironment.fd_pwrite(fd, iovs, iovsLen, offset,
|
||||
begin
|
||||
{$IFNDEF NO_WASI_DEBUG}
|
||||
if LogAPI then
|
||||
DoLog('TPas2JSWASIEnvironment.fd_prite(%d,%d,%d,%d)',[fd,iovs,iovslen,offset,nwritten]);
|
||||
DoLog('TPas2JSWASIEnvironment.fd_prite(%d,%d,%d,%d,%d)',[fd,iovs,iovslen,offset,nwritten]);
|
||||
{$ENDIF}
|
||||
console.log('Unimplemented: TPas2JSWASIEnvironment.fd_pwrite');
|
||||
Result:=WASI_ENOSYS;
|
||||
|
Loading…
Reference in New Issue
Block a user