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

Lines changed: 4 additions & 4 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy