Home
last modified time | relevance | path

Searched refs:classToBind (Results 1 – 1 of 1) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Binding/
DNativeBinder.cs58 public NativeBinder(IEmulationElement classToBind, string libraryFile) in NativeBinder() argument
67 this.classToBind = classToBind; in NativeBinder()
70 …var importFields = classToBind.GetType().GetAllFields().Where(x => x.IsDefined(typeof(ImportAttrib… in NativeBinder()
128 … typeBuilder.DefineField(nameof(classToBind), classToBind.GetType(), FieldAttributes.Public); in EnsureWrappersType()
143 instanceField = wrappersType.GetField(nameof(classToBind)); in EnsureWrappersType()
151 instanceField.SetValue(wrappers, classToBind); in CreateWrappersObject()
187 classToBind.NoisyLog("Binding managed -> native calls."); in ResolveCallsToNative()
193classToBind.NoisyLog(string.Format("(NativeBinder) Binding {1} as {0}.", field.Name, cName)); in ResolveCallsToNative()
220 field.SetValue(classToBind, WrapImport(field, innerField)); in ResolveCallsToNative()
224 field.SetValue(classToBind, result); in ResolveCallsToNative()
[all …]