public bool GetNext(out MValue.Function value) { if (size == 0) { value = default; return(false); } var mValue = Marshal.PtrToStructure <MValue>(data); data += MValue.Size; size--; if (mValue.type != MValue.Type.FUNCTION) { value = default; return(false); } value = mValue.GetFunction(); return(true); }
public IntPtr CreateInvoker(MValue.Function function) { return(AltNative.MValueCreate.Invoker_Create(NativePointer, function)); }
public FunctionWrapper(MValue.Function function) { this.function = function; }
internal static extern IntPtr Invoker_Create(IntPtr csharpResourcePointer, MValue.Function function);
public static Invoker Create(MValue.Function function) { return(new Invoker(AltNative.MValueCreate.Invoker_Create(function))); }
internal static extern IntPtr Invoker_Create(MValue.Function function);
public FunctionStorage(MValue.Function value) { refCount = 1; this.value = value; }
public static Invoker Create(MValue.Function function) { return(new Invoker( AltNative.MValueCreate.Invoker_Create(Alt.Module.CSharpNativeResource.NativePointer, function))); }