mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 01:25:31 +00:00
* Resources.Designer.cs: Deleted unused file.
* Settings.cs: Changed default output directory to fit with the current OpenTK project structure. * GL2/Generator.cs: Suppressed documentation warnings in the generated bindings.
This commit is contained in:
parent
9dde7c65a8
commit
caa0921b1c
|
@ -11,7 +11,6 @@ using System.IO;
|
|||
using Bind.Structures;
|
||||
using System.Diagnostics;
|
||||
using System.Text.RegularExpressions;
|
||||
using Bind.Properties;
|
||||
|
||||
namespace Bind.GL2
|
||||
{
|
||||
|
@ -633,6 +632,8 @@ namespace Bind.GL2
|
|||
|
||||
sw.WriteLine("#pragma warning disable 3019"); // CLSCompliant attribute
|
||||
sw.WriteLine("#pragma warning disable 1591"); // Missing doc comments
|
||||
sw.WriteLine("#pragma warning disable 1572"); // Wrong param comments
|
||||
sw.WriteLine("#pragma warning disable 1573"); // Missing param comments
|
||||
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("static partial class {0}", Settings.OutputClass);
|
||||
|
|
82
Source/Bind/Properties/Resources.Designer.cs
generated
82
Source/Bind/Properties/Resources.Designer.cs
generated
|
@ -1,82 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3074
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Bind.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Bind.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to #region License
|
||||
/////
|
||||
///// The Open Toolkit Library License
|
||||
/////
|
||||
///// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted.
|
||||
/////
|
||||
///// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
///// of this software and associated documentation files (the "Software"), to deal
|
||||
///// in the Software without restriction, including without limitation the rights to
|
||||
///// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
///// the Software, and to permit person [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string License {
|
||||
get {
|
||||
return ResourceManager.GetString("License", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,7 +16,7 @@ namespace Bind
|
|||
static Settings() { }
|
||||
|
||||
public const string DefaultInputPath = "../../../Source/Bind/Specifications";
|
||||
public const string DefaultOutputPath = "../../../Source/OpenTK/OpenGL/Bindings";
|
||||
public const string DefaultOutputPath = "../../../Source/OpenTK/Graphics/Bindings";
|
||||
public const string DefaultOutputNamespace = "OpenTK.Graphics";
|
||||
public const string DefaultDocPath = "../../../Source/Bind/Specifications/Docs";
|
||||
public const string DefaultDocFile = "ToInlineDocs.xslt";
|
||||
|
|
Loading…
Reference in a new issue