public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg, ref int errorLine, ref int errorColumn) { StackItem[] stack = new StackItem[6]; #if DEBUG stack[1].s_class = (IntPtr)DebugGCHandle.Alloc(source); #else stack[1].s_class = (IntPtr)GCHandle.Alloc(source); #endif #if DEBUG stack[2].s_class = (IntPtr)DebugGCHandle.Alloc(reader); #else stack[2].s_class = (IntPtr)GCHandle.Alloc(reader); #endif #if DEBUG stack[3].s_class = (IntPtr)DebugGCHandle.Alloc(errorMsg); #else stack[3].s_class = (IntPtr)GCHandle.Alloc(errorMsg); #endif stack[4].s_int = errorLine; stack[5].s_int = errorColumn; interceptor.Invoke("setContent##$$$", "setContent(QXmlInputSource*, QXmlReader*, QString*, int*, int*)", stack); #if DEBUG DebugGCHandle.Free((GCHandle)stack[1].s_class); #else ((GCHandle)stack[1].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle)stack[2].s_class); #else ((GCHandle)stack[2].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle)stack[3].s_class); #else ((GCHandle)stack[3].s_class).SynchronizedFree(); #endif errorLine = stack[4].s_int; errorColumn = stack[5].s_int; return(stack[0].s_bool); }
public bool SetContent(QXmlInputSource source, QXmlReader reader) { return((bool)interceptor.Invoke("setContent##", "setContent(QXmlInputSource*, QXmlReader*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader)); }
public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg) { return((bool)interceptor.Invoke("setContent##$", "setContent(QXmlInputSource*, QXmlReader*, QString*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader, typeof(StringBuilder), errorMsg)); }
public bool SetContent(QXmlInputSource source, QXmlReader reader) { return (bool) interceptor.Invoke("setContent##", "setContent(QXmlInputSource*, QXmlReader*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader); }
public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg) { return (bool) interceptor.Invoke("setContent##$", "setContent(QXmlInputSource*, QXmlReader*, QString*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader, typeof(StringBuilder), errorMsg); }
public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg, ref int errorLine) { StackItem[] stack = new StackItem[5]; #if DEBUG stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(source); #else stack[1].s_class = (IntPtr) GCHandle.Alloc(source); #endif #if DEBUG stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(reader); #else stack[2].s_class = (IntPtr) GCHandle.Alloc(reader); #endif #if DEBUG stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(errorMsg); #else stack[3].s_class = (IntPtr) GCHandle.Alloc(errorMsg); #endif stack[4].s_int = errorLine; interceptor.Invoke("setContent##$$", "setContent(QXmlInputSource*, QXmlReader*, QString*, int*)", stack); #if DEBUG DebugGCHandle.Free((GCHandle) stack[1].s_class); #else ((GCHandle) stack[1].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle) stack[2].s_class); #else ((GCHandle) stack[2].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle) stack[3].s_class); #else ((GCHandle) stack[3].s_class).SynchronizedFree(); #endif errorLine = stack[4].s_int; return stack[0].s_bool; }