tests/python/python@py_ext/py_ext.xml
changeset 734 5c42cafaee15
parent 728 e0424e96e3fd
child 859 dbf82971f09d
--- a/tests/python/python@py_ext/py_ext.xml	Sat May 19 19:00:55 2012 +0200
+++ b/tests/python/python@py_ext/py_ext.xml	Sun May 20 19:07:09 2012 +0200
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <Python xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="py_ext_xsd.xsd">
 <![CDATA[import time,sys
-def myprintfunc(arg):
+
+def MyPythonFunc(arg):
     print arg
+    PLCBinary.Python_to_C_Call(arg)
     sys.stdout.flush()
-    return arg]]>
+    return arg
+]]>
 </Python>