tests/python/c_code@c_ext/cfile.xml
changeset 1401 611fded24ce4
parent 1125 1b1472e76f07
child 1457 ff7cfce737ca
--- a/tests/python/c_code@c_ext/cfile.xml	Fri Mar 21 00:21:15 2014 +0100
+++ b/tests/python/c_code@c_ext/cfile.xml	Thu Mar 27 10:06:30 2014 +0100
@@ -1,15 +1,15 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<CFile>
+<?xml version='1.0' encoding='utf-8'?>
+<CFile xmlns:xhtml="http://www.w3.org/1999/xhtml">
   <includes>
-<![CDATA[
-]]>
+    <xhtml:p><![CDATA[
+]]></xhtml:p>
   </includes>
   <variables>
     <variable name="TestInput" type="SINT" initial="0"/>
     <variable name="TestOutput" type="SINT"/>
   </variables>
   <globals>
-<![CDATA[
+    <xhtml:p><![CDATA[
 volatile long Lock=0;
 volatile char PtoC=1,CtoP=2;
 
@@ -48,26 +48,26 @@
   }
   return 0;
 }
-]]>
+]]></xhtml:p>
   </globals>
   <initFunction>
-<![CDATA[
-]]>
+    <xhtml:p><![CDATA[
+]]></xhtml:p>
   </initFunction>
   <cleanUpFunction>
-<![CDATA[
-]]>
+    <xhtml:p><![CDATA[
+]]></xhtml:p>
   </cleanUpFunction>
   <retrieveFunction>
-<![CDATA[
-]]>
+    <xhtml:p><![CDATA[
+]]></xhtml:p>
   </retrieveFunction>
   <publishFunction>
-<![CDATA[
+    <xhtml:p><![CDATA[
 if(!AtomicCompareExchange((long*)&Lock, 0, 1)){
     TestInput = CtoP + PtoC + TestOutput;
     AtomicCompareExchange((long*)&Lock, 1, 0);
 }
-]]>
+]]></xhtml:p>
   </publishFunction>
 </CFile>