tests/python/c_code@c_ext/cfile.xml
author laurent
Wed, 18 Jul 2012 01:05:06 +0200
changeset 790 52d3a084d2b2
parent 734 5c42cafaee15
child 859 dbf82971f09d
permissions -rw-r--r--
Adding secure extraction of last edited project path to avoid crash if path is not well formatted
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="cext_xsd.xsd">
  <includes>
<![CDATA[]]>
  </includes>
  <variables/>
  <globals>
<![CDATA[void Python_to_C_Call(int value){
  /* That code should never touch to 
     variables modified by PLC thread */
  printf("C code called by Python: %d\n",value);
}
]]>
  </globals>
  <initFunction>
<![CDATA[]]>
  </initFunction>
  <cleanUpFunction>
<![CDATA[]]>
  </cleanUpFunction>
  <retrieveFunction>
<![CDATA[]]>
  </retrieveFunction>
  <publishFunction>
<![CDATA[]]>
  </publishFunction>
</CFile>