2003-07-02 Shane Hyde <shane@enactive.org>

* generator/GenBase.cs : put #line directive after the
	#region so line numbers match up.

2003-07-02  Mike Kestner  <mkestner@speakeasy.net>

	* generator/StructBase.cs : remove doc comments

svn path=/trunk/gtk-sharp/; revision=15873
This commit is contained in:
Mike Kestner 2003-07-02 18:13:24 +00:00
parent 4212447168
commit 2efd85f9a5
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2003-07-02 Shane Hyde <shane@enactive.org>
* generator/GenBase.cs : put #line directive after the
#region so line numbers match up.
2003-07-02 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : remove doc comments
2003-06-25 Martin Willemoes Hansen <mwh@sysrq.dk>
* parser/gapi_pp.pl: Added striping of C comments

View File

@ -101,8 +101,8 @@ namespace GtkSharp.Generation {
char sep = Path.DirectorySeparatorChar;
string custom = ".." + sep + NS.ToLower() + sep + Name + ".custom";
if (File.Exists(custom)) {
sw.WriteLine ("#line 1 \"" + Name + ".custom\"");
sw.WriteLine ("#region Customized extensions");
sw.WriteLine ("#line 1 \"" + Name + ".custom\"");
FileStream custstream = new FileStream(custom, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(custstream);
sw.WriteLine (sr.ReadToEnd ());

View File

@ -221,10 +221,6 @@ namespace GtkSharp.Generation {
sw.WriteLine ("\tusing System.Runtime.InteropServices;");
sw.WriteLine ();
sw.WriteLine("\t\t/// <summary> " + Name + " Struct </summary>");
sw.WriteLine("\t\t/// <remarks>");
sw.WriteLine("\t\t/// </remarks>");
sw.WriteLine ("#region Autogenerated code");
sw.WriteLine ("\t[StructLayout(LayoutKind.Sequential)]");
sw.WriteLine ("\tpublic struct " + Name + " {");