Skip to content

Commit

Permalink
Fix 'string' casing (#476)
Browse files Browse the repository at this point in the history
* Update Compiler.ScriptFunc.pas

* Update isxfunc.xml
  • Loading branch information
jogo- authored Nov 17, 2024
1 parent e4b14d5 commit 0ca8856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ISHelp/isxfunc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ end;</pre>
<p>The archive must not be encrypted.</p>
<p>Set OnExtractionProgress to a function to be informed of progress, or <tt>nil</tt> otherwise.</p></description>
<remarks><p>TOnExtractionProgress is defined as:</p>
<p><tt>TOnExtractionProgress = function(const ArchiveName, FileName: string; const Progress, ProgressMax: Int64): Boolean;</tt></p>
<p><tt>TOnExtractionProgress = function(const ArchiveName, FileName: String; const Progress, ProgressMax: Int64): Boolean;</tt></p>
<p>Return True to allow the extraction to continue, False otherwise.</p>
<p><tt>Extract7ZipArchive</tt> uses an embedded version of the &quot;7z ANSI-C Decoder&quot; from the LZMA SDK by Igor Pavlov, as-is, except that Unicode support and error messages were improved and that it outputs memory requirements.</p>
<p>All output of the decoder is logged if logging is enabled, including error messages but excluding empty lines.</p>
Expand Down
4 changes: 2 additions & 2 deletions Projects/Src/Compiler.ScriptFunc.pas
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ procedure ScriptFuncLibraryRegister_C(ScriptCompiler: TPSPascalCompiler;
' SuiteMask: Word;' +
'end');

RegisterType('TOnDownloadProgress', 'function(const Url, FileName: string; const Progress, ProgressMax: Int64): Boolean;');
RegisterType('TOnExtractionProgress', 'function(const ArchiveName, FileName: string; const Progress, ProgressMax: Int64): Boolean;');
RegisterType('TOnDownloadProgress', 'function(const Url, FileName: String; const Progress, ProgressMax: Int64): Boolean;');
RegisterType('TOnExtractionProgress', 'function(const ArchiveName, FileName: String; const Progress, ProgressMax: Int64): Boolean;');
RegisterType('TOnLog', 'procedure(const S: String; const Error, FirstLine: Boolean);');

for var ScriptFuncTable in ScriptFuncTables do
Expand Down

0 comments on commit 0ca8856

Please sign in to comment.