Skip to content

Commit

Permalink
PBoolean Fix
Browse files Browse the repository at this point in the history
PBoolean Fix
  • Loading branch information
superflexible committed Mar 23, 2020
1 parent a840e6e commit 8d43407
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tgputtysftp.pas
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ interface
{$endif}
{$endif}

type PBoolean=^Boolean;

const MinimumLibraryBuildNum=8;
cDummyClearedErrorCode=-1000; // this error code means there was no real error code

Expand Down Expand Up @@ -177,7 +175,7 @@ function ls_callback(const names:Pfxp_names;const libctx:PTGLibraryContext):Bool
Result:=true;
end;

function getpassword_callback(const prompt:PAnsiChar;const echo:Boolean;const cancel:PBoolean;const libctx:PTGLibraryContext):PAnsiChar; cdecl;
function getpassword_callback(const prompt:PAnsiChar;const echo:Boolean;const cancel:System.PBoolean;const libctx:PTGLibraryContext):PAnsiChar; cdecl;
var TGPSFTP:TTGPuttySFTP;
begin
Result:=nil;
Expand Down Expand Up @@ -297,7 +295,7 @@ procedure raise_exception_callback(const msg:PAnsiChar;const srcfile:PAnsiChar;c

function verify_host_key_callback(const host:PAnsiChar;const port:Integer;const keytype:PAnsiChar;
const keystr:PAnsiChar;const fingerprint:PAnsiChar;
const verificationstatus:Integer;const storehostkey:PBoolean;
const verificationstatus:Integer;const storehostkey:System.PBoolean;
const libctx:PTGLibraryContext):Boolean; cdecl;
var TGPSFTP:TTGPuttySFTP;
begin
Expand Down

0 comments on commit 8d43407

Please sign in to comment.