mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Regenerated cloop sample files
This commit is contained in:
parent
4035bc9f29
commit
8608e81920
8
extern/cloop/src/tests/test1/CalcCApi.h
vendored
8
extern/cloop/src/tests/test1/CalcCApi.h
vendored
@ -40,7 +40,7 @@ struct CALC_IDisposable
|
||||
|
||||
CLOOP_EXTERN_C void CALC_IDisposable_dispose(struct CALC_IDisposable* self);
|
||||
|
||||
#define CALC_IStatus_VERSION 3
|
||||
#define CALC_IStatus_VERSION 2
|
||||
|
||||
#define CALC_IStatus_ERROR_1 ((int) (1))
|
||||
#define CALC_IStatus_ERROR_2 ((int) (2))
|
||||
@ -67,7 +67,7 @@ CLOOP_EXTERN_C void CALC_IStatus_dispose(struct CALC_IStatus* self);
|
||||
CLOOP_EXTERN_C int CALC_IStatus_getCode(const struct CALC_IStatus* self);
|
||||
CLOOP_EXTERN_C void CALC_IStatus_setCode(struct CALC_IStatus* self, int code);
|
||||
|
||||
#define CALC_IFactory_VERSION 5
|
||||
#define CALC_IFactory_VERSION 2
|
||||
|
||||
struct CALC_IFactory;
|
||||
|
||||
@ -94,7 +94,7 @@ CLOOP_EXTERN_C struct CALC_ICalculator* CALC_IFactory_createCalculator(struct CA
|
||||
CLOOP_EXTERN_C struct CALC_ICalculator2* CALC_IFactory_createCalculator2(struct CALC_IFactory* self, struct CALC_IStatus* status);
|
||||
CLOOP_EXTERN_C struct CALC_ICalculator* CALC_IFactory_createBrokenCalculator(struct CALC_IFactory* self, struct CALC_IStatus* status);
|
||||
|
||||
#define CALC_ICalculator_VERSION 5
|
||||
#define CALC_ICalculator_VERSION 4
|
||||
|
||||
struct CALC_ICalculator;
|
||||
|
||||
@ -121,7 +121,7 @@ CLOOP_EXTERN_C int CALC_ICalculator_getMemory(const struct CALC_ICalculator* sel
|
||||
CLOOP_EXTERN_C void CALC_ICalculator_setMemory(struct CALC_ICalculator* self, int n);
|
||||
CLOOP_EXTERN_C void CALC_ICalculator_sumAndStore(struct CALC_ICalculator* self, struct CALC_IStatus* status, int n1, int n2);
|
||||
|
||||
#define CALC_ICalculator2_VERSION 8
|
||||
#define CALC_ICalculator2_VERSION 6
|
||||
|
||||
struct CALC_ICalculator2;
|
||||
|
||||
|
@ -77,7 +77,7 @@ end;
|
||||
end;
|
||||
|
||||
Status = class(Disposable)
|
||||
const VERSION = 3;
|
||||
const VERSION = 2;
|
||||
const ERROR_1 = Integer(1);
|
||||
const ERROR_2 = Integer(2);
|
||||
const ERROR_12 = Integer(Status.ERROR_1 or Status.ERROR_2);
|
||||
@ -102,7 +102,7 @@ end;
|
||||
end;
|
||||
|
||||
Factory = class(Disposable)
|
||||
const VERSION = 5;
|
||||
const VERSION = 2;
|
||||
|
||||
function createStatus(): Status;
|
||||
function createCalculator(status: Status): Calculator;
|
||||
@ -128,7 +128,7 @@ end;
|
||||
end;
|
||||
|
||||
Calculator = class(Disposable)
|
||||
const VERSION = 5;
|
||||
const VERSION = 4;
|
||||
|
||||
function sum(status: Status; n1: Integer; n2: Integer): Integer;
|
||||
function getMemory(): Integer;
|
||||
@ -153,7 +153,7 @@ end;
|
||||
end;
|
||||
|
||||
Calculator2 = class(Calculator)
|
||||
const VERSION = 8;
|
||||
const VERSION = 6;
|
||||
|
||||
function multiply(status: Status; n1: Integer; n2: Integer): Integer;
|
||||
procedure copyMemory(calculator: Calculator);
|
||||
|
Loading…
Reference in New Issue
Block a user