Change-Id: I4eefd10ccc749b002c355027b990345fc912e42b
using System.Linq;
using System.Runtime.InteropServices;
+
namespace ElmSharp
{
/// <summary>
_cacheDisplayedMonth = currentDisplayedMonth;
};
- _calendarFormat = (t) => { return _dateFormatDelegate(t); };
+ _calendarFormat = (ref Interop.Libc.SystemTime t) => { return _dateFormatDelegate(t); };
}
/// <summary>
internal static extern void elm_calendar_marks_clear(IntPtr obj);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- internal delegate string Elm_Calendar_Format_Cb(Libc.SystemTime date);
+ internal delegate string Elm_Calendar_Format_Cb(ref Libc.SystemTime date);
[DllImport(Libraries.Elementary)]
internal static extern void elm_calendar_format_function_set(IntPtr obj, Elm_Calendar_Format_Cb format_function);