| 1 | /* |
| 2 | * Copyright (C) 1999-2000,2003 Harri Porten ([email protected]) |
| 3 | * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 18 | * USA |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | #include "config.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/config.h`/ |
| 23 | #include "NumberObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NumberObject.h`/ |
| 24 | |
| 25 | #include "JSGlobalObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h`/ |
| 26 | #include "NumberPrototype.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/NumberPrototype.h`/ |
| 27 | |
| 28 | namespace JSCcxx . . $ `<built-in>:463:9`! { |
| 29 | |
| 30 | ASSERT_CLASS_FITS_IN_CELLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:42:9`!(NumberObject); |
| 31 | |
| 32 | const ClassInfocxx . . $ QTJSC/ClassInfo# NumberObjectcxx . . $ QTJSC/NumberObject#::infocxx . . $ QTJSC/NumberObject#info. = { "Number", 0, 0, 0 }; |
| 33 | |
| 34 | NumberObjectcxx . . $ QTJSC/NumberObject#::NumberObjectcxx . . $ QTJSC/NumberObject#NumberObject(9678d77265d996b).(NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#<Structurecxx . . $ QTJSC/Structure#> structure) |
| 35 | : JSWrapperObjectcxx . . $ QTJSC/JSWrapperObject#(structure) |
| 36 | { |
| 37 | } |
| 38 | |
| 39 | JSValuecxx . . $ QTJSC/JSValue# NumberObjectcxx . . $ QTJSC/NumberObject#::getJSNumbercxx . . $ QTJSC/NumberObject#getJSNumber(ad9afe69d7bf6378).() |
| 40 | { |
| 41 | return internalValuecxx . . $ QTJSC/JSWrapperObject#internalValue(888c053acf364da1).(); |
| 42 | } |
| 43 | |
| 44 | NumberObjectcxx . . $ QTJSC/NumberObject#* constructNumbercxx . . $ QTJSC/constructNumber(106f9f7992b96829).(ExecStatecxx . . $ QTJSC/ExecState#* exec, JSValuecxx . . $ QTJSC/JSValue# number) |
| 45 | { |
| 46 | NumberObjectcxx . . $ QTJSC/NumberObject#* object = new (exec) NumberObject(exec->lexicalGlobalObject()->numberObjectStructure()); |
| 47 | object->setInternalValuecxx . . $ QTJSC/JSWrapperObject#setInternalValue(5c2ac18db087b3e6).(number); |
| 48 | return object; |
| 49 | } |
| 50 | |
| 51 | } // namespace JSC |