Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / tests / webtbs / uw8730b.pp
Size: Mime:
{$mode delphi}

{$ifdef darwin}
{$PIC+}
{$endif darwin}

{$ifdef CPUX86_64}
{$ifndef WINDOWS}
{$PIC+}
{$endif WINDOWS}
{$endif CPUX86_64}
unit uw8730b;

interface

function Lib2Func: pchar; CDecl;

implementation

const
{$ifdef windows}
  alibname='tw8730a.dll';
{$else}
  alibname='tw8730a';
  {$linklib tw8730a}
{$endif}

function Lib1Func: pchar; external alibname name '_Lib1Func';

function Lib2Func: pchar;
begin
  Writeln( Lib1Func );
  result := 'result of function Lib2Func';
end;

var
  t: text;
initialization
assign(t,'tw8730b.txt');
rewrite(t);
close(t);
WriteLn( 'Init of Unit 2' );

end.

//= END OF FILE ===============================================================