Settings, GLTypes and CSTypes are now in IBind
Settings, GLTypes and CSTypes are no longer global singletons. Instead, explicit instances must be stored in the IBind implementation. This allows us to use multiple configurations in the same process.
This commit is contained in:
parent
f000bda891
commit
ffc79a749b
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
#endregion
|
||||
|
||||
using Bind.Structures;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bind
|
||||
{
|
||||
interface IBind
|
||||
|
@ -12,6 +14,11 @@ namespace Bind
|
|||
DelegateCollection Delegates { get; }
|
||||
EnumCollection Enums { get; }
|
||||
FunctionCollection Wrappers { get; }
|
||||
Settings Settings { get; }
|
||||
|
||||
IDictionary<string, string> GLTypes { get; }
|
||||
IDictionary<string, string> CSTypes { get; }
|
||||
|
||||
void Process();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue