Skip to content

Commit b402379

Browse files
committed
Fix backward compatibility
1 parent 38b228f commit b402379

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/WrapDelphi.pas

+4-4
Original file line numberDiff line numberDiff line change
@@ -553,16 +553,16 @@ TPyDelphiObject = class (TPyInterfacedObject, IFreeNotificationSubscriber)
553553
class function ExcludedExposedMembers(APythonType: TPythonType): TArray<string>; virtual;
554554
class procedure ExposeMethods(AClass: TClass; NearestAncestorClass: TClass;
555555
APythonType: TPythonType; APyDelphiWrapper: TPyDelphiWrapper;
556-
AExcludedMethodNames: TArray<string> = []);
556+
AExcludedMethodNames: TArray<string> = nil);
557557
class procedure ExposeFields(AClass: TClass; NearestAncestorClass: TClass;
558558
APythonType: TPythonType; APyDelphiWrapper: TPyDelphiWrapper;
559-
AExcludedFieldNames: TArray<string> = []);
559+
AExcludedFieldNames: TArray<string> = nil);
560560
class procedure ExposeProperties(AClass: TClass; NearestAncestorClass: TClass;
561561
APythonType: TPythonType; APyDelphiWrapper: TPyDelphiWrapper;
562-
AExcludedPropertyNames: TArray<string> = []);
562+
AExcludedPropertyNames: TArray<string> = nil);
563563
class procedure ExposeIndexedProperties(AClass: TClass; NearestAncestorClass: TClass;
564564
APythonType: TPythonType; APyDelphiWrapper: TPyDelphiWrapper;
565-
AExcludedPropertyNames: TArray<string> = []);
565+
AExcludedPropertyNames: TArray<string> = nil);
566566
{$ENDIF EXTENDED_RTTI}
567567
public
568568
PyDelphiWrapper : TPyDelphiWrapper;

0 commit comments

Comments
 (0)