Skip to content

Commit a83938f

Browse files
committed
Delphi FMX module sample
1 parent cee9d77 commit a83938f

File tree

4 files changed

+947
-0
lines changed

4 files changed

+947
-0
lines changed

Modules/DelphiFMX/DelphiFMX.dpr

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
library DelphiFMX;
2+
3+
uses
4+
SysUtils,
5+
Classes,
6+
uMain in 'uMain.pas';
7+
8+
{$I ..\..\Source\Definition.Inc}
9+
10+
exports
11+
// This must match the pattern "PyInit_[ProjectName]"
12+
// So if the project is named DelphiFMX then
13+
// the export must be PyInit_DelphiFMX
14+
PyInit_DelphiFMX;
15+
{$IFDEF MSWINDOWS}
16+
{$E pyd}
17+
{$ENDIF}
18+
{$IFDEF LINUX}
19+
{$SONAME 'DelphiFMX'}
20+
21+
{$ENDIF}
22+
23+
begin
24+
end.
25+

0 commit comments

Comments
 (0)