public bool ExpandMacrosShellQuote(StringBuilder str, ref int pos)
{
StackItem[] stack = new StackItem[3];
#if DEBUG
stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(str);
#else
stack[1].s_class = (IntPtr) GCHandle.Alloc(str);
#endif
stack[2].s_int = pos;
interceptor.Invoke("expandMacrosShellQuote$$", "expandMacrosShellQuote(QString&, int&)", stack);
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[1].s_class);
#else
((GCHandle) stack[1].s_class).Free();
#endif
pos = stack[2].s_int;
return stack[0].s_bool;
}