* Generator.cs: Use correct function prefix in AutoGenerated

attribute.
This commit is contained in:
the_fiddler 2009-08-12 10:12:16 +00:00
parent 336d6b4bef
commit 4b05db2631

View file

@ -1,4 +1,4 @@
#region --- License --- #region --- License ---
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos /* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
* See license.txt for license info * See license.txt for license info
*/ */
@ -698,7 +698,7 @@ namespace Bind.GL2
sw.WriteLine("[System.CLSCompliant(false)]"); sw.WriteLine("[System.CLSCompliant(false)]");
} }
sw.WriteLine("[AutoGenerated(Category = \"{0}\", Version = \"{1}\", EntryPoint = \"{2}\")]", sw.WriteLine("[AutoGenerated(Category = \"{0}\", Version = \"{1}\", EntryPoint = \"{2}\")]",
f.Category, f.Version, "gl" + f.WrappedDelegate.Name); f.Category, f.Version, Settings.FunctionPrefix + f.WrappedDelegate.Name);
sw.WriteLine("public static "); sw.WriteLine("public static ");
sw.Write(f); sw.Write(f);
sw.WriteLine(); sw.WriteLine();