22 lines
522 B
ObjectPascal
22 lines
522 B
ObjectPascal
|
unit ATBGit;
|
||
|
|
||
|
{$mode ObjFPC}{$H+}
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Classes, SysUtils, CTypes, fpjson, jsonparser;
|
||
|
|
||
|
type
|
||
|
function SetFile(const localRepository: String; const fileId: String; const json: TJSONData): Boolean;
|
||
|
function SetFileInternal(const localRepository: PChar;
|
||
|
const fileId: PChar;
|
||
|
const json: PChar;
|
||
|
size: cint32): cbool; stdcall;
|
||
|
|
||
|
implementation
|
||
|
const DLLName = 'CalculatorCInterface.dll';
|
||
|
|
||
|
end.
|
||
|
|