Updated plugins PluGenerate_C to conform to plugger.py
authoretisserant
Mon, 24 Sep 2007 17:09:19 +0200
changeset 55 9c26e67c041a
parent 54 ff82e7088ec5
child 56 b0555fa71812
Updated plugins PluGenerate_C to conform to plugger.py
plugins/c_ext/c_ext.py
plugins/svgui/svgui.py
--- a/plugins/c_ext/c_ext.py	Mon Sep 24 17:08:54 2007 +0200
+++ b/plugins/c_ext/c_ext.py	Mon Sep 24 17:09:19 2007 +0200
@@ -146,13 +146,13 @@
             src_file.close()
             f.close()
             res.append((Gen_Cfile_path,str(self.C_Extension.getCFLAGS())))
-        return res,str(self.C_Extension.getLDFLAGS())
+        return res,str(self.C_Extension.getLDFLAGS()),True
     
 class RootClass:
 
     PlugChildsTypes = [("C_File",_Cfile)]
     
     def PlugGenerate_C(self, buildpath, locations, logger):
-        return [],""
+        return [],"",False
 
 
--- a/plugins/svgui/svgui.py	Mon Sep 24 17:08:54 2007 +0200
+++ b/plugins/svgui/svgui.py	Mon Sep 24 17:09:19 2007 +0200
@@ -761,7 +761,7 @@
         progname = "SVGUI_" + self.BusNumber
         self.GenerateProgram(buildpath, progname)
         Gen_C_file = os.path.join(buildpath, progname+".cpp" )
-        return [(Gen_C_file,"")],""
+        return [(Gen_C_file,"")],"",True
     
     def BlockTypesFactory(self):
         def generate_svgui_block(generator, block, body, link):