RTL custom interface types as records, added callbacks (marshalled using virtual interfaces)
This commit is contained in:
@@ -107,12 +107,6 @@ type
|
||||
class function CreateWrapper_FO_F(CodeAddress: Pointer): TDataValue.TFunc; static;
|
||||
class function CreateWrapper_FO_O(CodeAddress: Pointer): TDataValue.TFunc; static;
|
||||
class function CreateWrapper_TT_T(CodeAddress: Pointer): TDataValue.TFunc; static;
|
||||
class function CreateStaticWrapper(
|
||||
method: TRttiMethod;
|
||||
retType: IStaticType;
|
||||
argTypes: TArray<IStaticType>;
|
||||
rttiParams: TArray<TRttiParameter>
|
||||
): TDataValue.TFunc; static;
|
||||
|
||||
// --- RTTI Helpers ---
|
||||
class function RttiTypeToStaticType(const AType: TRttiType): IStaticType; static;
|
||||
@@ -124,6 +118,14 @@ type
|
||||
|
||||
public
|
||||
class procedure RegisterAll(const AScope: IExecutionScope); static;
|
||||
|
||||
class function CreateStaticWrapper(
|
||||
method: TRttiMethod;
|
||||
retType: IStaticType;
|
||||
argTypes: TArray<IStaticType>;
|
||||
rttiParams: TArray<TRttiParameter>
|
||||
): TDataValue.TFunc; static;
|
||||
|
||||
// Public accessor for the TStaticSpecializer
|
||||
class function GetStaticSpecialization(const AName: string; const AArgTypes: TArray<IStaticType>): TSpecializedMethod; static;
|
||||
class procedure RegisterStaticSpecialization(
|
||||
|
||||
Reference in New Issue
Block a user