public virtual int DayStringToInteger(string sNum, ref int iLength)
{
StackItem[] stack = new StackItem[3];
#if DEBUG
stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(sNum);
#else
stack[1].s_class = (IntPtr) GCHandle.Alloc(sNum);
#endif
stack[2].s_int = iLength;
interceptor.Invoke("dayStringToInteger$$", "dayStringToInteger(const QString&, int&) const", stack);
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[1].s_class);
#else
((GCHandle) stack[1].s_class).Free();
#endif
iLength = stack[2].s_int;
return stack[0].s_int;
}