[bgen] Make Generator.BindThirdPartyLibrary an instance property.

This commit is contained in:
Rolf Bjarne Kvinge 2019-04-11 17:35:33 +02:00
Родитель fb459cbcdd
Коммит ab9de421b5
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -967,7 +967,7 @@ public partial class Generator : IMemberGatherer {
// Whether to use ZeroCopy for strings, defaults to false
public bool ZeroCopyStrings;
public static bool BindThirdPartyLibrary { get { return BindingTouch.BindThirdPartyLibrary; } }
public bool BindThirdPartyLibrary { get { return BindingTouch.BindThirdPartyLibrary; } }
public bool InlineSelectors;
public string BaseDir { get { return basedir; } set { basedir = value; }}
string basedir;
@ -5973,7 +5973,7 @@ public partial class Generator : IMemberGatherer {
}
}
static string GetAssemblyName ()
string GetAssemblyName ()
{
if (BindThirdPartyLibrary)
return Path.GetFileNameWithoutExtension (BindingTouch.outfile);