Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b402379

Browse filesBrowse files
committed
Fix backward compatibility
1 parent 38b228f commit b402379
Copy full SHA for b402379

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎Source/WrapDelphi.pas

Copy file name to clipboardExpand all lines: 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.