2013-11-03 00:27:10 +00:00
|
|
|
using System;
|
2009-09-03 19:01:11 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.IO;
|
|
|
|
using System.Xml.XPath;
|
|
|
|
using Bind.GL2;
|
|
|
|
using Bind.Structures;
|
|
|
|
using Delegate=Bind.Structures.Delegate;
|
|
|
|
using Enum=Bind.Structures.Enum;
|
|
|
|
|
|
|
|
namespace Bind.CL
|
|
|
|
{
|
2009-10-09 05:25:53 +00:00
|
|
|
class CLGenerator : ES.ESGenerator
|
2009-09-03 19:01:11 +00:00
|
|
|
{
|
2015-06-07 22:01:46 +00:00
|
|
|
public CLGenerator(Settings settings)
|
|
|
|
: base(settings)
|
2009-09-03 19:01:11 +00:00
|
|
|
{
|
|
|
|
glTypemap = null;
|
|
|
|
|
2013-11-01 08:25:31 +00:00
|
|
|
Settings.WrappersFile = "CL.cs";
|
2009-09-03 19:01:11 +00:00
|
|
|
|
|
|
|
Settings.FunctionPrefix = "cl";
|
|
|
|
Settings.ConstantPrefix = "CL_";
|
|
|
|
Settings.EnumPrefix = "Cl";
|
|
|
|
|
|
|
|
Settings.OutputClass = "CL";
|
|
|
|
|
|
|
|
//Settings.Compatibility &= ~Settings.Legacy.TurnVoidPointersToIntPtr;
|
|
|
|
Settings.Compatibility |= Settings.Legacy.NoDebugHelpers;
|
2013-11-03 00:27:10 +00:00
|
|
|
|
|
|
|
Settings.DefaultImportsFile = "CLCore.cs";
|
|
|
|
Settings.DefaultDelegatesFile = "CLDelegates.cs";
|
|
|
|
Settings.DefaultEnumsFile = "CLEnums.cs";
|
|
|
|
Settings.DefaultWrappersFile = "CL.cs";
|
2009-09-03 19:01:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|