tests/python/c_code@c_ext/cfile.xml
changeset 1475 de4ee16f7c6c
parent 1463 de311ffe3961
--- a/tests/python/c_code@c_ext/cfile.xml	Sat Dec 06 19:31:51 2014 +0000
+++ b/tests/python/c_code@c_ext/cfile.xml	Wed Oct 21 15:00:32 2015 +0100
@@ -14,6 +14,7 @@
 volatile char PtoC=1,CtoP=2;
 
 extern long AtomicCompareExchange(long*,long, long);
+extern char *PLC_ID;
 
 int Simple_C_Call(int val){
   return val+1;
@@ -34,6 +35,7 @@
     res=1;
   }
   printf("C code called by Python: toC %d fromC %d\n",toC,*fromC);
+  printf("PLC_ID id %s\n",PLC_ID);
   return res;
 }