mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-12 06:55:52 +02:00
nodejs: comments
This commit is contained in:
parent
79297ed7c1
commit
c076afa3aa
@ -70,6 +70,7 @@ type
|
|||||||
//Mode : TMode;
|
//Mode : TMode;
|
||||||
//FindData : TFindData;
|
//FindData : TFindData;
|
||||||
end;
|
end;
|
||||||
|
TUnicodeSearchRec = TSearchRec;
|
||||||
|
|
||||||
function FindFirst(const Path: String; Attr : Longint; out Rslt: TSearchRec): Longint;
|
function FindFirst(const Path: String; Attr : Longint; out Rslt: TSearchRec): Longint;
|
||||||
function FindNext(var Rslt: TSearchRec): Longint;
|
function FindNext(var Rslt: TSearchRec): Longint;
|
||||||
@ -340,9 +341,14 @@ type
|
|||||||
// utimesSync(path, atime, mtime)
|
// utimesSync(path, atime, mtime)
|
||||||
// watch(filename[, options][, listener])
|
// watch(filename[, options][, listener])
|
||||||
// watchFile(filename[, options], listener)
|
// watchFile(filename[, options], listener)
|
||||||
procedure writeFileSync(aFile: jsvalue; // string | buffer | URL | filedescriptor
|
procedure writeFileSync(
|
||||||
|
aFile: jsvalue; // string | buffer | URL | filedescriptor
|
||||||
|
Data: jsvalue // string | buffer | typedarray | DataView
|
||||||
|
);
|
||||||
|
procedure writeFileSync(
|
||||||
|
aFile: jsvalue; // string | buffer | URL | filedescriptor
|
||||||
Data: jsvalue; // string | buffer | typedarray | DataView
|
Data: jsvalue; // string | buffer | typedarray | DataView
|
||||||
const Options: TNJSWriteFileOpts);
|
const Options: TJSObject{TNJSWriteFileOpts});
|
||||||
function writeSync(fd: TNJSFileDesc;
|
function writeSync(fd: TNJSFileDesc;
|
||||||
buffer: jsvalue; // buffer | TypedArray | DataView
|
buffer: jsvalue; // buffer | TypedArray | DataView
|
||||||
Offset, Count, Position: NativeInt): NativeInt;
|
Offset, Count, Position: NativeInt): NativeInt;
|
||||||
|
Loading…
Reference in New Issue
Block a user