File: fix-swig-deprecated-python.patch

package info (click to toggle)
med-fichier 4.1.0%2Brepack-10
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 56,324 kB
  • sloc: cpp: 662,273; ansic: 77,841; python: 36,574; fortran: 12,927; sh: 6,050; f90: 5,531; makefile: 5,191; tcl: 314; xml: 182
file content (12 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
Index: med-fichier/python/med_common.i
===================================================================
--- med-fichier.orig/python/med_common.i
+++ med-fichier/python/med_common.i
@@ -25,6 +25,7 @@
 
 %{
 #include "med.h"
+#define PyEval_CallObject PyObject_CallObject
 %}
 
 //Ce fichier est généré : H5public_extract.h