public static void create_color_table(IntPtr table, IntPtr pal, Delegate blend, IntPtr callback) { AllegroAPI.create_color_table(table, pal, Marshal.GetFunctionPointerForDelegate(blend), callback); }