Qyoto.QLocale.ToUInt C# (CSharp) Method

ToUInt() public method

public ToUInt ( string s, bool &ok, int arg3 ) : uint
s string
ok bool
arg3 int
return uint
        public uint ToUInt(string s, ref bool ok, int arg3)
        {
            StackItem[] stack = new StackItem[4];
            #if DEBUG
            stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(s);
            #else
            stack[1].s_class = (IntPtr) GCHandle.Alloc(s);
            #endif
            stack[2].s_bool = ok;
            stack[3].s_int = arg3;
            interceptor.Invoke("toUInt$$$", "toUInt(const QString&, bool*, int) const", stack);
            #if DEBUG
            DebugGCHandle.Free((GCHandle) stack[1].s_class);
            #else
            ((GCHandle) stack[1].s_class).Free();
            #endif
            ok = stack[2].s_bool;
            return stack[0].s_uint;
        }

Same methods

QLocale::ToUInt ( string s ) : uint
QLocale::ToUInt ( string s, bool &ok ) : uint