]> gerrit.simantics Code Review - simantics/python.git/blobdiff - org.simantics.pythonlink/src/org/simantics/pythonlink/Python.java
Some fixes to Python integration.
[simantics/python.git] / org.simantics.pythonlink / src / org / simantics / pythonlink / Python.java
index af5c9e287b424090137d83f721fd278c5e01758f..07921fd2c530b10a4850544db2f5720a8f814dff 100644 (file)
@@ -12,7 +12,7 @@ public class Python {
     }\r
     \r
     @SuppressWarnings( { "unchecked", "rawtypes" } )\r
-    public static Object runPython(Function f) {\r
+    public static Object runPythonF(Function f) {\r
         SCLContext sclContext = SCLContext.getCurrent();\r
         Object oldContext = sclContext.get(PYTHON_CONTEXT);\r
         try (PythonContext newContext = openPythonContext()) {\r
@@ -25,7 +25,7 @@ public class Python {
     }\r
     \r
     @SuppressWarnings( { "unchecked", "rawtypes" } )\r
-    public static Object runWithPythonContext(PythonContext context, Function f) {\r
+    public static Object runWithPythonContextF(PythonContext context, Function f) {\r
         SCLContext sclContext = SCLContext.getCurrent();\r
         Object oldContext = sclContext.get(PYTHON_CONTEXT);\r
         try {\r