library nikelutils
uses SysUtils, Classes;
function MaxInt(var Int1, Int2: Integer): Integer; far cdecl export; begin if (Int1 > Int2) then Result := Int1 else Result := Int2; end;
function MinInt(var Int1, Int2: Integer): Integer; far cdecl export; begin if (Int1 < Int2) then Result := Int1 else Result := Int2; end;
exports MaxInt; MinInt;
begin end.
|