[Qtcsharp-patches] Bugtussle/src/Writers CWriter.cs,1.12,1.13
Status: Inactive
Brought to you by:
manyoso
From: Andreas H. <ah...@us...> - 2005-05-14 12:36:51
|
Update of /cvsroot/qtcsharp/Bugtussle/src/Writers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18824/src/Writers Modified Files: CWriter.cs Log Message: Fixed "resizeData" issue Index: CWriter.cs =================================================================== RCS file: /cvsroot/qtcsharp/Bugtussle/src/Writers/CWriter.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** CWriter.cs 18 Apr 2005 09:31:03 -0000 1.12 --- CWriter.cs 14 May 2005 12:36:38 -0000 1.13 *************** *** 663,667 **** if ( overrideClasses.Contains( c ) ) { ! cw.WriteLine( "~{0}() {{ if(overrideHook.destructor) overrideHook.destructor(overrideHook.destructorData); }}", GetXClassName( c ), destructor.Name.Substring(1) ); } --- 663,667 ---- if ( overrideClasses.Contains( c ) ) { ! cw.WriteLine( "~{0}() {{ if(overrideHook.destructor) overrideHook.destructor(overrideHook.destructorInst); }}", GetXClassName( c ), destructor.Name.Substring(1) ); } *************** *** 1025,1029 **** // if (overrideHook.NAME) [{ // RETTYPE returnValue = / return] ! // [*/&]overrideHook.NAME(overrideHookNAMEData[, PARAMETERS]); // [RETTYPE returnValueValue = returnValue; // delete &returnValue; --- 1025,1029 ---- // if (overrideHook.NAME) [{ // RETTYPE returnValue = / return] ! // [*/&]overrideHook.NAME(overrideHookNAMEInst[, PARAMETERS]); // [RETTYPE returnValueValue = returnValue; // delete &returnValue; *************** *** 1077,1081 **** //cw.WriteLine("{2}{3}overrideHook.{0}(this{1});", ! cw.WriteLine( "{2}{3}overrideHook.{0}(overrideHook.{0}Data{1});", m.UniqueName, paramstr, --- 1077,1081 ---- //cw.WriteLine("{2}{3}overrideHook.{0}(this{1});", ! cw.WriteLine( "{2}{3}overrideHook.{0}(overrideHook.{0}Inst{1});", m.UniqueName, paramstr, *************** *** 1239,1243 **** cw.WriteLine( "typedef void(*destructorHookType)(void* hookData);" ); cw.WriteLine( "destructorHookType destructor;" ); ! cw.WriteLine( "void* destructorData;" ); } --- 1239,1243 ---- cw.WriteLine( "typedef void(*destructorHookType)(void* hookData);" ); cw.WriteLine( "destructorHookType destructor;" ); ! cw.WriteLine( "void* destructorInst;" ); } *************** *** 1260,1264 **** { cw.WriteLine( "{0}HookType {0};", m.UniqueName ); ! cw.WriteLine( "void* {0}Data;", m.UniqueName ); } --- 1260,1264 ---- { cw.WriteLine( "{0}HookType {0};", m.UniqueName ); ! cw.WriteLine( "void* {0}Inst;", m.UniqueName ); } |