Skip to content

Commit 47210a3

Browse files
committed
return object
1 parent d2e39d4 commit 47210a3

File tree

17 files changed

+41
-8064
lines changed

17 files changed

+41
-8064
lines changed

4DPlugin-python.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ void python(PA_PluginParameters params) {
588588
if (ref != NULL) {
589589
PA_ObjectRef returnValue = PA_CreateObject();
590590
python_type_to_fourd_type(ref, returnValue);
591-
ob_set_b(status, L"returnValue", returnValue);
591+
ob_set_o(status, L"returnValue", returnValue);
592592
}
593593

594594
if(PyErr_Occurred()) {

English.lproj/InfoPlist.strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/* Localized versions of Info.plist keys */CFBundleName = "python";CFBundleShortVersionString = "1.4.0";CFBundleGetInfoString = "python version 1.4.0, Copyright 2021 miyako.";
1+
/* Localized versions of Info.plist keys */CFBundleName = "python";CFBundleShortVersionString = "1.5.0";CFBundleGetInfoString = "python version 1.5.0, Copyright 2021 miyako.";

a/libpython3.6.dylib

6.44 MB
Binary file not shown.

python.dmg

149 KB
Binary file not shown.

python.xcodeproj/project.pbxproj

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
D130064F12F02D9700702C0E /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D130064E12F02D9700702C0E /* Cocoa.framework */; };
2020
D13116A91A03ACB700DE1322 /* 4DPluginAPI.c in Sources */ = {isa = PBXBuildFile; fileRef = D13116A81A03ACB700DE1322 /* 4DPluginAPI.c */; settings = {COMPILER_FLAGS = "-Wno-multichar"; }; };
2121
D134D4AC1A030BA0008D14EF /* manifest.json in CopyFiles */ = {isa = PBXBuildFile; fileRef = D134D4A91A030B06008D14EF /* manifest.json */; };
22-
D15BCAA82745433700ACC0DB /* libpython3.6.7.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D15BCAA72745433700ACC0DB /* libpython3.6.7.a */; };
2322
D15BCAAC2745463D00ACC0DB /* 4DPlugin-JSON.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D15BCAAA2745463D00ACC0DB /* 4DPlugin-JSON.cpp */; };
2423
D15BCAAD2745463D00ACC0DB /* 4DPlugin-JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = D15BCAAB2745463D00ACC0DB /* 4DPlugin-JSON.h */; };
24+
D19961512751D63D0092A392 /* libpython3.6.7.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D15BCAA72745433700ACC0DB /* libpython3.6.7.a */; };
2525
/* End PBXBuildFile section */
2626

2727
/* Begin PBXCopyFilesBuildPhase section */
@@ -56,6 +56,7 @@
5656
D15BCAA72745433700ACC0DB /* libpython3.6.7.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpython3.6.7.a; path = a/libpython3.6.7.a; sourceTree = "<group>"; };
5757
D15BCAAA2745463D00ACC0DB /* 4DPlugin-JSON.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; name = "4DPlugin-JSON.cpp"; path = "support/4DPlugin-JSON.cpp"; sourceTree = "<group>"; };
5858
D15BCAAB2745463D00ACC0DB /* 4DPlugin-JSON.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "4DPlugin-JSON.h"; path = "support/4DPlugin-JSON.h"; sourceTree = "<group>"; };
59+
D199614C2751D4CC0092A392 /* libpython3.6.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libpython3.6.dylib; path = a/libpython3.6.dylib; sourceTree = "<group>"; };
5960
/* End PBXFileReference section */
6061

6162
/* Begin PBXFrameworksBuildPhase section */
@@ -64,8 +65,8 @@
6465
buildActionMask = 2147483647;
6566
files = (
6667
D11985DA2748639D00CBC92F /* libjsoncpp.a in Frameworks */,
67-
D15BCAA82745433700ACC0DB /* libpython3.6.7.a in Frameworks */,
6868
D130064F12F02D9700702C0E /* Cocoa.framework in Frameworks */,
69+
D19961512751D63D0092A392 /* libpython3.6.7.a in Frameworks */,
6970
);
7071
runOnlyForDeploymentPostprocessing = 0;
7172
};
@@ -88,6 +89,7 @@
8889
089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
8990
isa = PBXGroup;
9091
children = (
92+
D199614C2751D4CC0092A392 /* libpython3.6.dylib */,
9193
D130064E12F02D9700702C0E /* Cocoa.framework */,
9294
D15BCAA72745433700ACC0DB /* libpython3.6.7.a */,
9395
D11985D92748639D00CBC92F /* libjsoncpp.a */,
@@ -326,7 +328,8 @@
326328
"$(PROJECT_DIR)/a",
327329
);
328330
LIBRARY_STYLE = Bundle;
329-
MARKETING_VERSION = 1.4.0;
331+
MACOSX_DEPLOYMENT_TARGET = 10.13;
332+
MARKETING_VERSION = 1.5.0;
330333
OTHER_CFLAGS = "";
331334
OTHER_LDFLAGS = "";
332335
OTHER_REZFLAGS = "";
@@ -377,7 +380,8 @@
377380
"$(PROJECT_DIR)/a",
378381
);
379382
LIBRARY_STYLE = Bundle;
380-
MARKETING_VERSION = 1.4.0;
383+
MACOSX_DEPLOYMENT_TARGET = 10.13;
384+
MARKETING_VERSION = 1.5.0;
381385
OTHER_CFLAGS = "";
382386
OTHER_LDFLAGS = "";
383387
OTHER_REZFLAGS = "";
@@ -426,7 +430,8 @@
426430
"$(PROJECT_DIR)/a",
427431
);
428432
LIBRARY_STYLE = Bundle;
429-
MARKETING_VERSION = 1.4.0;
433+
MACOSX_DEPLOYMENT_TARGET = 10.13;
434+
MARKETING_VERSION = 1.5.0;
430435
OTHER_CFLAGS = "";
431436
OTHER_LDFLAGS = "";
432437
OTHER_REZFLAGS = "";
Binary file not shown.

python.zip

-129 KB
Binary file not shown.

test/Data/data.4DD

0 Bytes
Binary file not shown.

test/Data/data.journal

748 Bytes
Binary file not shown.

test/Plugins/python.bundle/Contents/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.4.0</string>
18+
<string>1.5.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>4D06</string>
2121
<key>CFBundleSupportedPlatforms</key>
@@ -41,6 +41,6 @@
4141
<key>DTXcodeBuild</key>
4242
<string>12D4e</string>
4343
<key>LSMinimumSystemVersion</key>
44-
<string>10.8</string>
44+
<string>10.13</string>
4545
</dict>
4646
</plist>

0 commit comments

Comments
 (0)