From d556dfd2739c43551c894dd636bf8e0735fbad55 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Wed, 23 Oct 2019 22:27:19 +0300 Subject: [PATCH] Several updates to Pyhthon-link behaviour. Linking against any Python 3 version > 3.4. Use of Py_LIMITED_API macro and required API changes. gitlab #3 Fix handling of unnnormalized exceptions gitlab #5 Change-Id: I7e6ac66861a382cc1608ed16b751520a292fbc13 --- .../.cproject | 48 ++++---- .../.gitignore | 2 + .../.settings/language.settings.xml | 18 +++ .../org.eclipse.cdt.codan.core.prefs | 90 ++++++++------ .../.settings/org.eclipse.cdt.core.prefs | 4 +- .../jnipython.dll | Bin 68096 -> 40960 bytes .../src/sclpy.c | 110 ++++++++++++------ .../src/sclpy.h | 7 ++ 8 files changed, 184 insertions(+), 95 deletions(-) create mode 100644 org.simantics.pythonlink.win32.x86_64/.gitignore create mode 100644 org.simantics.pythonlink.win32.x86_64/.settings/language.settings.xml diff --git a/org.simantics.pythonlink.win32.x86_64/.cproject b/org.simantics.pythonlink.win32.x86_64/.cproject index 86dd825..da57fee 100644 --- a/org.simantics.pythonlink.win32.x86_64/.cproject +++ b/org.simantics.pythonlink.win32.x86_64/.cproject @@ -3,9 +3,6 @@ - - - @@ -14,7 +11,7 @@ - + @@ -25,11 +22,12 @@ - @@ -43,14 +41,13 @@ - - - - @@ -91,9 +85,12 @@ @@ -109,12 +106,13 @@