Tue, 30 Jan 2024 13:10:16 +0100
add support for table string values, that need to be freed
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace UI { public class EventCallback { public IntPtr Object; public Action<IntPtr> Action; public EventCallback(IntPtr uiobj, Action<IntPtr> action) { Object = uiobj; Action = action; } public void Callback(object sender, RoutedEventArgs a) { Action.Invoke(Object); } } }